Padding Input image to square improves face detection. Possible Bug? #468
-
I'm not sure if this is a bug or not but in order for face detection to work consistently I'm having to pad out a HD image. The incoming video is 25 fps. Using human 3.2.2 on node. Here's my code:
Is this is a bug? I can't find anywhere in the documentation the input image should be cropped or padded into a square? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
expected, but i could add auto-padding (and should be configurable via config) feature. regarding performance, that is impact of caching (which is configurable) - if face location from previous detection is known and number of previously detected faces matches number of desired faces, it will run in just slightly expanded square instead of whole image which is much faster. |
Beta Was this translation helpful? Give feedback.
expected, but i could add auto-padding (and should be configurable via config) feature.
regarding performance, that is impact of caching (which is configurable) - if face location from previous detection is known and number of previously detected faces matches number of desired faces, it will run in just slightly expanded square instead of whole image which is much faster.