Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 2.76 KB

File metadata and controls

36 lines (28 loc) · 2.76 KB

Gender Recognizer

Plain Face Detector & Gender Recognizer

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.

How to Run?

  1. Download Gender Recognizer, and import it in your IDE.
  2. Now, integrate OpenCV in the build path. Follow this link for installing OpenCV in your Java project.
  3. For training the machine, run Train.java.
  4. For testing, run 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 and SkinDetector- Detects Human Skin From Image.

Citation

@misc{Minhas2015GenderRecognizer,
  author    = {Kamal, Minhas},
  title     = {GenderRecognizer: Plain Face Detector & Gender Recognizer},
  year      = {2015},
  publisher = {GitHub},
  url       = {https://github.com/MinhasKamal/GenderRecognizer}
}

License

MIT License
GenderRecognizer is licensed under MIT License.