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
- Host: GitHub
- URL: https://github.com/minhaskamal/genderrecognizer
- Owner: MinhasKamal
- License: mit
- Created: 2015-12-13T08:45:19.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-06-19T12:00:28.000Z (over 8 years ago)
- Last Synced: 2025-03-25T14:38:59.366Z (7 months ago)
- Topics: egami, face-detection, face-detector, face-recognition, female, gender-recognition, gender-recognizer, java, machine-learning, male, opencv
- Language: Java
- Homepage: http://minhaskamal.github.io/GenderRecognizer
- Size: 1.82 MB
- Stars: 61
- Watchers: 6
- Forks: 30
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
GenderRecognizer is licensed under MIT License.