This is a Python script that uses OpenCV and Deep Learning to detect faces, estimate age, and predict gender in real-time video streams or images.
- Clone the repository to your local machine:
git clone https://github.com/Devabubakar/gender_age_prediction.git
- Install the required packages using pip:
pip install opencv-python numpy argparse
-
Navigate to the project directory.
-
Run the script using the following command:
python age_gender_detection.py --image path/to/image.jpg