OpenCV for Unity 3.0.0
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.12.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.UnityIntegration.MOT.BBox Struct Reference

Public Member Functions

 BBox (float x, float y, float width, float height, float score, int classId=0)
 
 BBox (in Worker.DataStruct.ObjectDetectionData data)
 
 BBox (OpenCVForUnity.CoreModule.Rect rect, float score, int classId=0)
 
 BBox (OpenCVForUnity.CoreModule.Rect2d rect, float score, int classId=0)
 
 BBox (UnityEngine.Rect rect, float score, int classId=0)
 
readonly override string ToString ()
 

Public Attributes

readonly int ClassId
 
readonly float Height
 
readonly float Score
 
readonly float Width
 
readonly float X
 
readonly float Y
 

Static Public Attributes

const int DATA_SIZE = ELEMENT_COUNT * 4
 
const int ELEMENT_COUNT = 6
 

Constructor & Destructor Documentation

◆ BBox() [1/5]

OpenCVForUnity.UnityIntegration.MOT.BBox.BBox ( float x,
float y,
float width,
float height,
float score,
int classId = 0 )

◆ BBox() [2/5]

OpenCVForUnity.UnityIntegration.MOT.BBox.BBox ( UnityEngine.Rect rect,
float score,
int classId = 0 )

◆ BBox() [3/5]

OpenCVForUnity.UnityIntegration.MOT.BBox.BBox ( OpenCVForUnity.CoreModule.Rect rect,
float score,
int classId = 0 )

◆ BBox() [4/5]

OpenCVForUnity.UnityIntegration.MOT.BBox.BBox ( OpenCVForUnity.CoreModule.Rect2d rect,
float score,
int classId = 0 )

◆ BBox() [5/5]

OpenCVForUnity.UnityIntegration.MOT.BBox.BBox ( in Worker.DataStruct.ObjectDetectionData data)

Member Function Documentation

◆ ToString()

readonly override string OpenCVForUnity.UnityIntegration.MOT.BBox.ToString ( )

Member Data Documentation

◆ ClassId

readonly int OpenCVForUnity.UnityIntegration.MOT.BBox.ClassId

◆ DATA_SIZE

const int OpenCVForUnity.UnityIntegration.MOT.BBox.DATA_SIZE = ELEMENT_COUNT * 4
static

◆ ELEMENT_COUNT

const int OpenCVForUnity.UnityIntegration.MOT.BBox.ELEMENT_COUNT = 6
static

◆ Height

readonly float OpenCVForUnity.UnityIntegration.MOT.BBox.Height

◆ Score

readonly float OpenCVForUnity.UnityIntegration.MOT.BBox.Score

◆ Width

readonly float OpenCVForUnity.UnityIntegration.MOT.BBox.Width

◆ X

readonly float OpenCVForUnity.UnityIntegration.MOT.BBox.X

◆ Y

readonly float OpenCVForUnity.UnityIntegration.MOT.BBox.Y

The documentation for this struct was generated from the following file: