A Biometric-based File Lock Application built in Python.
BioLocky lets you protect your sensitive files and folders with Face Recognition, Speech Recognition, and a PIN — all wrapped in a clean, modern UI. Once authenticated, it seamlessly handles encryption/decryption of your files on the fly.
Since it's pure Python with common libraries, it runs on Windows, macOS, and Linux. Made Jointly by me, @FaizanMohd5 and Mohd Yusuf Hussain
- Multi-factor Authentication
- Face Recognition (OpenCV)
- Speech Recognition (Google Speech Recognition)
- Traditional PIN fallback
- Automatic Encryption & Decryption
- Uses AES encryption via the
cryptographylibrary - Files are encrypted when locked and decrypted only after successful authentication
- Uses AES encryption via the
- Intruder Detection
- Captures a photo of anyone who fails authentication multiple times
- Automatically sends the intruder’s photo to your email (configured in
mail.py)
- Modern & Responsive UI
- Built with CustomTkinter for a beautiful dark/light mode interface
- Cross-Platform
- Works on Windows, macOS, and Linux
- File & Folder Monitoring
- Uses
watchdogto monitor protected directories
- Uses
- Python 3.8 or higher
pip install -r requirements.txt
First launch using main.py : Register your face, voice phrase, and PIN Add files/folders you want to protect Lock them → files get encrypted automatically Unlock using face, speech, or PIN Multiple failed attempts → intruder photo captured and emailed
Important Notes
Webcam and microphone must be available Good lighting helps face recognition accuracy Speech recognition performs best in quiet environments Use a Gmail App Password for reliable email alerts Since its Pythons CV, Having a GPU kinda Helps

