Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ilearncoding1/SECURE-LENS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SECURE-LENS

Python Badge

Biometric Security Badge

License Badge

SECURE-LENS Demo

SECURE-LENS is a real-time computer vision security application focused on biometric authentication and automatic incident response. Powered by Python and leveraging libraries such as OpenCV, face_recognition, and PyAutoGUI, this project turns your webcam into a security sentinel that locks down your computer when unauthorized faces are detected.


🚀 Features

  • 🎯 Biometric Authentication
  • 🚨 Motion-Triggered Monitoring
  • 🔒 Automatic Screen Lockdown
  • 📝 Incident Logging & Snapshots
  • 🔔 Real-Time Desktop Notifications
  • Multi-threaded – Always Responsive

🖼️ Demo

Demo Animation
Live Intrusion Detection and Screen Blur


🎬 How It Works

  1. 🧑 Enroll Your Face:
        Place a clear frontal image (owner.jpg) in the root folder.
  2. 🎥 Webcam Surveillance:
        Monitors for motion and scans for faces only if something moves.
  3. 🕵️‍♂️ Breach Response:
        If an unauthorized face is detected:
    • An incident is logged with a snapshot and timestamp.
    • The desktop display is blurred and a fullscreen warning overlay appears.
    • You receive a real-time notification.
  4. 🙆 Recovery:
        Restores access automatically for authorized users.

⚙️ Getting Started

Requirements

  • Python 3.8+
  • opencv-python
  • face_recognition
  • numpy
  • pyautogui
  • Pillow
  • plyer

Install dependencies:

pip install opencv-python face_recognition numpy pyautogui Pillow plyer

Quick Start

  1. Add owner.jpg – Save your face image (frontal, well-lit) as owner.jpg in the repo folder.
  2. Run the application:
    python "Secure Lens.py"
  3. Exit any time: Press q in the main camera window.

📁 Project Structure

SECURE-LENS/
├── Secure Lens.py             # Main application
├── Secure Lens cropped.py     # (Alternative/app variant)
├── .gitignore
├── incident_logs/             # Forensic images/logs
│   └── security_audit.txt
└── owner.jpg                  # Your biometric key (not in repo)

🛡️ Security & Privacy

  • Local only: No biometric data leaves your device.
  • Forensic audit: Incident logs + snapshot images per breach.
  • Total control: Close the app to release webcam.

🧩 Contributing

Pull requests, suggestions, and issues are always welcome!

  1. Fork the project
  2. Create a new branch
  3. Submit a PR with details of your changes or ideas

📜 License

Unlicensed (for now). For commercial or non-personal use, please contact the maintainer.


Stay secure with SECURE-LENS!

About

A real-time biometric security app using computer vision to detect unauthorized users and automatically lock down your screen with incident logging and desktop alerts.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages