The model was trained using the UTKFace dataset and the following image classificator. If you don't want to train your own model you can download the one I used here as well as the model weights (they must be placed in the main.py directory). If you're interested only in the gender detection code without any the KIVY stuff you can see it in the "gender detection code" folder.
- kivy
- kivymd
- keras
- tensorflow
- opencv-python
- cvlib
- numpy
On command prompt:
python main.py