OpenShot Library | libopenshot 1.1.1
Loading...
Searching...
No Matches
DetectionData Struct Reference

#include <effects/ObjectDetection.h>

Public Member Functions

 DetectionData ()
 DetectionData (std::vector< int > _classIds, std::vector< float > _confidences, std::vector< cv::Rect_< float > > _boxes, size_t _frameId, std::vector< int > _objectIds, std::vector< openshot::ObjectMaskData > _masks={})

Public Attributes

std::vector< cv::Rect_< float > > boxes
std::vector< int > classIds
std::vector< float > confidences
size_t frameId
std::vector< openshot::ObjectMaskData > masks
std::vector< int > objectIds

Detailed Description

Definition at line 32 of file ObjectDetection.h.

Constructor & Destructor Documentation

◆ DetectionData() [1/2]

DetectionData::DetectionData ( )
inline

Definition at line 33 of file ObjectDetection.h.

◆ DetectionData() [2/2]

DetectionData::DetectionData ( std::vector< int > _classIds,
std::vector< float > _confidences,
std::vector< cv::Rect_< float > > _boxes,
size_t _frameId,
std::vector< int > _objectIds,
std::vector< openshot::ObjectMaskData > _masks = {} )
inline

Definition at line 34 of file ObjectDetection.h.

Member Data Documentation

◆ boxes

std::vector<cv::Rect_<float> > DetectionData::boxes

◆ classIds

◆ confidences

std::vector<float> DetectionData::confidences

◆ frameId

size_t DetectionData::frameId

Definition at line 49 of file ObjectDetection.h.

◆ masks

std::vector<openshot::ObjectMaskData> DetectionData::masks

Definition at line 54 of file ObjectDetection.h.

◆ objectIds


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