vision
Public Member Functions | Private Member Functions | Private Attributes | List of all members
roboticslab::DnnDetector Class Reference
Inheritance diagram for roboticslab::DnnDetector:
roboticslab::IDetector

Public Member Functions

bool open (yarp::os::Searchable &config) override
 
bool detect (const yarp::sig::Image &inYarpImg, yarp::os::Bottle &detectedObjects) override
 

Private Member Functions

void preprocess (const cv::Mat &frame)
 
void postprocess (const cv::Size &size, const std::vector< cv::Mat > &outs, yarp::os::Bottle &detectedObjects)
 

Private Attributes

cv::dnn::Net net
 
std::vector< std::string > classes
 
std::vector< std::string > outNames
 
float confThreshold
 
float nmsThreshold
 
float scale
 
cv::Scalar mean
 

The documentation for this class was generated from the following files: