OpenCV学习笔记-opencv介绍

OpenCV(Open source Computer Vision library)开源计算机视觉库。

基于BSD开源

图像处理,计算机视觉

跨平台:Windows,Linux,Moc OS,IOS,Android

编程接口:C, C++, Python, Java, Matlab

编程环境搭建

下载OpenCV3.4.0

https://www.opencv.org/releases.html

点击Win pack下载Windows版本,opencv-3.4.0-vc14_vc15.exe

这里写图片描述

解压到某个目录
这里写图片描述

安装VS2015社区版 (VS2015=vc14)

VS2015社区版官方中文版下载:

http://download.microsoft.com/download/B/4/8/B4870509-05CB-447C-878F-2F80E4CB464C/vs2015.com_chs.iso

VS2015中配置OpenCV

新建一个win32控制台工程,空项目,属性管理器
这里写图片描述

Microsoft.Cpp.x64.user,双击,

包含目录:
这里写图片描述

库目录:
这里写图片描述

工程附加依赖项,Debug: opencv_world340d.lib; Release:opencv_world340.lib

这里写图片描述

工程输出目录修改:

这里写图片描述

这里写图片描述

新添QeC01.cpp

#include <opencv.hpp>

using namespace cv;

int main()
{
Mat imgSrc = imread("e:\\qetang\\Studyopencv\\images\\t.jpg");
imshow("imgsrc", imgSrc);

waitKey(5000);

return 0;
}

将opencv_world340d.dll拷贝到工程输出目录(….\bin\x64\Debug)下

将opencv_world340.dll拷贝到工程输出目录(….\bin\x64\Release)下

运行

OpenCV组成模块

core. Core functionality(核心功能)
imgproc. Image processing(图像处理)
imgcodecs. Image file reading and writing(图像文件读写)
videoio. Video I/O(视频输入输出)
highgui. High-level GUI(高级用户界面)
video. Video Analysis(视频分析)
calib3d. Camera Calibration and 3D Reconstruction(摄像机校准和3D重构 )
features2d. 2D Features Framework
objdetect. Object Detection
dnn. Deep Neural Network module
ml. Machine Learning
flann. Clustering and Search in Multi-Dimensional Spaces
photo. Computational Photography
stitching. Images stitching
cudaarithm. Operations on Matrices
cudabgsegm. Background Segmentation
cudacodec. Video Encoding/Decoding
cudafeatures2d. Feature Detection and Description
cudafilters. Image Filtering
cudaimgproc. Image Processing
cudalegacy. Legacy support
cudaobjdetect. Object Detection
cudaoptflow. Optical Flow
cudastereo. Stereo Correspondence
cudawarping. Image Warping
cudev. Device layer
shape. Shape Distance and Matching
superres. Super Resolution
videostab. Video Stabilization
viz. 3D Visualizer

Extra modules:
aruco. ArUco Marker Detection
bgsegm. Improved Background-Foreground Segmentation Methods
bioinspired. Biologically inspired vision models and derivated tools
ccalib. Custom Calibration Pattern for 3D reconstruction
cnn_3dobj. 3D object recognition and pose estimation API
cvv. GUI for Interactive Visual Debugging of Computer Vision Programs
datasets. Framework for working with different datasets
dnn_modern. Deep Learning Modern Module
dpm. Deformable Part-based Models
face. Face Analysis
freetype. Drawing UTF-8 strings with freetype/harfbuzz
fuzzy. Image processing based on fuzzy mathematics
hdf. Hierarchical Data Format I/O routines
img_hash. The module brings implementations of different image hashing algorithms.
line_descriptor. Binary descriptors for lines extracted from an image
matlab. MATLAB Bridge
optflow. Optical Flow Algorithms
ovis. OGRE 3D Visualiser
phase_unwrapping. Phase Unwrapping API
plot. Plot function for Mat data
reg. Image Registration
rgbd. RGB-Depth Processing
saliency. Saliency API
sfm. Structure From Motion
stereo. Stereo Correspondance Algorithms
structured_light. Structured Light API
surface_matching. Surface Matching
text. Scene Text Detection and Recognition
tracking. Tracking API
xfeatures2d. Extra 2D Features Framework
ximgproc. Extended Image Processing
xobjdetect. Extended object detection
xphoto. Additional photo processing algorithms

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值