2021-09-27 15:25:50 +08:00
|
|
|
#include "who_camera.h"
|
2021-10-26 16:59:29 +08:00
|
|
|
#include "who_cat_face_detection.hpp"
|
2021-09-27 15:25:50 +08:00
|
|
|
|
|
|
|
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);
|
2021-09-27 15:25:50 +08:00
|
|
|
}
|