Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - Opencv H
Search - Opencv H - List

在利用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 后,点击确定.此时链接通过.

 

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


Update : 2008-12-04 Size : 974byte Publisher : simon112233

Opencv中文手册,介绍Opencv中的各个函数用法,对于学习Opencv的人很有用的-Opencv Chinese brochure that describes the various Opencv function usage, For the study Opencv very useful
Update : 2025-02-17 Size : 401kb Publisher : 王彪

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.
Update : 2025-02-17 Size : 9.74mb Publisher : chenxin

这是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
Update : 2025-02-17 Size : 5kb Publisher : 李乃安

图象反色程序 要用到OpenCV库中的cv.h和 highgui.h-Anti-color process images to use OpenCV library cv.h and highgui.h
Update : 2025-02-17 Size : 2.59mb Publisher : Yu Gong

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.
Update : 2025-02-17 Size : 96kb Publisher : 萧董

用VC,调用VFW.h,实现摄像头的控制和视频捕捉-With VC, call VFW.h, realize camera control and video capture
Update : 2025-02-17 Size : 1.99mb Publisher : 张生

C++,OPENCV,LIB,H 謝謝大家~多多包含-C++, OPENCV, LIB, H Thank you ~ lots contain
Update : 2025-02-17 Size : 3.11mb Publisher : lanis H

里边包含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.
Update : 2025-02-17 Size : 19.44mb Publisher : LiMing

关于active tracking的算法了,利用了OPENCV中的camshift的算法-On the active tracking algorithms, and use of OPENCV algorithms camshift
Update : 2025-02-17 Size : 1.97mb Publisher : 胡刚

DL : 0
人脸检测系统,利用opencv开发的人脸检测程序-Face Detection system, developed using opencv face detection process
Update : 2025-02-17 Size : 204kb Publisher : 王仿

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.
Update : 2025-02-17 Size : 1.88mb Publisher : xiaobao89

本翻译是直接根据 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.
Update : 2025-02-17 Size : 671kb Publisher : dugumengyouzi

example code for opencv with cv button of phillips webcam
Update : 2025-02-17 Size : 1kb Publisher : kabir

opencv图像处理, 运动视频图像跟踪-Opencv image processing, video motion tracking
Update : 2025-02-17 Size : 11.84mb Publisher : sonic

DL : 0
通过OPENCV H.264编码YUV视频,进行量化 变换 编码-By OPENCV H.264 encoding YUV video, transform coding to quantify
Update : 2025-02-17 Size : 22.95mb Publisher : jiangqi

opencv的常用dll文件、include头文件、lib库文件,做opencv相关编程的时候需要。-opencv common dll files, include header files, lib library files, do opencv-related programming time required.
Update : 2025-02-17 Size : 10.7mb Publisher : 王华

《学习opencv中文版》这本书的课后源码。-Code of book《learning opencv<Chinese Vision>》
Update : 2025-02-17 Size : 14.25mb Publisher : luer

opencv入门资料,有安装方法等,一系列的东西很有用(h wliad lc spof j hf k q is yougood)
Update : 2025-02-17 Size : 1.64mb Publisher : yyq

配置本地的opencv环境,在vs2015中配置具体怎么配置系统环境变量Path参照网上其他资源。其中以盼复开头(H:)shiwo本地路径,附带本地一个小程序(Configuring a local opencv environment)
Update : 2025-02-17 Size : 7.74mb Publisher : 紫龙123456
« 12 3 4 5 6 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.