Loading...
Searching...
No Matches
spotter_cam_pipe.h
Go to the documentation of this file.
56bool spotter_cam_pipe_read_detections(const char *filename, struct spotter_detections *detections);
105 * NULL/empty; safe to call unconditionally, mirroring spotter_cam_pipe_last_detection_summary(). */
107/** @brief Select the detector assignment before either capture or saved-picture analysis starts.
111/** @brief Analyze a saved simulation/private picture and bind results to its source hash and request.
114 * @return Zero when disabled or a matching result is accepted, minus one with retained detections cleared.
static bool enabled(void)
Report explicit opt-in independently of process or model readiness.
Definition dipla_camera_backend.c:75
void spotter_cam_pipe_deinit(void)
Stop the native camera process and clear detector-specific configuration.
Definition spotter_cam_pipe.c:532
bool spotter_cam_pipe_photo_only(void)
Report whether capture was configured without analysis.
Definition spotter_cam_pipe.c:126
void spotter_cam_pipe_last_detection_summary(char *buffer, size_t buffer_size)
Format the most recent shot's detection result for EXIF writing.
Definition spotter_cam_pipe.c:374
void spotter_cam_pipe_save_detection_copy(const char *filename)
Copy filename into a "detections" subdirectory of the photo directory if the last spotter_cam_pipe_sh...
Definition spotter_cam_pipe.c:459
int spotter_cam_pipe_set_settings(const char *settings)
Select the detector assignment before either capture or saved-picture analysis starts.
Definition spotter_cam_pipe.c:539
void spotter_cam_pipe_configure(const struct camera_backend_host *host)
Borrow USHER's shutdown flag for both serialized native worker owners.
Definition spotter_cam_pipe.c:110
int spotter_cam_pipe_shoot(char *filename, size_t filename_size, int image_number)
Request one JPEG and, when enabled, parse its matching detection sidecar.
Definition spotter_cam_pipe.c:510
bool spotter_cam_pipe_bind_frame(uint64_t sequence, uint64_t sensor_timestamp_ns)
Reject a detection result whose identity differs from the validated saved frame.
Definition spotter_cam_pipe.c:351
bool spotter_cam_pipe_read_detections(const char *filename, struct spotter_detections *detections)
Read the full detector result associated with a JPEG.
Definition spotter_cam_pipe.c:345
int spotter_cam_pipe_analyze(const char *filename, unsigned number)
Analyze a saved simulation/private picture and bind results to its source hash and request.
Definition spotter_cam_pipe.c:546
int spotter_cam_pipe_init(const char *unused)
Start and qualify native persistent capture with the selected analysis policy.
Definition spotter_cam_pipe.c:496
void spotter_cam_pipe_set_photo_directory(const char *directory)
Set the borrowed output directory before backend initialization.
Definition spotter_cam_pipe.c:367
int spotter_cam_pipe_set_photo_only(bool enabled)
Select or inspect the model-free capture mode before worker startup.
Definition spotter_cam_pipe.c:116
Definition camera_backend.h:79
Definition spotter_cam_pipe.h:40
Definition spotter_cam_pipe.h:48
struct spotter_detection objects[SPOTTER_MAX_DETECTIONS]
Definition spotter_cam_pipe.h:53