Facelog presents a pioneering solution for attendance management, redefining conventional tracking techniques through its sophisticated facial recognition technology. Developed using React and Python's Flask framework, it seamlessly incorporates OpenCV and TensorFlow for precise and hands-free attendance monitoring. Facelog empowers organizations to optimize their processes while upholding stringent standards of efficiency and security in attendance tracking.
-
Navigate to the
facelog
directory.cd facelog
-
Install dependencies using npm.
npm install
-
Start the React development server.
npm start
-
Access the application at https://localhost:3000 in your web browser.
-
Navigate to the
backend
directory.cd backend
-
Create and activate a virtual environment (optional but recommended).
python -m venv venv # For Windows .\venv\Scripts\activate
-
Install Flask and other dependencies.
pip install -r requirements.txt pip install -U flask-cors
-
In the
modelTester.py
file, update the following paths according to your system:HAARCASCADE_FILE_PATH = "YOUR_LOCAL_PATH/faceLog_Attendence/backend/static/haarcascade_frontalface_default.xml" TRAINING_DATA_PATH = "YOUR_LOCAL_PATH/faceLog_Attendence/backend/static/face-trainner" MODEL_PATH = "YOUR_LOCAL_PATH/faceLog_Attendence/backend/static/Trainner.yml"
-
Start the Flask server.
python app.py
-
The Flask server should now be running at https://localhost:5000.
-
Initial Admin Registration:
- Upon first setting up the system, the initial admin needs to register by clicking on the setup system option. This will create the first admin account and grant access to the admin panel.
-
Admin Panel:
- Once registered, the admin can access the admin panel.
- In the admin panel, the admin can perform the following tasks:
- Register Employees: Add employee details and capture facial images for registration into the system.
- Manage Employee Data: Update employee information and maintain records.
- View Attendance Records: Monitor attendance logs and generate reports.
- Perform Administrative Tasks: Carry out various administrative functions to ensure the smooth operation of the system.
-
Employee Panel:
- Employees can access the employee portal to:
- View Attendance Records: Check their attendance history and records.
- Employees can access the employee portal to:
- Ayesha Imam
- Ammar Ahmed Khan
- Fatima Zehra
- Meerab Tahir
- Moin Rauf
- Sara Naeem Aslam
We would like to thank the following resources for their contribution to this project:
- OpenCV for providing the facial recognition functionality.
- React for the frontend framework, enabling the creation of a user-friendly interface.
- Flask for the backend framework, facilitating the development of robust server-side logic.
- Various npm packages and Python libraries utilized throughout the development process, enhancing the functionality and efficiency of the system.
For any inquiries or support, please contact:
- Moin Rauf: [email protected]