Serialized saved-LWIR object analysis with immutable frame and exposure evidence. More...


Go to the source code of this file.
Functions | |
| bool | lwir_spotter_settings (const char *settings) |
| Select a separate ONNX detector assignment. | |
| bool | lwir_spotter_profile (const char *profile) |
| Load a native LWIR intrinsics and mount profile. | |
| bool | lwir_spotter_limits (const char *limits) |
| Set the timing and pose uncertainty limits for projection. | |
| bool | lwir_spotter_enabled (void) |
| Test whether saved-LWIR analysis was explicitly selected. | |
| int | lwir_spotter_analyze (const char *filename, const union dc_shot_union *shot, const struct capture_timing *timing, const volatile sig_atomic_t *running) |
| Analyse one immutable image with copied capture evidence; no camera is acquired. | |
| void | lwir_spotter_stop (void) |
| Stop the exclusively owned model worker. | |
Detailed Description
Serialized saved-LWIR object analysis with immutable frame and exposure evidence.
Definition in file lwir_spotter.h.
Function Documentation
◆ lwir_spotter_analyze()
| int lwir_spotter_analyze | ( | const char * | filename, |
| const union dc_shot_union * | shot, | ||
| const struct capture_timing * | timing, | ||
| const volatile sig_atomic_t * | running ) |
Analyse one immutable image with copied capture evidence; no camera is acquired.
Caller serializes calls. Geographic results require qualified exposure timing and pose; an unavailable position never invalidates a good image result.
- Parameters
-
filename Path to the published LWIR JPEG with embedded thermal evidence. shot Capture trigger carrying the photo number. timing Frame delivery and optional exposure/pose evidence for this image. running Cancellation flag passed to the subprocess wrapper.
- Returns
- Zero for disabled or successful analysis, minus one on failure.
Definition at line 118 of file lwir_spotter.c.
◆ lwir_spotter_enabled()
| bool lwir_spotter_enabled | ( | void | ) |
Test whether saved-LWIR analysis was explicitly selected.
- Returns
- True if a settings path has been selected.
This reports configuration, not worker readiness or model validity.
Definition at line 91 of file lwir_spotter.c.
◆ lwir_spotter_limits()
| bool lwir_spotter_limits | ( | const char * | limits | ) |
Set the timing and pose uncertainty limits for projection.
- Parameters
-
limits Comma-separated maximum exposure interval in microseconds and maximum pose uncertainty in metres.
- Returns
- True if both positive bounds were accepted.
Apply both limits together after parsing, before the worker starts. They constrain geographic estimates, not pixel-space detection.
Definition at line 74 of file lwir_spotter.c.
◆ lwir_spotter_profile()
| bool lwir_spotter_profile | ( | const char * | profile | ) |
Load a native LWIR intrinsics and mount profile.
- Parameters
-
profile Path of the camera profile to read.
- Returns
- True if an LWIR profile with 256 by 192 calibration was loaded.
Validate a candidate before replacing the current profile. A profile cannot be replaced while the analysis worker is live.
Definition at line 63 of file lwir_spotter.c.
◆ lwir_spotter_settings()
| bool lwir_spotter_settings | ( | const char * | settings | ) |
Select a separate ONNX detector assignment.
- Parameters
-
settings Borrowed settings path; keep it valid while analysis is enabled.
- Returns
- True if the path was accepted; false for an empty path or a live worker.
Store the selection without starting a worker. The first analysis request loads the assignment.
Definition at line 56 of file lwir_spotter.c.
◆ lwir_spotter_stop()
| void lwir_spotter_stop | ( | void | ) |
Stop the exclusively owned model worker.
Call after the analysis owner has joined. Stopping the process does not clear the selected settings.
Definition at line 96 of file lwir_spotter.c.