OpenCV
noahbl
学海无涯
展开
-
在线生成包含标定图案的pdf文件
分享一个在线生成标定图案并能下载包含标定图案pdf文件的网址。网址:https://calib.io/pages/camera-calibration-pattern-generator效果:原创 2020-04-07 10:29:36 · 2052 阅读 · 1 评论 -
OpenCV findContours
//修改自https://visualgdb.com/tutorials/raspberry/opencv/camera/#include "opencv2/highgui/highgui.hpp"#include "opencv2/imgproc/imgproc.hpp"#include <ctime>#include <iostream>using nam...转载 2019-07-19 14:38:42 · 1166 阅读 · 0 评论 -
OpenCV image split and merge
#include<opencv2\opencv.hpp>#include<vector>#include<iostream>using namespace cv;using namespace std;int main(){ Mat orig = imread("test.jpg"); if (orig.empty())...原创 2019-07-06 15:00:59 · 193 阅读 · 0 评论 -
Windows 10 使用 cmake 生成解决方案 Visual Studio 2015 编译 x64 版本包含 opencv_contrib 模块的 OpenCV3.4.5 注意事项
1. opencv-3.4.5.zip 和 opencv_contrib-3.4.5.zip,版本要对应2. Windows下cmake中配置OPENCV_EXTRA_MODULES_PATH要注意反斜杠问题原创 2019-06-22 11:43:41 · 221 阅读 · 0 评论 -
OpenCV测试程序_生成随机图像
#include<iostream>#include<opencv2\opencv.hpp>int main(){ cv::Mat img = cv::Mat::zeros(cv::Size(320, 240), CV_8UC1); cv::randu(img, cv::Scalar::all(0), cv::Scalar::all(255));...原创 2019-05-22 22:30:54 · 663 阅读 · 0 评论 -
VS2019_OpenCV410_灵魂出窍简单特效
#include<iostream>#include<opencv2\opencv.hpp>int main(){ cv::Mat frame; cv::Mat keyFrame; cv::Mat result; cv::VideoCapture vCap; //打开摄像头 vCap.open(0); if ...原创 2019-05-26 20:27:56 · 711 阅读 · 0 评论