Replies: 2 comments 3 replies
-
most likely biggest difference is face crop factor - opencv performs a really tight crop by default and i prefer to have a wider crop. if that works, you can take a look to implement a custom crop for your model. good example is in emotion module as it takes existing detected face and performs additional tight crop on it to fit the model training data: Lines 51 to 57 in cca0102 |
Beta Was this translation helpful? Give feedback.
-
unfortunate, but true.
|
Beta Was this translation helpful? Give feedback.
-
Hello,
I was trying to import an antispoof based on MobileNetV2 into human.
The model takes a [1, 224, 224, 3] values from [-1, 1] reversed RGB.
So far I am able to find a face, crop and resize it to 224, 224 and convert. But since the model was trained with opencv, using res10_300x300_ssd_iter_140000, the way it cuts and resize seems to have an importance. Therefore I don't get the same result using the face-detection of human.
How would one get the same box when face detecting, as on opencv ? any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions