Welcome![Sign In][Sign Up]
Location:
Search - opencv H

Search list

[Graph programopencv两个常见的编译错误

Description:

在利用opencv库进行编程中两个常见的问题的解决方法,十分有效!

以openCV的使用为例,并结合个实验经验,总结一下在使用其它库进行编程时VC环境下编译与链接时经常遇到的两个错误的解决办法.

1.编译错误

问题描述:编译时,出现编译如下编译错误:

fatal error C1083: Cannot open include file: 'cv.h': No such file or directory

意思是找不到语句 #include "cv.h" 的cv.h头文件.

解决办法:在工程环境下,Tools->Options->Directories,在页内Show directories for下拉列表框中选择 Include files,然后在Directories列表框中添加上cv.h的路径,
如:D:\OPENCV\CV\INCLUDE,再编译就能找到cv.h头文件了.

2.链接错误

问题描述:链接时出现如下错误:

Linking...

test.obj : error LNK2001: unresolved external symbol _cvCanny

Debug/cvtest.exe : fatal error LNK1120: 1 unresolved externals

解决办法:明明知道cvCanny函数(_cvCanny是纯C编译生成的目标文件的函数名)的原型说明在文件cv.h中,怎么又出现链接错误呢,可能是静态链接库的问题(可能还有其它的原因),
然后有两各解决办法:(1).通过project->Add to project->Files, 将cv.lib加到工程中(2).①Tools->Options->Directories,Show directories for下拉列表框中
选择 Library files,然后在Directories列表框中添加上cv.lib的路径,如:D:\OPENCV\LIB ② project->settings下的LINK属性页下,在Object/Library modules 的文本框中
加上 cv.lib 后,点击确定.此时链接通过.

 

仅为个人的实验经验,有可能不全面或错误.
 


Platform: | Size: 974 | Author: simon112233 | Hits:

[OtherOpencv_zhongwenshouce

Description: Opencv中文手册,介绍Opencv中的各个函数用法,对于学习Opencv的人很有用的-Opencv Chinese brochure that describes the various Opencv function usage, For the study Opencv very useful
Platform: | Size: 410624 | Author: 王彪 | Hits:

[GDI-Bitmapopencv4_Lib

Description: opencv4库文件,可以有效提高图像处理工作者的编程效率。使用时要包含cv.h,ipl.h和highgui.h三个头文件。-opencv4 libraries can effectively improve the image processing workers programming efficiency. Used to contain cv.h, ipl.h and highgui.h three headers.
Platform: | Size: 10214400 | Author: chenxin | Hits:

[Graph programCapture_in_Directshow_Opencv

Description: 这是opencv和directshow之间关于视频采集和转换成opencv能识别的iplimage格式的代码,其中包括了三个程序,ARFrameGrabber.cpp,ARFrameGrabber.h,main.cpp,看好再下吧,在用到有问题可以发信到linaian2005@sina.com.cn-and directshow between Video Capture and convert openc v iplimage can recognize the format of the code, which included a three procedures ARFrameGrabber.cpp, ARFrameGrabber.h. main.cpp hopeful that the next bar, the problem can be used to write linaian2005@sina.com.cn
Platform: | Size: 5120 | Author: 李乃安 | Hits:

[Picture ViewerImageInv

Description: 图象反色程序 要用到OpenCV库中的cv.h和 highgui.h-Anti-color process images to use OpenCV library cv.h and highgui.h
Platform: | Size: 2717696 | Author: Yu Gong | Hits:

[Graph RecognizeIntelligent_Screen_Saver

Description: It is a utility to control screen saver using human face detection. Human face detection is performed using OpenCV Haar-Cascade method. The software is primarily a daemon that resides in your system tray and keeps observing the input from a webcam to analyze if the user is no longer in view. Currently two angles are supported namely frontal pose and profile pose.
Platform: | Size: 98304 | Author: 萧董 | Hits:

[Picture ViewerVideoCap

Description: 用VC,调用VFW.h,实现摄像头的控制和视频捕捉-With VC, call VFW.h, realize camera control and video capture
Platform: | Size: 2083840 | Author: 张生 | Hits:

[Picture Viewertest

Description: C++,OPENCV,LIB,H 謝謝大家~多多包含-C++, OPENCV, LIB, H Thank you ~ lots contain
Platform: | Size: 3260416 | Author: lanis H | Hits:

[Special Effectsopencv1.0

Description: 里边包含OpenCV中文参考手册 OpenCV是Intel® 开源计算机视觉库。它由一系列 C 函数和少量 C++ 类构成,实现了图像处理和计算机视觉方面的很多通用算法。 -Chinese inside OpenCV reference manual contains the OpenCV is Intel ? Open Source Computer Vision Library. It consists of a series of C function and a small amount of C++ Category consists realize the image processing and computer vision aspects of many common algorithms.
Platform: | Size: 20381696 | Author: LiMing | Hits:

[Special Effectsactive-tracking-7-12-05

Description: 关于active tracking的算法了,利用了OPENCV中的camshift的算法-On the active tracking algorithms, and use of OPENCV algorithms camshift
Platform: | Size: 2069504 | Author: 胡刚 | Hits:

[OtherHMMDemo

Description: 人脸检测系统,利用opencv开发的人脸检测程序-Face Detection system, developed using opencv face detection process
Platform: | Size: 208896 | Author: 王仿 | Hits:

[Special Effectsrgbhsi

Description: opencv 读取图片,rgb格式变成 hsv格式图片,提取 h分量后图片,以及h分量的直方图图片。 -opencv read picture, rgb format into a format hsv picture, extraction component h after the picture, as well as the h-component histogram picture.
Platform: | Size: 1967104 | Author: xiaobao89 | Hits:

[Special Effectsopencv

Description: 本翻译是直接根据 OpenCV Beta 4.0 版本的用户手册翻 译的,原文件是: <opencv_directory>/doc/ref/opencvref_cv.htm, 可 以从 SOURCEFORG 上面的 OpenCV 项目下载,也可以直 接从 阿须数码 中下载: http://www.assuredigit.com/incoming/sourcecode/o pencv/chinese_docs/ref/opencvref_cv.htm。 翻译中肯定有不少错误,另外也有些术语和原文语义理 解不透导致翻译不准确或者错误,也请有心人赐教。 图像处理、结构分析、运动分析和对象跟踪部分由 R.Z.LIU 翻译,模式识别、照相机定标与三维重建部分由 H.M.ZHANG 翻译,全文由Y.C.WEI 统一修改校正。-This translation is directly from the OpenCV Beta 4.0 version of the user manual over Translation, the original documents are: <opencv_directory>/doc/ref/opencvref_cv.htm, can be From above SOURCEFORG download OpenCV project can also be directly Then from the Arab-Israeli to be a digital download: http://www.assuredigit.com/incoming/sourcecode/o pencv/chinese_docs/ref/opencvref_cv.htm. Am sure a lot of translation errors, but also some semantic terms and the original rationale Solution does not lead to translation through inaccurate or erroneous, please enlighten people. Image processing, structural analysis, motion analysis and object tracking in part by the RZLIU translation, pattern recognition, camera calibration and three-dimensional reconstruction in part by the HMZHANG translation, the full text of amendments to correction by the YCWEI reunification.
Platform: | Size: 687104 | Author: dugumengyouzi | Hits:

[OpenCVcv-buttons.h

Description: example code for opencv with cv button of phillips webcam
Platform: | Size: 1024 | Author: kabir | Hits:

[Special Effectsopencv-detect

Description: opencv图像处理, 运动视频图像跟踪-Opencv image processing, video motion tracking
Platform: | Size: 12417024 | Author: sonic | Hits:

[OpenCVVideoH264

Description: 通过OPENCV H.264编码YUV视频,进行量化 变换 编码-By OPENCV H.264 encoding YUV video, transform coding to quantify
Platform: | Size: 24068096 | Author: jiangqi | Hits:

[OpenCVopencv-lib-dll-h

Description: opencv的常用dll文件、include头文件、lib库文件,做opencv相关编程的时候需要。-opencv common dll files, include header files, lib library files, do opencv-related programming time required.
Platform: | Size: 11217920 | Author: 王华 | Hits:

[OpenCVOpenCV-code

Description: 《学习opencv中文版》这本书的课后源码。-Code of book《learning opencv<Chinese Vision>》
Platform: | Size: 14937088 | Author: luer | Hits:

[OtherOpenCV入门教程

Description: opencv入门资料,有安装方法等,一系列的东西很有用(h wliad lc spof j hf k q is yougood)
Platform: | Size: 1719296 | Author: yyq | Hits:

[Otheropencv配置

Description: 配置本地的opencv环境,在vs2015中配置具体怎么配置系统环境变量Path参照网上其他资源。其中以盼复开头(H:)shiwo本地路径,附带本地一个小程序(Configuring a local opencv environment)
Platform: | Size: 8112128 | Author: 紫龙123456 | Hits:
« 12 3 4 5 6 »

CodeBus www.codebus.net