visual studio
文章平均质量分 79
烟消云撒
中山大学研究生,研究方向计算机视觉、机器学习
展开
-
消除: warning C4996: 'sprintf': This function or variable may be unsafe. Consider 的方法
最简单的可以用的方法: 选项Project | Configuration Properties | C/C++ | Preprocessor | Preprocessor Definitions 添加_CRT_SECURE_NO_DEPRECATE和_SCL_SECURE_NO_DEPRECATE _CRT_SECURE_转载 2015-09-03 17:13:21 · 564 阅读 · 0 评论 -
卡尔曼滤波+opencv 实现人脸跟踪 小demo
#include "opencv2/objdetect/objdetect.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/video/tracking.hpp" #include #include using namespace std;原创 2015-11-21 15:58:22 · 8799 阅读 · 3 评论 -
写一手好的C++代码 ,利用Strategy模式写的
策略设计模式就是将算法封装在类中,比如我们见到的进行一个二值化算法; #include #include #include using namespace cv; using namespace std; class ColorDetector{ private: int minDist; Vec3b target; Mat原创 2015-11-20 17:34:30 · 426 阅读 · 0 评论