1. [Bugfix]Improve mtmn

2. 61cda42 update esp-face, remove concat, combine 3x3 bn
pull/78/head
XiaochaoGONG 2019-05-14 21:13:13 +08:00
parent f847d8986b
commit b1d8fa73a5
3 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit 9f64994450feeebc92350d9a66ab5b29d9fce2f4
Subproject commit 61cda42cebb48d2807e84bf354e92f604a3e43fc

View File

@ -36,7 +36,7 @@ extern QueueHandle_t gpst_output;
static inline mtmn_config_t app_mtmn_config()
{
mtmn_config_t mtmn_config;
mtmn_config_t mtmn_config = {0};
mtmn_config.type = FAST;
mtmn_config.min_face = 80;
mtmn_config.pyramid = 0.707;

View File

@ -245,6 +245,7 @@ esp_err_t facenet_stream_handler(httpd_req_t *req)
if (out_res.net_boxes)
{
draw_face_boxes(out_res.image, fb->width, fb->height, out_res.net_boxes);
free(out_res.net_boxes->score);
free(out_res.net_boxes->box);
free(out_res.net_boxes->landmark);
free(out_res.net_boxes);