diff --git a/components/esp-face b/components/esp-face index ae3ba5a..6a8b537 160000 --- a/components/esp-face +++ b/components/esp-face @@ -1 +1 @@ -Subproject commit ae3ba5a2538fafa00dcb0d3f6a0ba0367e5bebab +Subproject commit 6a8b537b35d166637b3ea10790ccd89a007a2bb0 diff --git a/components/esp32-camera b/components/esp32-camera index 3f7b5ed..1b8fdfe 160000 --- a/components/esp32-camera +++ b/components/esp32-camera @@ -1 +1 @@ -Subproject commit 3f7b5ed16fc71a766e97d5a6806aa7217d969eab +Subproject commit 1b8fdfe335b3c8c8b9e091e3615b0aee16946ef0 diff --git a/examples/single_chip/camera_web_server/main/app_httpd.c b/examples/single_chip/camera_web_server/main/app_httpd.c index 5baf008..171866c 100644 --- a/examples/single_chip/camera_web_server/main/app_httpd.c +++ b/examples/single_chip/camera_web_server/main/app_httpd.c @@ -90,6 +90,7 @@ static mtmn_config_t mtmn_config = {0}; #if CONFIG_ESP_FACE_DETECT_LSSH static lssh_config_t lssh_config; +static int min_face=80; #endif #if CONFIG_ESP_FACE_RECOGNITION_ENABLED @@ -532,7 +533,7 @@ static esp_err_t stream_handler(httpd_req_t *req) else { #if CONFIG_ESP_FACE_DETECT_LSSH - lssh_update_image_shape(&lssh_config, image_matrix->h, image_matrix->w); + // lssh_update_config(&lssh_config, min_face, image_matrix->h, image_matrix->w); #endif fr_ready = esp_timer_get_time(); box_array_t *net_boxes = NULL; @@ -940,7 +941,7 @@ void app_httpd_main() #endif #if CONFIG_ESP_FACE_DETECT_LSSH - lssh_config = lssh_initialize_config(80, 0.6, 0.3, 240, 320); + lssh_config = lssh_get_config(min_face, 0.7, 0.3, 240, 320); #endif #if CONFIG_ESP_FACE_RECOGNITION_ENABLED