2019-03-07 06:13:00 -0600 | received badge | ● Notable Question (source) |
2018-04-29 11:12:26 -0600 | received badge | ● Popular Question (source) |
2017-03-07 02:01:44 -0600 | received badge | ● Famous Question (source) |
2015-08-24 20:06:54 -0600 | received badge | ● Student (source) |
2014-04-17 23:09:20 -0600 | received badge | ● Notable Question (source) |
2013-11-09 12:17:44 -0600 | received badge | ● Popular Question (source) |
2012-12-22 00:08:24 -0600 | asked a question | CMake has regenerated # .sln and/or .vcproj files Hi to people out there, i am novice towards image processing and have problem solving the current issues... i have followed the steps closely in this tutorial https://www.youtube.com/watch?v=NnovZ1cTlMs I have been solving this problem since last sat and have been researching online for solution but no luck, would be glad if any kind soul out there could give me a lending hand. Thanks in advance. CMake has regenerated 3 .sln and/or .vcproj files.*
|
2012-12-15 20:30:50 -0600 | commented answer | fatal error LNK1120: 10 unresolved externals I am sorry, i dont get you, the things you said i have done it. |
2012-12-15 20:30:05 -0600 | received badge | ● Critic (source) |
2012-12-15 01:14:15 -0600 | asked a question | problem with video object detection Hi all, i have some problem with object detection. The following is the code i get from OpenCV tutorial. /** * @file objectDetection2.cpp * @author A. Huaman ( based in the classic facedetect.cpp in samples/c ) * @brief A simplified version of facedetect.cpp, show how to load a cascade classifier and how to find objects (Face + eyes) in a video stream - Using LBP here */ include "opencv2/objdetect/objdetect.hpp"include "opencv2/highgui/highgui.hpp"include "opencv2/imgproc/imgproc.hpp"include <iostream>include <stdio.h>using namespace std; using namespace cv; /** Function Headers */ void detectAndDisplay( Mat frame ); /** Global variables */ String face_cascade_name = "lbpcascade_frontalface.xml"; String eyes_cascade_name = "haarcascade_eye_tree_eyeglasses.xml"; CascadeClassifier face_cascade; CascadeClassifier eyes_cascade; string window_name = "Capture - Face detection"; RNG rng(12345); /* * @function main */ int main( void ) { CvCapture capture; Mat frame; //-- 1. Load the cascade if( !face_cascade.load( face_cascade_name ) ){ printf("--(!)Error loading\n"); return -1; }; if( !eyes_cascade.load( eyes_cascade_name ) ){ printf("--(!)Error loading\n"); return -1; }; //-- 2. Read the video stream capture = cvCaptureFromCAM( -1 ); if( capture ) { for(;;) { frame = cvQueryFrame( capture ); } return 0; } /** * @function detectAndDisplay */ void detectAndDisplay( Mat frame ) { std::vector<rect> faces; Mat frame_gray; cvtColor( frame, frame_gray, CV_BGR2GRAY ); equalizeHist( frame_gray, frame_gray ); //-- Detect faces face_cascade.detectMultiScale( frame_gray, faces, 1.1, 2, 0, Size(80, 80) ); for( size_t i = 0; i < faces.size(); i++ ) { Mat faceROI = frame_gray( faces[i] ); std::vector<rect> eyes; //-- Show what you got imshow( window_name, frame ); } By right the program should detects my face and eyes. But however, it only shows my face without any detection. Is the detection hidden? or there is some setting error ? |
2012-12-14 10:20:09 -0600 | commented answer | fatal error LNK1120: 10 unresolved externals yes it is console application. i have no problem with debug, and i have remove the d's for release. but the errors are there :/ |
2012-12-14 08:35:39 -0600 | commented answer | fatal error LNK1120: 10 unresolved externals yes, D:\OpenCV243\build\x64\vc10\lib; is there a problem? |
2012-12-14 08:34:13 -0600 | received badge | ● Supporter (source) |
2012-12-14 08:10:10 -0600 | asked a question | fatal error LNK1120: 10 unresolved externals Need some help :/ i face some error after trying to release a simple program. wasted my whole day from one problem till the other... 1>main.obj : error LNK2001: unresolved external symbol "void __cdecl cv::namedWindow(class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> > const &,int)" (?namedWindow@cv@@YAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z) 1>main.obj : error LNK2001: unresolved external symbol "int __cdecl cv::waitKey(int)" (?waitKey@cv@@YAHH@Z) 1>main.obj : error LNK2001: unresolved external symbol "public: __cdecl cv::_InputArray::_InputArray(class cv::Mat const &)" (??0_InputArray@cv@@QEAA@AEBVMat@1@@Z) 1>main.obj : error LNK2001: unresolved external symbol "void __cdecl cv::fastFree(void *)" (?fastFree@cv@@YAXPEAX@Z) 1>main.obj : error LNK2001: unresolved external symbol "public: void __cdecl cv::Mat::deallocate(void)" (?deallocate@Mat@cv@@QEAAXXZ) 1>main.obj : error LNK2001: unresolved external symbol "int __cdecl cv::_interlockedExchangeAdd(int *,int)" (?_interlockedExchangeAdd@cv@@YAHPEAHH@Z) 1>main.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl cv::VideoCapture::open(int)" (?open@VideoCapture@cv@@UEAA_NH@Z) 1>main.obj : error LNK2001: unresolved external symbol "public: virtual __cdecl cv::VideoCapture::~VideoCapture(void)" (??1VideoCapture@cv@@UEAA@XZ) 1>main.obj : error LNK2001: unresolved external symbol "public: __cdecl cv::VideoCapture::VideoCapture(void)" (??0VideoCapture@cv@@QEAA@XZ) 1>main.obj : error LNK2001: unresolved external symbol "void __cdecl cv::imshow(class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> > const &,class cv::_InputArray const &)" (?imshow@cv@@YAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV_InputArray@1@@Z) 1>C:\Users\Steven\Documents\Visual Studio 2010\Projects\mynewproject\x64\Release\mynewproject.exe : fatal error LNK1120: 10 unresolved externals 1> 1>Build FAILED. 1> |
2012-12-14 08:07:53 -0600 | commented question | need help debug with no error, but error on release C:\Users\Steven\Documents\Visual Studio 2010\Projects\mynewproject\x64\Release\mynewproject.exe : fatal error LNK1120: 10 unresolved externals |
2012-12-14 08:07:17 -0600 | commented question | need help debug with no error, but error on release I have solve the problem, i have to individual .h and .hpp file to chance the include part for example #include <D:\opencv\include\opencv\highgui.h> but and again, i got another error :/ 1>main.obj : error LNK2001: unresolved external symbol "void __cdecl cv::namedWindow(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int)" (?namedWindow@cv@@YAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z) 1>main.obj : error LNK2001: unresolved external symbol "int __cdecl cv::waitKey(int)" (?waitKey@cv@@YAHH@Z) 1>main.obj : error LNK2001: unresolved external symbol "public: __cdecl cv::_InputArray::_InputArray(class cv::Mat const &)" (??0_InputArray@cv@@QEAA@AEBVMat@1@@Z) 1>main.obj : error LNK2001: unresolved external symbol " |
2012-12-14 03:28:56 -0600 | commented answer | need help debug with no error, but error on release HI steven, i thought was that problem, but how ever, i tried changing all the libraries, still the same For vcc++ directories Library Directories, i added $(OPENCV_BUILD)\x64\vc10\lib For C/C++ Additional Include Directories , i added $(OPENCV_BUILD)\include; $(OPENCV_BUILD)\include\opencv; $(OPENCV_BUILD)\include\opencv2; For linker Additional Dependencies, i added opencv_core243.lib opencv_imgproc243.lib opencv_highgui243.lib opencv_ml243.lib opencv_video243.lib opencv_features2d243.lib opencv_calib3d243.lib opencv_objdetect243.lib opencv_contrib243.lib opencv_legacy243.lib opencv_flann243.lib Additional Library Directories, i added, $(OPENCV_BUILD)\x64\vc10\lib; Thanks for getting to me, really appreciate |
2012-12-14 02:01:35 -0600 | asked a question | need help debug with no error, but error on release Hi all, i am need to openCV and i need some guidance. I am on the path of learning through online youtubing, when i build the file in debugging, there is no error, but when i tried to build it in release, there is error. The Error: Program: Thank you very much if you can help me. I need to finish this for my final year project and till this period, i am still in a mist. i have tried Ubuntu but i have no luck in it, so i jump visual studio as i am more familiar in this platform. |