Illustrated C/C++ source sheets, symbol index, API relationship graph, compiler console and debug trace

LIVE AI / FLEXIBLE SENSING / FLIGHT CONTEXT

Sensoraia API

Live AI and sensing, connected to the flight.
See, listen, inspect and return supported results while airborne.

Loading...
Searching...
No Matches
capture_options Struct Reference

Effective run policy: INI settings first, then command-line overrides. More...

Collaboration diagram for capture_options:

Data Fields

const char * output
const char * raw
const char * serial
const char * device_path
const char * record_raw
const char * gain_label
const char * corrections
const char * replay_serial
const char * config
const char * calibration
const char * geolocate_input
const char * mock_input
bool mock_layer_only
unsigned width
unsigned height
unsigned warmup_ms
unsigned timeout_ms
bool report_stats
bool scene_check
bool settle
bool device_state
bool control_selected
bool control_read
struct lwir_control_request control
bool server
bool capture_requested
bool warmup_only
bool native_raw
bool warn_percent_set
bool jpeg_quality_selected
unsigned warn_percent
struct lwir_measurement measurement
struct lwir_thresholds thresholds
struct lwir_render_options render
enum lwir_frame_layout layout
const char * inference_input
bool check_model
double score_threshold
unsigned class_index

Detailed Description

Effective run policy: INI settings first, then command-line overrides.

String members point either into argv or into the static configured_* buffers, so they stay valid for the whole process lifetime.

Definition at line 106 of file lwir_capture.c.

Field Documentation

◆ calibration

const char* capture_options::calibration

Geolocation calibration file (analysis builds).

Definition at line 116 of file lwir_capture.c.

◆ capture_requested

bool capture_options::capture_requested

Explicit --capture; only valid together with an output.

Definition at line 132 of file lwir_capture.c.

◆ check_model

bool capture_options::check_model

Definition at line 143 of file lwir_capture.c.

◆ class_index

unsigned capture_options::class_index

Definition at line 145 of file lwir_capture.c.

◆ config

const char* capture_options::config

Settings INI path, loaded before argument parsing.

Definition at line 115 of file lwir_capture.c.

◆ control

struct lwir_control_request capture_options::control

Definition at line 130 of file lwir_capture.c.

◆ control_read

bool capture_options::control_read

The selected control is --get-control rather than a write/trigger.

Definition at line 129 of file lwir_capture.c.

◆ control_selected

bool capture_options::control_selected

A standalone control was requested; excludes every capture mode.

Definition at line 128 of file lwir_capture.c.

◆ corrections

const char* capture_options::corrections

Correction profile path; must match serial/gain label/geometry.

Definition at line 113 of file lwir_capture.c.

◆ device_path

const char* capture_options::device_path

Explicit /dev/... node; V4L2 builds only.

Definition at line 110 of file lwir_capture.c.

◆ device_state

bool capture_options::device_state

Opt-in read-only state query after the frame.

Definition at line 127 of file lwir_capture.c.

◆ gain_label

const char* capture_options::gain_label

Metadata label matched against the correction profile; physical gain is --set-gain.

Definition at line 112 of file lwir_capture.c.

◆ geolocate_input

const char* capture_options::geolocate_input

JPEG to geolocate offline (analysis builds).

Definition at line 117 of file lwir_capture.c.

◆ height

unsigned capture_options::height

Plane height, not the doubled UVC height of combined frames.

Definition at line 121 of file lwir_capture.c.

◆ inference_input

const char* capture_options::inference_input

Definition at line 142 of file lwir_capture.c.

◆ jpeg_quality_selected

bool capture_options::jpeg_quality_selected

Rejects a repeated --jpeg-quality; INI may still set the base value.

Definition at line 136 of file lwir_capture.c.

◆ layout

enum lwir_frame_layout capture_options::layout

Filled from the opened device; image-only cameras halve the frame size.

Definition at line 141 of file lwir_capture.c.

◆ measurement

struct lwir_measurement capture_options::measurement

Definition at line 138 of file lwir_capture.c.

◆ mock_input

const char* capture_options::mock_input

Mock source image (mock builds).

Definition at line 118 of file lwir_capture.c.

◆ mock_layer_only

bool capture_options::mock_layer_only

--mock-layer: update the input in place, no separate output.

Definition at line 119 of file lwir_capture.c.

◆ native_raw

bool capture_options::native_raw

Derive the raw companion as OUTPUT.raw.

Definition at line 134 of file lwir_capture.c.

◆ output

const char* capture_options::output

Final JPEG path; rewritten per request in server mode.

Definition at line 107 of file lwir_capture.c.

◆ raw

const char* capture_options::raw

Replay input frame (--raw); selects replay instead of the camera.

Definition at line 108 of file lwir_capture.c.

◆ record_raw

const char* capture_options::record_raw

Raw companion path; explicit or derived OUTPUT.raw from native_raw.

Definition at line 111 of file lwir_capture.c.

◆ render

struct lwir_render_options capture_options::render

Definition at line 140 of file lwir_capture.c.

◆ replay_serial

const char* capture_options::replay_serial

Serial recorded in replay evidence; replay only.

Definition at line 114 of file lwir_capture.c.

◆ report_stats

bool capture_options::report_stats

Print statistics; implied by measurements and thresholds.

Definition at line 124 of file lwir_capture.c.

◆ scene_check

bool capture_options::scene_check

Definition at line 125 of file lwir_capture.c.

◆ score_threshold

double capture_options::score_threshold

Definition at line 144 of file lwir_capture.c.

◆ serial

const char* capture_options::serial

Camera serial to select; must be < 64 bytes.

Definition at line 109 of file lwir_capture.c.

◆ server

bool capture_options::server

Definition at line 131 of file lwir_capture.c.

◆ settle

bool capture_options::settle

Definition at line 126 of file lwir_capture.c.

◆ thresholds

struct lwir_thresholds capture_options::thresholds

Definition at line 139 of file lwir_capture.c.

◆ timeout_ms

unsigned capture_options::timeout_ms

Supervisor deadline, server watchdog and idle-frame timeout.

Definition at line 123 of file lwir_capture.c.

◆ warmup_ms

unsigned capture_options::warmup_ms

Startup qualification time; forced to 0 for controls and server requests.

Definition at line 122 of file lwir_capture.c.

◆ warmup_only

bool capture_options::warmup_only

--warmup: qualify the camera once, publish nothing.

Definition at line 133 of file lwir_capture.c.

◆ warn_percent

unsigned capture_options::warn_percent

Definition at line 137 of file lwir_capture.c.

◆ warn_percent_set

bool capture_options::warn_percent_set

Distinguishes an explicit --warn-percent from the default of 1.

Definition at line 135 of file lwir_capture.c.

◆ width

unsigned capture_options::width

Image/temperature plane width; 0 = negotiate with the camera.

Definition at line 120 of file lwir_capture.c.


The documentation for this struct was generated from the following file: