Gender Recognizer

Plain Face Detector & Gender Recognizer

Download .zip Download .tar.gz View on GitHub

Give image of a person (frontal face), and this program will try to recognize male and female using Template Matching. Face detection part is accomplished using OpenCV.

How to Run?

  1. Import the project in IDE, & integrate OpenCV in the build path. Follow this link for installing OpenCV in Java project.
  2. For training the machine run Train.java.
  3. For testing run Predict.java (change file-paths in the main method according to need).

Visual of Learned Templates

License

MIT License
GenderRecognizer is licensed under MIT License.