Void Sentry
An AI-driven, real-time Sentry Turret platform leveraging asynchronous I/O and computer vision to deliver high-precision autonomous motion tracking on resource-constrained embedded hardware.
Loading...
Searching...
No Matches
camera_task.h File Reference

FreeRTOS task that owns frame capture: driver frame -> checks -> copy into a FrameStore slot -> publish. More...

#include <atomic>
#include <cstdint>
#include "frame_store.h"

Go to the source code of this file.

Classes

struct  CameraTaskStats
 

Functions

bool start_camera_task (FrameStore &store, CameraTaskStats &stats)
 Start the camera task (core 1, priority 4, 4096-byte stack). Call after esp_camera init succeeded.
 

Detailed Description

FreeRTOS task that owns frame capture: driver frame -> checks -> copy into a FrameStore slot -> publish.

Function Documentation

◆ start_camera_task()

bool start_camera_task ( FrameStore & store,
CameraTaskStats & stats )

Start the camera task (core 1, priority 4, 4096-byte stack). Call after esp_camera init succeeded.

Priority 4 is above detection (3): the copy is short and returns the driver buffer.