Give an image of a person or persons (frontal face like this), and this program will try to recognize male and female using Template Matching and Bayes' Theorem. The face detection part is accomplished using OpenCV.
- Download Gender Recognizer, and import it in your IDE.
- Now, integrate OpenCV in the build path. Follow this link for installing OpenCV in your Java project.
- For training the machine, run Train.java.
- For testing, run Predict.java (change file-paths in the main method according to need).
If you like this project, you may also like AlphabetRecognizer- Simple Optical Character Recognizer and SkinDetector- Detects Human Skin From Image.
@misc{Minhas2015GenderRecognizer,
author = {Kamal, Minhas},
title = {GenderRecognizer: Plain Face Detector & Gender Recognizer},
year = {2015},
publisher = {GitHub},
url = {https://github.com/MinhasKamal/GenderRecognizer}
}
GenderRecognizer is licensed under MIT License.



