AlexeyAB
2017-09-14 e8dd9dd877a3cf370ed78a9b3a78935e9f994f28
src/yolo_v2_class.cpp
@@ -109,11 +109,11 @@
#endif
}
YOLODLL_API int Detector::get_net_width() {
YOLODLL_API int Detector::get_net_width() const {
   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() {
YOLODLL_API int Detector::get_net_height() const {
   detector_gpu_t &detector_gpu = *reinterpret_cast<detector_gpu_t *>(detector_gpu_ptr.get());
   return detector_gpu.net.h;
}