Skip to main content

PreprocessMetaTemplate Struct

Preprocess metadata template attached to ingress buffers. More...

Declaration

struct simaai::neat::PreprocessMetaTemplate { ... }

Included Headers

#include <Input.h>

Public Member Attributes Index

boolenabled = false

If false, no preprocess metadata is emitted. More...

inttarget_width = 0

Model input width, in pixels. More...

inttarget_height = 0

Model input height, in pixels. More...

intscaled_width = 0

Width of the scaled content within the target frame. More...

intscaled_height = 0

Height of the scaled content within the target frame. More...

std::stringresize_mode = "none"

Resize/letterbox strategy label (none, fit, etc.). More...

intpad_value = 0

Pad fill value used by letterboxing. More...

std::stringcolor_in

Input color space label (e.g. RGB, BGR). More...

std::stringcolor_out

Output color space label after preprocess. More...

std::vector< int >axis_perm

Axis permutation applied by preprocess layout_convert, if any. More...

boolnormalize = false

True if preprocess applies normalization. More...

boolquantize = false

True if preprocess applies quantization. More...

booltessellate = false

True if preprocess applies tessellation. More...

boolroi_list_enabled = false

True when runtime ROI-list metadata is emitted. More...

std::vector< PreprocessRoi >rois

Runtime ROI windows in output-slot order. More...

introi_input_batch_size = 0

Number of source images available to ROI batch indices. More...

introi_source_width = 0

Source image width for runtime ROI extraction. More...

introi_source_height = 0

Source image height for runtime ROI extraction. More...

introi_source_stride_bytes = 0

Source row stride in bytes for runtime ROI extraction. More...

introi_pad_value = 0

Pad value used for out-of-frame ROI pixels. More...

Description

Preprocess metadata template attached to ingress buffers.

Annotates GstSimaMeta with affine/geometry context so downstream plugins (e.g. detection-box decoders) can map model outputs back to original frame coordinates.

Definition at line 38 of file Input.h.

Public Member Attributes

axis_perm

std::vector<int> simaai::neat::PreprocessMetaTemplate::axis_perm

Axis permutation applied by preprocess layout_convert, if any.

Definition at line 50 of file Input.h.

color_in

std::string simaai::neat::PreprocessMetaTemplate::color_in

Input color space label (e.g. RGB, BGR).

Definition at line 47 of file Input.h.

color_out

std::string simaai::neat::PreprocessMetaTemplate::color_out

Output color space label after preprocess.

Definition at line 48 of file Input.h.

enabled

bool simaai::neat::PreprocessMetaTemplate::enabled = false

If false, no preprocess metadata is emitted.

Definition at line 39 of file Input.h.

normalize

bool simaai::neat::PreprocessMetaTemplate::normalize = false

True if preprocess applies normalization.

Definition at line 52 of file Input.h.

pad_value

int simaai::neat::PreprocessMetaTemplate::pad_value = 0

Pad fill value used by letterboxing.

Definition at line 45 of file Input.h.

quantize

bool simaai::neat::PreprocessMetaTemplate::quantize = false

True if preprocess applies quantization.

Definition at line 53 of file Input.h.

resize_mode

std::string simaai::neat::PreprocessMetaTemplate::resize_mode = "none"

Resize/letterbox strategy label (none, fit, etc.).

Definition at line 44 of file Input.h.

roi_input_batch_size

int simaai::neat::PreprocessMetaTemplate::roi_input_batch_size = 0

Number of source images available to ROI batch indices.

Definition at line 58 of file Input.h.

roi_list_enabled

bool simaai::neat::PreprocessMetaTemplate::roi_list_enabled = false

True when runtime ROI-list metadata is emitted.

Definition at line 56 of file Input.h.

roi_pad_value

int simaai::neat::PreprocessMetaTemplate::roi_pad_value = 0

Pad value used for out-of-frame ROI pixels.

Definition at line 62 of file Input.h.

roi_source_height

int simaai::neat::PreprocessMetaTemplate::roi_source_height = 0

Source image height for runtime ROI extraction.

Definition at line 60 of file Input.h.

roi_source_stride_bytes

int simaai::neat::PreprocessMetaTemplate::roi_source_stride_bytes = 0

Source row stride in bytes for runtime ROI extraction.

Definition at line 61 of file Input.h.

roi_source_width

int simaai::neat::PreprocessMetaTemplate::roi_source_width = 0

Source image width for runtime ROI extraction.

Definition at line 59 of file Input.h.

rois

std::vector<PreprocessRoi> simaai::neat::PreprocessMetaTemplate::rois

Runtime ROI windows in output-slot order.

Definition at line 57 of file Input.h.

scaled_height

int simaai::neat::PreprocessMetaTemplate::scaled_height = 0

Height of the scaled content within the target frame.

Definition at line 43 of file Input.h.

scaled_width

int simaai::neat::PreprocessMetaTemplate::scaled_width = 0

Width of the scaled content within the target frame.

Definition at line 42 of file Input.h.

target_height

int simaai::neat::PreprocessMetaTemplate::target_height = 0

Model input height, in pixels.

Definition at line 41 of file Input.h.

target_width

int simaai::neat::PreprocessMetaTemplate::target_width = 0

Model input width, in pixels.

Definition at line 40 of file Input.h.

tessellate

bool simaai::neat::PreprocessMetaTemplate::tessellate = false

True if preprocess applies tessellation.

Definition at line 54 of file Input.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.