An open API service indexing awesome lists of open source software.

https://github.com/minhaskamal/genderrecognizer

Plain Face Detector & Gender Recognizer
https://github.com/minhaskamal/genderrecognizer

egami face-detection face-detector face-recognition female gender-recognition gender-recognizer java machine-learning male opencv

Last synced: 6 months ago
JSON representation

Plain Face Detector & Gender Recognizer

Awesome Lists containing this project

README

          

# Gender Recognizer

#### Plain Face Detector & Gender Recognizer

Give image of a person or persons ([frontal face like this](https://user-images.githubusercontent.com/5456665/27283791-ca450e6e-5517-11e7-8a35-a558bee0a483.jpg)), and this program will try to recognize male and female using **Template Matching**. Face detection part is accomplished using OpenCV.

### How to Run?
1. [Download Gender Recognizer](https://github.com/MinhasKamal/GenderRecognizer/archive/master.zip), and [import](http://www.codejava.net/ides/eclipse/import-existing-projects-into-eclipse-workspace) it in your IDE.
2. Now, integrate [OpenCV](http://opencv.org) in the build path. Follow [this](http://docs.opencv.org/2.4/doc/tutorials/introduction/java_eclipse/java_eclipse.html) link for installing OpenCV in your Java project.
3. For training the machine run [**Train.java**](https://github.com/MinhasKamal/GenderRecognizer/blob/master/src/com/minhaskamal/genderRecognizer/Train.java).
4. For testing run [**Predict.java**](https://github.com/MinhasKamal/GenderRecognizer/blob/master/src/com/minhaskamal/genderRecognizer/Predict.java) (change file-paths in the *main* method according to need).

### Visual of Learned Templates






If you like this project, you may also like [AlphabetRecognizer- Simple Optical Character Recognizer](https://github.com/MinhasKamal/AlphabetRecognizer) and [SkinDetector- Detects Human Skin From Image](https://github.com/MinhasKamal/SkinDetector).

### License
MIT License
GenderRecognizer is licensed under MIT License.