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
inference_image_spec Struct Reference

Model-owned preprocessing; normalized samples are (sample - mean) * scale. More...

#include <inference_image.h>

Data Fields

unsigned width
unsigned height
unsigned channels
enum inference_layout layout
enum inference_units units
enum onnx_element_type type
bool letterbox
bool bgr
float scale [3]
float mean [3]
float padding

Detailed Description

Model-owned preprocessing; normalized samples are (sample - mean) * scale.

Definition at line 45 of file inference_image.h.

Field Documentation

◆ bgr

bool inference_image_spec::bgr

Definition at line 50 of file inference_image.h.

◆ channels

unsigned inference_image_spec::channels

Definition at line 46 of file inference_image.h.

◆ height

unsigned inference_image_spec::height

Definition at line 46 of file inference_image.h.

◆ layout

enum inference_layout inference_image_spec::layout

Definition at line 47 of file inference_image.h.

◆ letterbox

bool inference_image_spec::letterbox

Definition at line 50 of file inference_image.h.

◆ mean

float inference_image_spec::mean[3]

Definition at line 51 of file inference_image.h.

◆ padding

float inference_image_spec::padding

Definition at line 51 of file inference_image.h.

◆ scale

float inference_image_spec::scale[3]

Definition at line 51 of file inference_image.h.

◆ type

enum onnx_element_type inference_image_spec::type

Definition at line 49 of file inference_image.h.

◆ units

enum inference_units inference_image_spec::units

Definition at line 48 of file inference_image.h.

◆ width

unsigned inference_image_spec::width

Definition at line 46 of file inference_image.h.


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