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

Age gender detection using OpenVINO

HShet1
Beginner
1,071 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
1,071 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

0 Kudos
1 Reply
Shubha_R_Intel
Employee
1,072 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

0 Kudos
Reply