diff --git a/main/camera.cpp b/main/camera.cpp index b20dc7a..0bc27de 100644 --- a/main/camera.cpp +++ b/main/camera.cpp @@ -1,17 +1,18 @@ /** * @file camera.cpp * @author Finny (tianjialong0106@163.com) - * @brief + * @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" +#include "light.h" static QueueHandle_t xQueueAIFrame = NULL; static QueueHandle_t xQueueLCDFrame = NULL; @@ -30,6 +31,13 @@ void camera_init(void) {} void camera_registered_cb(void) {} -void camera_taking_pictures(void) {} +void camera_taking_pictures(void) +{ + //打开补光灯 + T_camera_fill_light_set_level(true); + + //关闭补光灯 + T_camera_fill_light_set_level(false); +} bool camera_recognition_reaction_plate(void) { return false; } \ No newline at end of file