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.

24 lines
716 B

3 years ago
3 years ago
3 years ago
  1. #include "camera.h"
  2. #include "who_camera.h"
  3. #include "who_motion_detection.hpp"
  4. #include "who_lcd.h"
  5. static QueueHandle_t xQueueAIFrame = NULL;
  6. static QueueHandle_t xQueueLCDFrame = NULL;
  7. void camera_motion_detection_init(void)
  8. {
  9. xQueueAIFrame = xQueueCreate(2, sizeof(camera_fb_t *));
  10. xQueueLCDFrame = xQueueCreate(2, sizeof(camera_fb_t *));
  11. register_camera(PIXFORMAT_RGB565, FRAMESIZE_240X240, 2, xQueueAIFrame);
  12. register_motion_detection(xQueueAIFrame, NULL, NULL, xQueueLCDFrame);
  13. register_lcd(xQueueLCDFrame, NULL, true);
  14. }
  15. void camera_init(void) {}
  16. void camera_registered_cb(void) {}
  17. void camera_taking_pictures(void) {}
  18. bool camera_recognition_reaction_plate(void) { return false; }