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.
 
 
 
 

35 lines
875 B

/**
* @file camera.cpp
* @author Finny (tianjialong0106@163.com)
* @brief
* @version 0.1
* @date 2022-09-26
*
* @copyright Copyright (c) 2022
*
*/
#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) {}
bool camera_recognition_reaction_plate(void) { return false; }