Skip to content

MinhasKamal/GenderRecognizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gender Recognizer

Plain Face Detector & Gender Recognizer

Give image of a person or persons (frontal face like this), 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, 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.

License

MIT License
GenderRecognizer is licensed under MIT License.