Update xdrv_39_webcam.ino

This commit is contained in:
gemu2015 2020-05-05 09:39:35 +02:00
parent db15571336
commit 489865b82b
1 changed files with 2 additions and 1 deletions

View File

@ -454,9 +454,10 @@ void handleMjpeg(void) {
//} //}
} }
#ifdef USE_FACE_DETECT
static mtmn_config_t mtmn_config = {0}; static mtmn_config_t mtmn_config = {0};
#ifdef USE_FACE_DETECT
void fd_init(void) { void fd_init(void) {
mtmn_config.type = FAST; mtmn_config.type = FAST;
mtmn_config.min_face = 80; mtmn_config.min_face = 80;