Community
cancel
Showing results for 
Search instead for 
Did you mean: 
HShet1
Beginner
152 Views

Age gender detection using OpenVINO

Jump to solution

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
152 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
153 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

Reply