ImgDetections¶
Both YoloDetectionNetwork and MobileNetDetectionNetwork output this message. This message contains a list of detections,
which contains label, confidence, and the bounding box information (xmin, ymin, xmax, ymax).
Examples of functionality¶
Reference¶
-
class
depthai.ImgDetections ImgDetections message. Carries normalized detection results
-
property
detections Detections
-
getData(self: object) → numpy.ndarray[numpy.uint8] - Returns
Reference to internal buffer
-
getRaw(self: depthai.ADatatype) → depthai.RawBuffer
-
setData(*args, **kwargs) Overloaded function.
setData(self: depthai.Buffer, arg0: List[int]) -> None
- Parameter
data: Copies data to internal buffer
setData(self: depthai.Buffer, arg0: numpy.ndarray[numpy.uint8]) -> None
- Parameter
data: Copies data to internal buffer
-
property
-
class
dai::ImgDetections: public dai::Buffer¶ ImgDetections message. Carries normalized detection results
Public Members
-
std::vector<ImgDetection> &
detections¶ Detections.
Private Members
-
RawImgDetections &
dets¶
-
std::vector<ImgDetection> &
Got questions?
We’re always happy to help with code or other questions you might have.