Closed slmanali closed 6 years ago
No, there is no equivalent function. For the dnns you just call them like normal.
like this for(int i=0;i<detectors.size()-1;i++) { for (auto&& d : detectorsi) { dlib::rect_detection rect; rect.detection_confidence=d.detection_confidence; rect.rect=d.rect; std::string::size_type sz; // alias of size_t rect.weight_index=std::stoi (d.label,&sz); rects.push_back(rect); } }
how to use multi dnn object detectors like in function "std::vector evaluate_detectors"