You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
652 B
23 lines
652 B
#include "camera.h"
|
|
#include "who_camera.h"
|
|
#include "who_motion_detection.hpp"
|
|
#include "who_lcd.h"
|
|
|
|
static QueueHandle_t xQueueAIFrame = NULL;
|
|
static QueueHandle_t xQueueLCDFrame = NULL;
|
|
|
|
void camera_motion_detection_init(void)
|
|
{
|
|
xQueueAIFrame = xQueueCreate(2, sizeof(camera_fb_t *));
|
|
xQueueLCDFrame = xQueueCreate(2, sizeof(camera_fb_t *));
|
|
|
|
register_camera(PIXFORMAT_RGB565, FRAMESIZE_240X240, 2, xQueueAIFrame);
|
|
register_motion_detection(xQueueAIFrame, NULL, NULL, xQueueLCDFrame);
|
|
register_lcd(xQueueLCDFrame, NULL, true);
|
|
}
|
|
|
|
void camera_init(void) {}
|
|
|
|
void camera_registered_cb(void) {}
|
|
|
|
void camera_taking_pictures(void) {}
|