Shape: (1, 62, 62, 3) BGR channel order
- Estimating gender and age
### Estimating gender and age ###
gender is: Female (98.75)
age is: 25
Automatically downloads the onnx and prototxt files on the first run. It is necessary to be connected to the Internet while downloading.
For the sample image,
$ python3 age-gender-recognition-retail.py
If you want to specify the input image, put the image path after the --input
option.
$ python3 age-gender-recognition-retail.py --input IMAGE_PATH
If you want to perform face detection in preprocessing, use the --detection
option.
$ python3 age-gender-recognition-retail.py --input IMAGE_PATH --detection
By adding the --video
option, you can input the video.
If you pass 0
as an argument to VIDEO_PATH, you can use the webcam input instead of the video file.
You can use --savepath option to specify the output file to save.
$ python3 age-gender-recognition-retail.py --video VIDEO_PATH --savepath SAVE_VIDEO_PATH
- OpenVINO - Open Model Zoo repository - age-gender-recognition-retail-0013
- OpenVINO - age-gender-recognition-retail-0013
OpenVINO
ONNX opset = 11