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

13 lines
337 B
C++
Raw Normal View History

#include "who_camera.h"
#include "who_motion_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);
register_motion_detection(xQueueAIFrame, NULL, NULL, NULL);
}