https://github.com/arsho/face_detection
Detect human and cat faces of an image
https://github.com/arsho/face_detection
Last synced: 3 months ago
JSON representation
Detect human and cat faces of an image
- Host: GitHub
- URL: https://github.com/arsho/face_detection
- Owner: arsho
- Created: 2017-06-21T10:21:03.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-22T07:02:03.000Z (about 9 years ago)
- Last Synced: 2025-01-28T04:46:15.906Z (over 1 year ago)
- Language: Python
- Size: 818 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Face Detection (Human and Cat faces)
Detect human and cat faces in images. You can test on multiple images
by keeping them inside ```input_test``` folder.
## Packages Used
The program is coded using Windows 10 (64 bit) operating system with Python version 3.5.2.
The following packages are necessary to run the program:
Package | Version | Installation
--- | --- | ---
**OpenCV** | 3.2.0 | `pip install opencv-python`
**Numpy** | 1.11.3 | `pip install numpy`
**Matplotlib** | 1.5.3 | `pip install matplotlib`
## Running the program
Open cat_human.py and click on Run > Run Module.
The test images should be in input_test folder.
## Test Images



### Output Images
The output images consist of human and cat faces marked by color boxes.



### References
* [Detecting cats in image with opencv](http://www.pyimagesearch.com/2016/06/20/detecting-cats-in-images-with-opencv/)
* [OpenCV data](https://github.com/opencv/opencv/tree/master/data/haarcascades)
* [Basic Image Manipulations in Python and OpenCV](http://www.pyimagesearch.com/2014/01/20/basic-image-manipulations-in-python-and-opencv-resizing-scaling-rotating-and-cropping/)
***
### Feel free to contribute for improvement.