https://github.com/tehran-lancer/face-recognition-with-cv2
https://github.com/tehran-lancer/face-recognition-with-cv2
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tehran-lancer/face-recognition-with-cv2
- Owner: Tehran-Lancer
- Created: 2024-06-16T12:48:16.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-19T12:13:19.000Z (about 2 years ago)
- Last Synced: 2024-06-19T22:11:26.513Z (about 2 years ago)
- Language: Python
- Size: 347 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Face Detection Project with OpenCV
This project implements a simple face detection system using the OpenCV (cv2) library in Python. It uses two model files for face detection.
Features :
Prerequisites:
Before you begin, ensure you have met the following requirements:
Libraries listed in `requirements.txt`
Installation :
Follow these steps to set up the project on your local machine:
1.Clone the repository:
git clone https://github.com/username/face-detection-project.git
cd face-detection-project
2.Create and activate a virtual environment:
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
3.Install the required libraries:
pip install -r requirements.txt
Usage :
1.Place the model files in the `models/` directory.
2.Run the main script:
python face.py
Follow the on-screen instructions to start detecting faces.