Exact resized content rectangle, including rounded letterbox offsets. More...
#include <inference_image.h>
Data Fields | |
| unsigned | source_width |
| unsigned | source_height |
| unsigned | input_width |
| unsigned | input_height |
| unsigned | content_width |
| unsigned | content_height |
| unsigned | left |
| unsigned | top |
Detailed Description
Exact resized content rectangle, including rounded letterbox offsets.
Definition at line 55 of file inference_image.h.
Field Documentation
◆ content_height
| unsigned inference_image_transform::content_height |
Definition at line 57 of file inference_image.h.
◆ content_width
| unsigned inference_image_transform::content_width |
Definition at line 57 of file inference_image.h.
◆ input_height
| unsigned inference_image_transform::input_height |
Definition at line 56 of file inference_image.h.
◆ input_width
| unsigned inference_image_transform::input_width |
Definition at line 56 of file inference_image.h.
◆ left
| unsigned inference_image_transform::left |
Definition at line 57 of file inference_image.h.
◆ source_height
| unsigned inference_image_transform::source_height |
Definition at line 56 of file inference_image.h.
◆ source_width
| unsigned inference_image_transform::source_width |
Definition at line 56 of file inference_image.h.
◆ top
| unsigned inference_image_transform::top |
Definition at line 57 of file inference_image.h.
The documentation for this struct was generated from the following file: