all: $(foreach build,$(BUILDS),build-$(build)/kcf_vot)
+CMAKE_OPTS = -DVISULIZE_RESULT=ON
+
CMAKE_OTPS_opencvfft-st =
CMAKE_OTPS_opencvfft-async = -DASYNC=ON
CMAKE_OTPS_opencv-cufft = -DOPENCV_CUFFT=ON
build-%/kcf_vot: $(shell git ls-files)
mkdir -p $(@D)
- cd $(@D) && cmake $(CMAKE_OTPS_$*) ..
+ cd $(@D) && cmake $(CMAKE_OPTS) $(CMAKE_OTPS_$*) ..
cmake --build $(@D)
clean:
#ifdef VISULIZE_RESULT
cv::rectangle(image, cv::Rect(bb.cx - bb.w/2., bb.cy - bb.h/2., bb.w, bb.h), CV_RGB(0,255,0), 2);
cv::imshow("output", image);
- cv::waitKey();
+ cv::waitKey(10);
#endif //VISULIZE
// std::stringstream s;