PreprocessMetaTemplate Struct
Preprocess metadata template attached to ingress buffers. More...
Declaration
Included Headers
Public Member Attributes Index
| bool | enabled = false |
|
If false, no preprocess metadata is emitted. More... | |
| int | target_width = 0 |
| int | target_height = 0 |
| int | scaled_width = 0 |
|
Width of the scaled content within the target frame. More... | |
| int | scaled_height = 0 |
|
Height of the scaled content within the target frame. More... | |
| std::string | resize_mode = "none" |
|
Resize/letterbox strategy label (none, fit, etc.). More... | |
| int | pad_value = 0 |
|
Pad fill value used by letterboxing. More... | |
| std::string | color_in |
| std::string | color_out |
| std::vector< int > | axis_perm |
|
Axis permutation applied by preprocess layout_convert, if any. More... | |
| bool | normalize = false |
|
True if preprocess applies normalization. More... | |
| bool | quantize = false |
|
True if preprocess applies quantization. More... | |
| bool | tessellate = false |
|
True if preprocess applies tessellation. More... | |
| bool | roi_list_enabled = false |
|
True when runtime ROI-list metadata is emitted. More... | |
| std::vector< PreprocessRoi > | rois |
|
Runtime ROI windows in output-slot order. More... | |
| int | roi_input_batch_size = 0 |
|
Number of source images available to ROI batch indices. More... | |
| int | roi_source_width = 0 |
|
Source image width for runtime ROI extraction. More... | |
| int | roi_source_height = 0 |
|
Source image height for runtime ROI extraction. More... | |
| int | roi_source_stride_bytes = 0 |
|
Source row stride in bytes for runtime ROI extraction. More... | |
| int | roi_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
|
Axis permutation applied by preprocess layout_convert, if any.
Definition at line 50 of file Input.h.
color_in
|
color_out
|
enabled
|
If false, no preprocess metadata is emitted.
Definition at line 39 of file Input.h.
normalize
|
True if preprocess applies normalization.
Definition at line 52 of file Input.h.
pad_value
|
Pad fill value used by letterboxing.
Definition at line 45 of file Input.h.
quantize
|
True if preprocess applies quantization.
Definition at line 53 of file Input.h.
resize_mode
|
Resize/letterbox strategy label (none, fit, etc.).
Definition at line 44 of file Input.h.
roi_input_batch_size
|
Number of source images available to ROI batch indices.
Definition at line 58 of file Input.h.
roi_list_enabled
|
True when runtime ROI-list metadata is emitted.
Definition at line 56 of file Input.h.
roi_pad_value
|
Pad value used for out-of-frame ROI pixels.
Definition at line 62 of file Input.h.
roi_source_height
|
Source image height for runtime ROI extraction.
Definition at line 60 of file Input.h.
roi_source_stride_bytes
|
Source row stride in bytes for runtime ROI extraction.
Definition at line 61 of file Input.h.
roi_source_width
|
Source image width for runtime ROI extraction.
Definition at line 59 of file Input.h.
rois
|
Runtime ROI windows in output-slot order.
Definition at line 57 of file Input.h.
scaled_height
|
Height of the scaled content within the target frame.
Definition at line 43 of file Input.h.
scaled_width
|
Width of the scaled content within the target frame.
Definition at line 42 of file Input.h.
target_height
|
target_width
|
tessellate
|
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.