esp-who/examples/cat_face_detection/terminal/main/app_main.cpp

13 lines
347 B
C++
Raw Permalink Normal View History

#include "who_camera.h"
2021-10-26 16:59:29 +08:00
#include "who_cat_face_detection.hpp"
static QueueHandle_t xQueueAIFrame = NULL;
extern "C" void app_main()
{
xQueueAIFrame = xQueueCreate(2, sizeof(camera_fb_t *));
register_camera(PIXFORMAT_RGB565, FRAMESIZE_240X240, 2, xQueueAIFrame);
2021-10-26 16:59:29 +08:00
register_cat_face_detection(xQueueAIFrame, NULL, NULL, NULL, true);
}