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

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:

[Picture Viewertest

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

[Graph programcanny_Opencv

Description: 使用Opencv进行Canny算子边界提取的示例程序,可为初学者进行参考-Edge detect using canny detector with OpenCV lib
Platform: | Size: 300032 | Author: sskaje | Hits:

[Special EffectsOTSU

Description: 在VC++6.0 已经openCV环境下的一维OTSU代码,实现图像二值化-// OTSU.h: interface for the COTSU class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_OTSU_H__33C2086A_C181_490B_946D_837B4C7FB914__INCLUDED_) #define AFX_OTSU_H__33C2086A_C181_490B_946D_837B4C7FB914__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 //---OpenCV Lib file----------- #pragma comment (lib,"cv") #pragma comment (lib,"highgui") #pragma comment (lib, "cxcore") //---gsl Lib file----------- //#pragma comment (lib, "libgsl.a") #include "cv.h" #include "cxcore.h" #include "highgui.h" class COTSU { public: IplImage* Binarize( IplImage* pImg, int nThreshold ) int Threshold() void CalculateThresh( double* pHist, double dMean ) void GetThreshold( IplImage* pImg, CRect Rect ) COTSU() virtual ~COTSU() protected: bool m_bDone int m_nThreshold } #endif // !defined(AFX_OTSU_H__33C2086A_C181_490B_946D_837B4C7FB914__INCLUDED_)
Platform: | Size: 2048 | Author: shaohu | Hits:

[Windows DevelopfaceTrack

Description: 通过人脸识别技术对人脸进行跟踪 使用intel opencv 开源库完成-faceTrack use intel opencv lib
Platform: | Size: 2048 | Author: pan | Hits:

[2D GraphicCapture2Save

Description: i write it use opencv lib in order to capture image from each frame in webcam or video and save all image to a document,and i use it to capture hand image for haartraining,hope you like it! -)-i write it use opencv lib in order to capture image from each frame in webcam or video and save all image to a document,and i use it to capture hand image for haartraining,hope you like it!-)
Platform: | Size: 4290560 | Author: richard | Hits:

[Special Effectsopencv

Description: xcore.lib cv.lib ml.lib cvaux.lib highgui.lib cvcam.lib
Platform: | Size: 229376 | Author: whr | Hits:

[Windows DevelopUFO_Capture

Description: 在MFC專案下使用OpenCV 透過webcam 進行視訊中的motion detector 一但發生 motion即立刻存下照片檔案(bmp) 本人對於超自然現像非常有興趣.此程式是原本是使用於拍攝天空.期望會抓取到UFO.但只看到一些蟲子與飛鳥-this is UFO capture program.I use MFC+ OpenCV lib ,detector the sky by webcam.
Platform: | Size: 15632384 | Author: lanis H | Hits:

[OpenCVvc2008_v2.rar

Description: OpenCV 2.0a for VS2008(vc9) static lib Second version,OpenCV 2.0a for VS2008 (vc9) static lib Second version
Platform: | Size: 4257792 | Author: 小誠 | Hits:

[Multimedia Developcv100

Description: opencv 1.0 lib cv100.dll it is opencv 1.0 sorce to make cvcode
Platform: | Size: 397312 | Author: kang seoung won | Hits:

[Special EffectsSIFT_VC.lib

Description: 本系统中VIS欠缺的SIFT_VC.lib文件。。。 http://www.pudn.com/downloads224/sourcecode/math/detail1055031.html-This is lib file, which is used in Video Intelligent System (VIS) based on the Microsoft Visual Studio 2008 compiler environment and OpenCV 2.0 library. It includes foreground detection, motion object detection, motion object tracking, trajectories generation and analysis modules. It realizes a friendly interface based on dialog, which provides a convenient example for new learners. keywords: opencv, mixture of gaussian model, sift feature and ransac method, mean shift, particle filter, kalman filter, object detection and tracking, video intelligent system.
Platform: | Size: 111616 | Author: | Hits:

[Special Effectsopencv4_Lib

Description: 显示图像的一款开源工具包,其中是OpenCV的头文件,lib文件和动态链接库。很好用的-An open source tool displays the image package, which is the OpenCV header files, lib files and dynamic link libraries. Very good use
Platform: | Size: 10190848 | Author: 小志志 | Hits:

[OpenCVImageComparison

Description: This a simple application developed in C# and uses the Emgu CV library. Emgu CV lib is a wrapper around OpenCV than enables .NET languages to use the OpenCV lib. The algorithm showcased in the source code is about template matching and object recognition, a master image is provided to the app and a suite of small pics should be provided also, the app will try to find these small pics in the master picture.-This is a simple application developed in C# and uses the Emgu CV library. Emgu CV lib is a wrapper around OpenCV than enables .NET languages to use the OpenCV lib. The algorithm showcased in the source code is about template matching and object recognition, a master image is provided to the app and a suite of small pics should be provided also, the app will try to find these small pics in the master picture.
Platform: | Size: 68608 | Author: Waleed | 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:

[OpenCVpeopledetect

Description: 使用opencv对行人进行侦测,能快速识别行人并标注,适于opencv初学者-people detection using opencv lib
Platform: | Size: 154624 | Author: chen | Hits:

[OpenCVopencv-face-detect

Description: face detect use opencv lib and visual studio c-face detect use opencv lib and visual studio c++
Platform: | Size: 105472 | Author: terra | Hits:

[OpenCVlib

Description: opencv lib 包 但是没有包含 debug模式下的lib包-opencv lib package
Platform: | Size: 236544 | Author: Young | Hits:

[OpenCVopencv-Lib-For-IOS

Description: OpenCV For IOS 库以及环境配置说明。适合入门的朋友哦。-For IOS OpenCV library and environment configuration instructions. Suitable for entry friends.
Platform: | Size: 81987584 | Author: xxh | Hits:

[Other基于ORB算法的特征匹配

Description: 基于ORB算法的特征匹配,opencv,C++(matching based on ORB algorithm with opencv lib)
Platform: | Size: 5539840 | Author: 1479536140@qq.com | Hits:

[OpenCVopencv

Description: opencv2中core ,highgui,和 imgproc部分源码(source about codecore highgui imgproc in opencv 2 lib)
Platform: | Size: 3398656 | Author: wtl | Hits:
« 12 3 4 5 6 »

CodeBus www.codebus.net