Box Struct
One axis-aligned detection produced by BoxDecode. More...
Declaration
Included Headers
Public Member Attributes Index
| float | x1 = 0.0f |
|
Top-left corner X, in pixels. More... | |
| float | y1 = 0.0f |
|
Top-left corner Y, in pixels. More... | |
| float | x2 = 0.0f |
|
Bottom-right corner X, in pixels. More... | |
| float | y2 = 0.0f |
|
Bottom-right corner Y, in pixels. More... | |
| float | score = 0.0f |
|
Class confidence in [0, 1]. More... | |
| int | class_id = -1 |
|
Predicted class index; -1 means unset. More... | |
Description
One axis-aligned detection produced by BoxDecode.
Coordinates are in the decoded image's pixel space (integer pixel units stored as float). class_id == -1 is the unset sentinel; valid detections always carry a non-negative class id.
- See Also
Definition at line 35 of file DetectionTypes.h.
Public Member Attributes
class_id
|
Predicted class index; -1 means unset.
Definition at line 41 of file DetectionTypes.h.
score
|
x1
|
x2
|
Bottom-right corner X, in pixels.
Definition at line 38 of file DetectionTypes.h.
y1
|
y2
|
Bottom-right corner Y, in pixels.
Definition at line 39 of file DetectionTypes.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.