yulequan / face-alignment-in-3000fps

a c++ implementation of face alignment in 3000fps
Other
377 stars 234 forks source link

A problem about the loss of the images numbers? #8

Open weiyt2014 opened 9 years ago

weiyt2014 commented 9 years ago

I have a problem about "LoadData(testdatapath, test_images, test_ground_truth_shapes, test_bounding_boxs)" and "LoadOpencvBbxData(testdatapath, test_images, test_ground_truth_shapes, test_bounding_boxs);". The two functions are to load images and prepared for alignment. The helen_teset datasets have 330 images. If i use LoadData, the number of test images is 330(test data size =330).It's right and the speed of loading images is quick,but the CalculateError is big(0.390823). If i use LoadOpencvBboxData,the number of test images is 302(test data size =302) and loss 28 images.And the speed of loading images is slow,but the CalculateError is small(0.077962). The speed may be because of the function complex difference, but the loss i don't know why? Can the speed change in LoadOpencvBbxData ? I hope to get some suggestions. Thanks very much!

arunprakashavm commented 7 years ago

I went through your code . I just met the same problem. Could you please tell how this function "IsShapeInRect" works and where its parameters are declared and defined .The parameters like width and hieght . I find that the if statement in that fails .Can you please tell me how to solve it?