23 bool open(yarp::os::Searchable & config)
override;
24 bool detect(
const yarp::sig::Image & inYarpImg, yarp::os::Bottle & detectedObjects)
override;
28 std::vector<std::string> classes;
29 std::vector<std::string> outNames;
33 void preprocess(
const cv::Mat & frame);
34 void postprocess(
const cv::Size & size,
const std::vector<cv::Mat> & outs, yarp::os::Bottle & detectedObjects);