13 lines
337 B
C++
Executable File
13 lines
337 B
C++
Executable File
#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);
|
|
}
|