All Projects → OValery16 → Gender Age Classification

OValery16 / Gender Age Classification

Licence: mpl-2.0
gender/age classification

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Gender Age Classification

Pytorch Yolo2
Convert https://pjreddie.com/darknet/yolo/ into pytorch
Stars: ✭ 941 (+2312.82%)
Mutual labels:  yolo, yolo2
Yolov2.pytorch
YOLOv2 algorithm reimplementation with pytorch
Stars: ✭ 31 (-20.51%)
Mutual labels:  yolo, yolo2
Picamnn
Survelliance system with deep learning based people detection (YOLO)
Stars: ✭ 97 (+148.72%)
Mutual labels:  yolo, yolo2
Yolo 9000
YOLO9000: Better, Faster, Stronger - Real-Time Object Detection. 9000 classes!
Stars: ✭ 1,057 (+2610.26%)
Mutual labels:  yolo, yolo2
Pytorch Caffe Darknet Convert
convert between pytorch, caffe prototxt/weights and darknet cfg/weights
Stars: ✭ 867 (+2123.08%)
Mutual labels:  yolo, yolo2
Yolo2 Pytorch
YOLOv2 in PyTorch
Stars: ✭ 1,393 (+3471.79%)
Mutual labels:  yolo, yolo2
Satellite Image Object Detection
YOLO/YOLOv2 inspired deep network for object detection on satellite images (Tensorflow, Numpy, Pandas).
Stars: ✭ 115 (+194.87%)
Mutual labels:  yolo, yolo2
Yolo Tf
TensorFlow implementation of the YOLO (You Only Look Once)
Stars: ✭ 200 (+412.82%)
Mutual labels:  yolo, yolo2
Tracking-with-darkflow
Real-time people Multitracker using YOLO v2 and deep_sort with tensorflow
Stars: ✭ 522 (+1238.46%)
Mutual labels:  yolo, yolo2
Mxnet Yolo
YOLO: You only look once real-time object detector
Stars: ✭ 240 (+515.38%)
Mutual labels:  yolo, yolo2
Alturos.yolo
C# Yolo Darknet Wrapper (real-time object detection)
Stars: ✭ 308 (+689.74%)
Mutual labels:  yolo, yolo2
VideoRecognition-realtime-autotrainer-alerts
State of the art object detection in real-time using YOLOV3 algorithm. Augmented with a process that allows easy training of the classifier as a plug & play solution . Provides alert if an item in an alert list is detected.
Stars: ✭ 36 (-7.69%)
Mutual labels:  yolo, yolo2
Tracking With Darkflow
Real-time people Multitracker using YOLO v2 and deep_sort with tensorflow
Stars: ✭ 515 (+1220.51%)
Mutual labels:  yolo, yolo2
Cv Papers
计算机视觉相关论文整理、记录、分享; 包括图像分类、目标检测、视觉跟踪/目标跟踪、人脸识别/人脸验证、OCR/场景文本检测及识别等领域。欢迎加星,欢迎指正错误,同时也期待能够共同参与!!! 持续更新中... ...
Stars: ✭ 738 (+1792.31%)
Mutual labels:  yolo
Tensorflow Yolo V3
Implementation of YOLO v3 object detector in Tensorflow (TF-Slim)
Stars: ✭ 862 (+2110.26%)
Mutual labels:  yolo
Openlabeling
Label images and video for Computer Vision applications
Stars: ✭ 706 (+1710.26%)
Mutual labels:  yolo
People Counter
This project counts number of people coming in and going out of structures such as building, stores,etc. based on tripline crossing.
Stars: ✭ 20 (-48.72%)
Mutual labels:  yolo
Yolo Tf2
yolo(all versions) implementation in keras and tensorflow 2.4
Stars: ✭ 695 (+1682.05%)
Mutual labels:  yolo
Label Studio
Label Studio is a multi-type data labeling and annotation tool with standardized output format
Stars: ✭ 7,264 (+18525.64%)
Mutual labels:  yolo
Android Yolo
Real-time object detection on Android using the YOLO network with TensorFlow
Stars: ✭ 604 (+1448.72%)
Mutual labels:  yolo

gender/age classification

Pour exécuter le script python prediction_age_gender.py en modifiant le lien de la photo dans image_path

The architecture of this project is the following:

  • ageWeights: weight for the age model
  • build_predicator.py: script to build the age/gender graph (it also call "modelGender.py")
  • detected_faces: example of extracted faces (it was mostly done for debugging purpose)
  • freeze_graph: the yolo model + the weight (i froze the network)
  • genderWeights: gender for the age model (the branch for the gender)
  • image: examples of image and their respective output
  • log: it 's where I put the tensorboard log
  • modelGender.py: script to build the gender graph
  • model.py: helper for building the inception model
  • prediction_age_gender.py: the main python script
  • utils.py: useful functions
  • video: examples of video and its output

You can run our predicator with the command:

python prediction_age_gender.py

  • You can modify the value of image_path in prediction_age_gender.py to run our model on your own picture/video.

  • Note: For the sake of simplicity, I use Keras for the YOLO implementation, but I usetensorflow for the other graphs.

  • Note2: Don't forget to download the weight and to put them in th corresponding folder (ageWeights/freeze_graph/genderWeights)

    • This link to each of them is available in the folder

Know prediction errors

Several prediction errors could happen in the following case:

  • The face is too far from the camera
    • The picture used in the training mostly includes people that are relatively closed to the camera
  • The picture includes many character that are very closed to each other
    • The picture used in the training mostly includes people are not too closed for each other
  • The face is very closed to the border
    • Our system consists in the combinasion of 2 neural networks. The first one extract the faces as a square image, the second one resize them to the correct input size and predicts the corresponding label of each of them. Howeve if the face is closed to the picture's border, the extracted face may not be a square size image, wich force our system to distord the image in order to make it fit in our model. It can lead to pottential errors.
  • The lighting condition are very different from our training set
    • The picture used in the test set should have similar distribution as the validation set.

Note:

In deep learning, it important to know that the training set should cover sufficiently the scenarios that you want to score later on. If the classifier sees fully new concepts or contexts it is likely to perform badly. Just a few examples:

  • You train only on images from a constraint environment (say, indoor) and try to score images from a different environment (outdoor).
  • You train only on images of a certain make and try to score others.
  • Your test images have largely different characteristics, e.g. with respect to illumination, background, color, size, position, etc.
  • Your test images contain entirely new concepts.

As a result, we invite the reader to fine tune our model in case it makes some prediction errors with their test set (see previous section). Another parameter that ca be adjusted is size of the face that is extracted (go to "utils.py" and search for 'getFacesList' and adjust the size of maxDist)

  • Each label is written like gender, (age_interval)
    • The exact age cannot be guessed without large training dataset (which we don't have)
    • Instead we guess the age intervale

The following pictures are example of input/output:

Input Output
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].