Bounding box data for multi-object tracking.
More...
|
| | BBox (CoreModule.Rect rect, float score, int classId=0) |
| | Initializes a new bounding box from an OpenCV Rect.
|
| |
| | BBox (CoreModule.Rect2d rect, float score, int classId=0) |
| | Initializes a new bounding box from an OpenCV Rect2d.
|
| |
| | BBox (float x, float y, float width, float height, float score, int classId=0) |
| | Initializes a new bounding box with explicit coordinates and metadata.
|
| |
| | BBox (in Worker.DataStruct.ObjectDetectionData data) |
| | Initializes a new bounding box from object detection data.
|
| |
| | BBox (Rect rect, float score, int classId=0) |
| | Initializes a new bounding box from a Unity Rect.
|
| |
| override readonly string | ToString () |
| | Returns a string representation of the bounding box.
|
| |
Bounding box data for multi-object tracking.
◆ BBox() [1/5]
| OpenCVForUnity.Extensions.MOT.BBox.BBox |
( |
float | x, |
|
|
float | y, |
|
|
float | width, |
|
|
float | height, |
|
|
float | score, |
|
|
int | classId = 0 ) |
Initializes a new bounding box with explicit coordinates and metadata.
- Parameters
-
| x | Left coordinate. |
| y | Top coordinate. |
| width | Box width. |
| height | Box height. |
| score | Detection confidence score. |
| classId | Class identifier. |
◆ BBox() [2/5]
| OpenCVForUnity.Extensions.MOT.BBox.BBox |
( |
CoreModule.Rect | rect, |
|
|
float | score, |
|
|
int | classId = 0 ) |
Initializes a new bounding box from an OpenCV Rect.
- Parameters
-
| rect | Source rectangle. |
| score | Detection confidence score. |
| classId | Class identifier. |
◆ BBox() [3/5]
| OpenCVForUnity.Extensions.MOT.BBox.BBox |
( |
CoreModule.Rect2d | rect, |
|
|
float | score, |
|
|
int | classId = 0 ) |
Initializes a new bounding box from an OpenCV Rect2d.
- Parameters
-
| rect | Source rectangle. |
| score | Detection confidence score. |
| classId | Class identifier. |
◆ BBox() [4/5]
Initializes a new bounding box from object detection data.
- Parameters
-
| data | Object detection result. |
◆ BBox() [5/5]
| OpenCVForUnity.Extensions.MOT.BBox.BBox |
( |
Rect | rect, |
|
|
float | score, |
|
|
int | classId = 0 ) |
Initializes a new bounding box from a Unity Rect.
- Parameters
-
| rect | Source rectangle. |
| score | Detection confidence score. |
| classId | Class identifier. |
◆ ToString()
| override readonly string OpenCVForUnity.Extensions.MOT.BBox.ToString |
( |
| ) |
|
Returns a string representation of the bounding box.
◆ ClassId
| readonly int OpenCVForUnity.Extensions.MOT.BBox.ClassId |
◆ DATA_SIZE
| const int OpenCVForUnity.Extensions.MOT.BBox.DATA_SIZE = ELEMENT_COUNT * 4 |
|
static |
◆ ELEMENT_COUNT
| const int OpenCVForUnity.Extensions.MOT.BBox.ELEMENT_COUNT = 6 |
|
static |
◆ Height
| readonly float OpenCVForUnity.Extensions.MOT.BBox.Height |
◆ Score
| readonly float OpenCVForUnity.Extensions.MOT.BBox.Score |
◆ Width
| readonly float OpenCVForUnity.Extensions.MOT.BBox.Width |
| readonly float OpenCVForUnity.Extensions.MOT.BBox.X |
| readonly float OpenCVForUnity.Extensions.MOT.BBox.Y |
The documentation for this struct was generated from the following files:
- OpenCVForUnity/Assets/OpenCVForUnity/Scripts/Extensions/MOT/BBox.cs
- OpenCVForUnity/Assets/OpenCVForUnity/Scripts/UnityIntegration/MOT/BBox_Integration.cs