🐛 fix cat_face_detection bugs
parent
7b66fcbd2f
commit
19bd564191
|
@ -15,5 +15,4 @@ extern "C" void app_main()
|
||||||
register_cat_face_detection(xQueueAIFrame, NULL, NULL, xQueueLCDFrame, false);
|
register_cat_face_detection(xQueueAIFrame, NULL, NULL, xQueueLCDFrame, false);
|
||||||
register_lcd(xQueueLCDFrame, NULL, true);
|
register_lcd(xQueueLCDFrame, NULL, true);
|
||||||
|
|
||||||
register_trace();
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include "who_camera.h"
|
#include "who_camera.h"
|
||||||
#include "who_motion_detection.hpp"
|
#include "who_cat_face_detection.hpp"
|
||||||
|
|
||||||
static QueueHandle_t xQueueAIFrame = NULL;
|
static QueueHandle_t xQueueAIFrame = NULL;
|
||||||
|
|
||||||
|
@ -8,5 +8,5 @@ extern "C" void app_main()
|
||||||
xQueueAIFrame = xQueueCreate(2, sizeof(camera_fb_t *));
|
xQueueAIFrame = xQueueCreate(2, sizeof(camera_fb_t *));
|
||||||
|
|
||||||
register_camera(PIXFORMAT_RGB565, FRAMESIZE_240X240, 2, xQueueAIFrame);
|
register_camera(PIXFORMAT_RGB565, FRAMESIZE_240X240, 2, xQueueAIFrame);
|
||||||
register_motion_detection(xQueueAIFrame, NULL, NULL, NULL);
|
register_cat_face_detection(xQueueAIFrame, NULL, NULL, NULL, true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue