ResizeSpec Struct
Resize / letterbox / crop parameters. More...
Declaration
struct simaai::neat::ResizeSpec { ... }
Included Headers
#include <PreprocessPlan.h>
Public Member Attributes Index
| AutoFlag | enable = AutoFlag::Auto |
|
On/off/auto. More... | |
| int | width = 0 |
|
Target width (px). 0 = inferred from contract. More... | |
| int | height = 0 |
|
Target height (px). 0 = inferred from contract. More... | |
| ResizeMode | mode = ResizeMode::Letterbox |
|
How to handle aspect-ratio mismatch. More... | |
| int | pad_value = 114 |
|
Pad fill value when mode == Letterbox (default 114, YOLO convention). More... | |
| std::string | scaling_type = "BILINEAR" |
|
Sampler kind: "BILINEAR", "NEAREST", etc. More... | |
Description
Resize / letterbox / crop parameters.
Definition at line 97 of file PreprocessPlan.h.
Public Member Attributes
enable
|
On/off/auto.
Definition at line 98 of file PreprocessPlan.h.
height
|
Target height (px). 0 = inferred from contract.
Definition at line 100 of file PreprocessPlan.h.