Skip to content

A Python-based facial recognition system that automatically locks your computer when the registered user is away. Built with OpenCV and PyTorch, it demonstrates biometric security using computer vision

Notifications You must be signed in to change notification settings

AshishNikam111000/fr_lock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”“ Face Recognition Automatic Lock

A Python-based facial recognition system that allows users to lock your system using their face. Built using OpenCV and PyTorch, this project demonstrates the application of computer vision for biometric automatic locking mechanism. This program automatically locks the system when you move away from it.

It captures faces, train the model, save the model and then use that model to detect face. Once you run the program, you will have to capture your face first (more the data, better the model), then run the program.

๐Ÿงฐ Tech Stack

  • Python 3.8+
  • OpenCV
  • PyTorch
  • NumPy
  • Face cascade

๐Ÿš€ Getting Started

1. Clone the Repository

$> git clone https://github.com/AshishNikam111000/fr_lock.git
$> cd fr_lock

2. Create an environment, activate and deactivate environment

$> python -m venv <environment_name>
$> <environment_name>\Scripts\activate
$> deactivate

2. After activating environment, simply run the main.py

$> python main.py

About

A Python-based facial recognition system that automatically locks your computer when the registered user is away. Built with OpenCV and PyTorch, it demonstrates biometric security using computer vision

Topics

Resources

Stars

Watchers

Forks

Languages