https://github.com/sanketsuradkar/face-detection
Face Detection Tool using Python and OpenCV
https://github.com/sanketsuradkar/face-detection
face-detection opencv python
Last synced: 2 months ago
JSON representation
Face Detection Tool using Python and OpenCV
- Host: GitHub
- URL: https://github.com/sanketsuradkar/face-detection
- Owner: SanketSuradkar
- Created: 2024-08-14T08:39:51.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-18T04:07:14.000Z (over 1 year ago)
- Last Synced: 2025-05-07T13:56:15.053Z (about 1 year ago)
- Topics: face-detection, opencv, python
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Face Detection Tool using Python
A simple and efficient face detection tool built using Python and OpenCV.
**Features**
* Detects faces in images and videos
* Supports multiple face detection algorithms (e.g. Haar Cascade, Dlib, OpenCV)
* Includes a GUI interface for easy use
* Can be integrated with other projects and applications
**Getting Started**
1. Clone the repository: `git clone https://github.com/SanketSuradkar/Face-detection.git`
2. Install the required dependencies: `pip install opencv-python numpy pillow`
3. Run the GUI application: `python face_d.py`
4. Use the GUI interface to select an image or video file, and the tool will detect and display the faces.
**Technical Details**
* Built using Python 3.x and OpenCV 4.x
* Uses Haar Cascade, Dlib, and OpenCV face detection algorithms
* Includes a GUI interface built using Tkinter
* Supports image and video files (e.g. PNG, JPEG, MP4, AVI)
**Modules Used**
* `cv2`: OpenCV library for computer vision tasks
* `tk`: Tkinter library for building the GUI interface
* `filedialog`: Tkinter module for file dialog functionality
* `PIL` (Python Imaging Library): Used for image processing and manipulation
**Contributing**
* Contributions are welcome! If you'd like to contribute to the project, please open an issue or submit a pull request.
* Please follow the [Code of Conduct](https://github.com/SanketSuradkar/Face-detection/blob/main/CODE_OF_CONDUCT.md) when contributing to the project.
**Acknowledgments**
* This project was inspired by [OpenCV Face Detection Tutorial](https://docs.opencv.org/master/d7/d8b/tutorial_face_detection.html)
* The Haar Cascade classifier was trained using [OpenCV Face Detection Dataset](https://github.com/opencv/opencv/tree/master/data/haarcascades)
**Contact**
* If you have any questions or need help with the project, please open an issue or contact me at [sandysuradkar12@gmail.com](mailto:sandysuradkar12@gmail.com)