
CV
opencv官网教程
JunJun~
沉淀~
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
OpenCV4学习笔记1:在Ubuntu上的安装
第一步:安装必要的库sudo apt-get install build-essentialsudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-devsudo apt-get install python-dev python-numpy lib...原创 2018-04-24 12:47:05 · 436 阅读 · 0 评论 -
OpenCV4学习笔记2(Using OpenCV with gcc and CMake)
直接放程序,并不是很难:#include <stdio.h>#include <opencv2/opencv.hpp>using namespace cv;int main(int argc, char** argv ){ if ( argc != 2 ) { printf("usage: DisplayImage.out &l...原创 2018-04-26 20:14:54 · 481 阅读 · 0 评论 -
Video analysis1 (使用背景减除法进行目标检测)
背景减除法是一种广泛应用于运动前景检测的技术。背景减除法通过计算当前帧与背景模型(包含了静态的物体)的差值计算出前景图像,但重点在于如何构建背景模型。背景减除法通常包含了两个主要的步骤:1.背景初始化;2.背景模型的更新;在第一步, an initial model of the background is computed,然后第二步背景模型需要进行不断的更新以适应场景中...原创 2018-06-11 16:46:59 · 1962 阅读 · 0 评论 -
基于OpenCV打开本地视频/本地USB摄像头/网络IP摄像头
前言最近进行各种测试,总结下!预备首先来一张OpenCV关于VideoCapure的介绍,说明很清楚,能够用来读取.avi视频文件,.jpg格式的图片序列,以及网络摄像头。程序程序很简单,不再解释了,用的时候可以根据情况 &&即可。#include <iostream>#include <opencv2/video.hpp>...原创 2019-04-17 19:51:07 · 2746 阅读 · 0 评论 -
Introduction to OpenCV4(Load, Modify, and Save an Image)
直接放程序,如下:#include <opencv2/opencv.hpp>using namespace cv;int main( int argc, char** argv ){ char* imageName = argv[1]; Mat image; image = imread( imageName, IMREAD_COLOR );//三通道彩色图 ...原创 2018-04-26 22:04:15 · 381 阅读 · 0 评论 -
Introduction to OpenCV3(Load and Display an Image)
直接放代码:#include <opencv2/core.hpp>#include <opencv2/imgcodecs.hpp>#include <opencv2/highgui.hpp>#include <iostream>#include <string>using namespace cv;using namespace std;...原创 2018-04-26 21:25:20 · 297 阅读 · 0 评论