From 19bd564191c42c2609f8da7f2558291e02627b55 Mon Sep 17 00:00:00 2001 From: yuanjiong Date: Tue, 26 Oct 2021 16:59:29 +0800 Subject: [PATCH] :bug: fix cat_face_detection bugs --- examples/cat_face_detection/lcd/main/app_main.cpp | 1 - examples/cat_face_detection/terminal/main/app_main.cpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/cat_face_detection/lcd/main/app_main.cpp b/examples/cat_face_detection/lcd/main/app_main.cpp index 714e836..8fe7b42 100755 --- a/examples/cat_face_detection/lcd/main/app_main.cpp +++ b/examples/cat_face_detection/lcd/main/app_main.cpp @@ -15,5 +15,4 @@ extern "C" void app_main() register_cat_face_detection(xQueueAIFrame, NULL, NULL, xQueueLCDFrame, false); register_lcd(xQueueLCDFrame, NULL, true); - register_trace(); } diff --git a/examples/cat_face_detection/terminal/main/app_main.cpp b/examples/cat_face_detection/terminal/main/app_main.cpp index 31e385b..6cb1b23 100755 --- a/examples/cat_face_detection/terminal/main/app_main.cpp +++ b/examples/cat_face_detection/terminal/main/app_main.cpp @@ -1,5 +1,5 @@ #include "who_camera.h" -#include "who_motion_detection.hpp" +#include "who_cat_face_detection.hpp" static QueueHandle_t xQueueAIFrame = NULL; @@ -8,5 +8,5 @@ extern "C" void app_main() xQueueAIFrame = xQueueCreate(2, sizeof(camera_fb_t *)); register_camera(PIXFORMAT_RGB565, FRAMESIZE_240X240, 2, xQueueAIFrame); - register_motion_detection(xQueueAIFrame, NULL, NULL, NULL); + register_cat_face_detection(xQueueAIFrame, NULL, NULL, NULL, true); }