diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..01f8dcd --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +env + +.DS_Store + +__pycache__ \ No newline at end of file diff --git a/LICENSE b/LICENSE index 62e5bf4..b55540c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019 Mahesh Sawant +Copyright (c) 2019 Mahesh Sawant | Mahimai Raja J Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 791dae7..9e956b9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Gender-and-Age-Detection GitHub +#
Gender-and-Age-Detection
GitHub [![Python 3.9](https://img.shields.io/badge/python-3.9.12-blue.svg)](https://www.python.org/downloads/release/python-360/)

Objective :

@@ -10,17 +10,12 @@

Dataset :

For this python project, I had used the Adience dataset; the dataset is available in the public domain and you can find it here. This dataset serves as a benchmark for face photos and is inclusive of various real-world imaging conditions like noise, lighting, pose, and appearance. The images have been collected from Flickr albums and distributed under the Creative Commons (CC) license. It has a total of 26,580 photos of 2,284 subjects in eight age ranges (as mentioned above) and is about 1GB in size. The models I used had been trained on this dataset.

-

Additional Python Libraries Required :

- - +> NOTE : The project is build on Python 3.9.12 +

To Install Python Libraries Required :

+ +```bash +pip install -r requirements.txt +```

The contents of this Project :

For face detection, we have a .pb file- this is a protobuf file (protocol buffer); it holds the graph definition and the trained weights of the model. We can use this to run the trained model. And while a .pb file holds the protobuf in binary format, one with the .pbtxt extension holds it in text format. These are TensorFlow files. For age and gender, the .prototxt files describe the network configuration and the .caffemodel file defines the internal states of the parameters of the layers.

@@ -41,13 +36,13 @@
  • Open your Command Prompt or Terminal and change directory to the folder where all the files are present.
  • Detecting Gender and Age of face in Image Use Command :
  • - python detect.py --image + python demo.py --image

    Note: The Image should be present in same folder where all the files are present