AlexeyAB
2017-08-04 52462f2ba6d385054681156853684ce411144836
src/yolo_v2_class.cpp
@@ -102,6 +102,15 @@
#endif
}
YOLODLL_API int Detector::get_net_width() {
   detector_gpu_t &detector_gpu = *reinterpret_cast<detector_gpu_t *>(detector_gpu_ptr.get());
   return detector_gpu.net.w;
}
YOLODLL_API int Detector::get_net_height() {
   detector_gpu_t &detector_gpu = *reinterpret_cast<detector_gpu_t *>(detector_gpu_ptr.get());
   return detector_gpu.net.h;
}
YOLODLL_API std::vector<bbox_t> Detector::detect(std::string image_filename, float thresh)
{