espressif / esp-dl

Espressif deep-learning library for AIoT applications
MIT License
539 stars 117 forks source link

Face detection failure #2

Closed iamlaobie closed 5 years ago

iamlaobie commented 5 years ago

I am developing a face recognizing by ESP-EYE, But the face detection fail every frequently. I found the P-Net result is OK, but the R-Net return NULL when I input e normal face. Could I do something refine it? Thanks!

XiaochaoGONG commented 5 years ago

Hi, You can modify the threshold for the R-Net and O-Net, https://github.com/espressif/esp-face/blob/a28b3a9292b10e01ea491c602d69f541970f0432/face_detection/include/fd_forward.h#L43-L48

iamlaobie commented 5 years ago

Thanks for your reply! Try many times, I found the reason is the distance too close between my face and the camera! When I hold the board by my hand, the distance is about 20 or 30 cm. I use a simple shelf hold the board and the distance is about 50 cm, the result is perfect! Thanks again!