Community
cancel
Showing results for 
Search instead for 
Did you mean: 
byun__sungjoo
Beginner
111 Views

Five keypoint position for face-reidentification-retail-0095 is different between homepage and c++ source

Hi,

I use   openvino_2019.1.144.

Five keypoint position for face-reidentification-retail-0095 is different between homepage and  c++ source.

Which one is correct?

 

http://docs.openvinotoolkit.org/latest/_face_reidentification_retail_0095_description_face_reidentif...

say the followings.

[(0.31556875000000000, 0.4615741071428571),

(0.68262291666666670, 0.4615741071428571),

(0.50026249999999990, 0.6405053571428571),

(0.34947187500000004, 0.8246919642857142),

(0.65343645833333330, 0.8246919642857142)]

 

openvino_2019.1.144/deployment_tools/inference_engine/samples/smart_classroom_demo/src/align_transform.cpp 

say the followings.

(0.31556875000000001, 0.46157410714285713)
(0.68262291666666675, 0.45983392857142852)
(0.50026249999999994, 0.64050535714285706)
(0.34947187500000004, 0.82469196428571423)
(0.65343645833333330, 0.82325089285714281)

 

The above is calculated by "align_transform.cpp "

static const float h = 112.;
static const float w = 96.;
// reference landmarks points in the unit square [0,1]x[0,1]
static const float ref_landmarks_normalized[] = {
    30.2946f / w, 51.6963f / h, 65.5318f / w, 51.5014f / h, 48.0252f / w,
    71.7366f / h, 33.5493f / w, 92.3655f / h, 62.7299f / w, 92.2041f / h};

 

0 Kudos
0 Replies
Reply