The Gender-and-Age-Prediction project aims to use machine learning models to identify and predict an individual's gender and age from images.
Follow these steps to set up the project locally:
- Clone the repository:
git clone https://github.com/your-username/Gender-and-Age-Prediction.git
- Navigate to the project directory:
cd Gender-and-Age-Prediction
- Install the required dependencies:
pip install -r requirements.txt
To use the project, follow these steps:
- Run the prediction script with an image file:
python predict.py --image path/to/image.jpg
- Check the output for the prediction results.
The project requires the following dependencies:
- Python >= 3.6
- TensorFlow == 2.0
- Keras >= 2.3.1
- OpenCV >= 4.1
- Other dependencies listed in
requirements.txt
.
To contribute to this project, take the following steps:
- Fork the repository.
- Create a new branch for your feature (
git checkout -b feature/YourFeature
). - Make your changes and commit them (
git commit -am 'Add some feature'
). - Push the branch (
git push origin feature/YourFeature
). - Create a new Pull Request.
The following images showcase the predicted gender and age for the input images using the project: