Welcome to the OAAA Face Recognition Project! This application leverages customtkinter, OpenCV, and face_recognition libraries to create a secure sign-in and sign-up system using facial recognition technology.
- User Registration: New users can sign up by entering their details and capturing their facial image.
- User Login: Registered users can sign in using their facial recognition.
- User Information Display: View registered user details.
- Dark/Light Mode: Toggle between dark and light mode for better user experience.
-
Clone the repository:
git clone https://github.com/yourusername/oaaa-face-recognition.git cd oaaa-face-recognition -
Install the required packages:
pip install customtkinter opencv-python-headless face_recognition pillow
-
Prepare the environment:
- Ensure you have a
data.jsonfile in the root directory with the following structure:
{ "Accounts": [] }- Place your images and icon files in the
Materialsdirectory:Logo-dark.icoBackground_dark.pngBackground_light.pngLogo-dark.pngLogo-light.pngieeelogo-light.pngieeelogo-dark.png
- Ensure you have a
-
Run the application:
python app.py
-
Sign Up:
- Click on the 'Sign Up Now!' button.
- Fill in your details and click on 'Capture Face!' to register.
-
Sign In:
- Click on the 'Sign in' button.
- Enter your username and click on 'Capture Face!' to log in.
-
Toggle Mode:
- Use the 'Switch Mode' toggle to switch between dark and light modes.
├── Accounts # Directory for storing user facial images
├── Materials # Directory for storing images and icons
│ ├── Background_dark.png
│ ├── Background_light.png
│ ├── Logo-dark.ico
│ ├── Logo-dark.png
│ ├── Logo-light.png
│ ├── ieeelogo-light.png
│ └── ieeelogo-dark.png
├── data.json # JSON file for storing user account information
├── app.py # Main application file
├── README.md # This readme file
└── requirements.txt # Required Python packages



