1. [Bugfix]Improve mtmn
2. 61cda42 update esp-face, remove concat, combine 3x3 bnpull/78/head
parent
f847d8986b
commit
b1d8fa73a5
|
@ -1 +1 @@
|
||||||
Subproject commit 9f64994450feeebc92350d9a66ab5b29d9fce2f4
|
Subproject commit 61cda42cebb48d2807e84bf354e92f604a3e43fc
|
|
@ -36,7 +36,7 @@ extern QueueHandle_t gpst_output;
|
||||||
|
|
||||||
static inline mtmn_config_t app_mtmn_config()
|
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.type = FAST;
|
||||||
mtmn_config.min_face = 80;
|
mtmn_config.min_face = 80;
|
||||||
mtmn_config.pyramid = 0.707;
|
mtmn_config.pyramid = 0.707;
|
||||||
|
|
|
@ -245,6 +245,7 @@ esp_err_t facenet_stream_handler(httpd_req_t *req)
|
||||||
if (out_res.net_boxes)
|
if (out_res.net_boxes)
|
||||||
{
|
{
|
||||||
draw_face_boxes(out_res.image, fb->width, fb->height, 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->box);
|
||||||
free(out_res.net_boxes->landmark);
|
free(out_res.net_boxes->landmark);
|
||||||
free(out_res.net_boxes);
|
free(out_res.net_boxes);
|
||||||
|
|
Loading…
Reference in New Issue