Intel® Distribution of OpenVINO™ Toolkit
Community support and discussions about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all things computer vision-related on Intel® platforms.

Age gender detection using OpenVINO

HShet1
Beginner
245 Views

Hi Team,

How to use OpenVINO to detect age-gender?I have trained caffe model with which I have generated IR files.Even we have our own face detection logic.What changes needs to be done in interactive_face_detection_demo to accomplish age-gender detection? We don't want to use face detection available with interactive_face_detection_demo.

 

 

0 Kudos
1 Solution
Shubha_R_Intel
Employee
245 Views

Dear Shetty, Harsha,

In OpenVino 2019R2, I see the following code within the interactive_face_detection_demo folder, main.cpp:

 if (face->isAgeGenderEnabled()) {
                    AgeGenderDetection::Result ageGenderResult = ageGenderDetector;
                    face->updateGender(ageGenderResult.maleProb);
                    face->updateAge(ageGenderResult.age);
                }

Please study  AgeGenderDetection within detectors.cpp.

Hope it helps.

Thanks,

Shubha

View solution in original post

1 Reply
Shubha_R_Intel
Employee
246 Views

Dear Shetty, Harsha,

In OpenVino 2019R2, I see the following code within the interactive_face_detection_demo folder, main.cpp:

 if (face->isAgeGenderEnabled()) {
                    AgeGenderDetection::Result ageGenderResult = ageGenderDetector;
                    face->updateGender(ageGenderResult.maleProb);
                    face->updateAge(ageGenderResult.age);
                }

Please study  AgeGenderDetection within detectors.cpp.

Hope it helps.

Thanks,

Shubha

Reply