tag:blogger.com,1999:blog-7366586025610946480.post5619719306137512774..comments2016-04-19T01:21:32.518-07:00Comments on Laz's Vision: OpenCV 2.4 on Ubuntu 12.04Lazhttp://www.blogger.com/profile/07251947618258010757noreply@blogger.comBlogger122125tag:blogger.com,1999:blog-7366586025610946480.post-24408450865057288132016-04-19T01:21:32.518-07:002016-04-19T01:21:32.518-07:00Hi i am getting some error while executing facedet...Hi i am getting some error while executing facedetect package to test the compilation and run but after running make following error came<br />faceDetect.cpp:53:74: error: no matching function for call to ‘cv::String::compare(int, size_t&amp;, const char*&amp;, size_t&amp;) const’<br /> if( cascadeOpt.compare( 0, cascadeOptLen, argv[i], cascadeOptLen ) == 0 )<br /> ^<br />In file included from /usr/local/include/opencv2/core/base.hpp:56:0,<br /> from /usr/local/include/opencv2/core.hpp:54,<br /> from /usr/local/include/opencv2/objdetect.hpp:47,<br /> from /usr/local/include/opencv2/objdetect/objdetect.hpp:48,<br /> from faceDetect.cpp:1:<br />/usr/local/include/opencv2/core/cvstd.hpp:783:5: note: candidate: int cv::String::compare(const char*) const<br /> int String::compare(const char* s) const<br /> ^<br />/usr/local/include/opencv2/core/cvstd.hpp:783:5: note: candidate expects 1 argument, 4 provided<br />/usr/local/include/opencv2/core/cvstd.hpp:790:5: note: candidate: int cv::String::compare(const cv::String&amp;) const<br /> int String::compare(const String&amp; str) const<br /> ^<br />/usr/local/include/opencv2/core/cvstd.hpp:790:5: note: candidate expects 1 argument, 4 provided<br />faceDetect.cpp:55:25: error: ‘class cv::String’ has no member named ‘assign’<br /> <br /><br /><br />rahulhttps://www.blogger.com/profile/16766689789248645511noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-22598063556012081922015-10-16T01:27:26.165-07:002015-10-16T01:27:26.165-07:00bin lookup In today’s electronic world, lot of tra...<b><a href="http://binchecker.com/creditcardbrands" rel="nofollow">bin lookup</a> </b>In today’s electronic world, lot of transactions is performed online over the internet platform which poses a great risk on fraud transactionsalina markhttps://www.blogger.com/profile/11510779248999921959noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-44190470346120889242015-07-08T08:29:15.634-07:002015-07-08T08:29:15.634-07:00Really helpful page, thanks a lot!Really helpful page, thanks a lot!Howard Wrighthttps://www.blogger.com/profile/16720319732867149369noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-26075732691270029452015-05-21T20:59:10.840-07:002015-05-21T20:59:10.840-07:00constructive post. Thanks!!constructive post. Thanks!!Darshit Davehttps://www.blogger.com/profile/02360863910936244915noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-82148288859759843802015-04-08T07:01:46.400-07:002015-04-08T07:01:46.400-07:00did you solve the issue? Because I have the same e...did you solve the issue? Because I have the same error?<br />CooJohhttps://www.blogger.com/profile/16275139799273929298noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-77607057109192254222015-01-08T12:55:00.085-08:002015-01-08T12:55:00.085-08:00&quot;Then I added (at the LIBS +=) -L/usr/local/l...&quot;Then I added (at the LIBS +=) -L/usr/local/lib/&quot; how you did that. Can you please elaborate more I am a beginner and got the same problem.himanshu jainhttps://www.blogger.com/profile/10489512177057666225noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-45425521984420320512014-12-17T01:48:29.766-08:002014-12-17T01:48:29.766-08:00I really, really like bin lookup. Cited by many as...I really, really like <a href="http://binchecker.com/" rel="nofollow">bin lookup</a>. Cited by many as the single most important influence on post modern micro eco compartmentalize, there are just not enough blues songs written about bin lookup. It is estimated that that bin lookup is thought about eight times every day by those most reliant on technology, which I can say no more about due to legal restrictions. With the primary aim of demonstrating my considerable intellect I will now demonstrate the complexity of the many faceted issue that is bin lookup.Addison Conroyhttps://www.blogger.com/profile/15253273961173354344noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-8342378248673146672014-10-11T23:16:42.497-07:002014-10-11T23:16:42.497-07:00Krossover Networks provides a flexible and enthusi...Krossover Networks provides a flexible and enthusiastic approach to its customer base. We are offering Home theater installation, Computer networking, Computer repair service, Wireless network setup, Home theater speakers.<br />http://krossovernet.com/Md. Johadanhttps://www.blogger.com/profile/10128130039366035587noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-3087789923720444002014-10-06T11:02:13.094-07:002014-10-06T11:02:13.094-07:00Thank You very much for your prompt response Laz! ...Thank You very much for your prompt response Laz! <br />I have to use OpenCV over Odroid Microcomputer, which uses XUbuntu 13.10. I am familiar with Ubuntu but not with XUbuntu. I have also googled about Installing the OpenCV over XUbuntu but I have not found any available tutorial. Can I use this one? I am not sure will this work.. <br />Can You answer my question Laz? <br />Thanks. Sorath Asnanihttps://www.blogger.com/profile/12670194233095632041noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-52835360654056167642014-10-06T08:35:16.972-07:002014-10-06T08:35:16.972-07:00Thank you very much, Sorath.
&gt; One more thing ...Thank you very much, Sorath.<br /><br />&gt; One more thing I want to know, is Ubuntu 14.04 a stable version?<br />Yes, it&#39;s a stable and long term support (LTS) release so you should use it. Follow the updated guide here:<br />http://karytech.blogspot.com/2014/05/opencv-249-on-ubuntu-1404.htmlLaz Karydashttps://www.blogger.com/profile/13147638540181297058noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-87348790685188406772014-10-06T08:04:52.865-07:002014-10-06T08:04:52.865-07:00That&#39;s Great Mr. Laz!
Your work is really ver...That&#39;s Great Mr. Laz! <br />Your work is really very highly appreciated. Your tutorials are proving to be a road map for the beginners. Keep sharing! <br />Stay Blessed. :) <br />One more thing I want to know, is Ubuntu 14.04 a stable version? Can i use it instead of 12.04? <br />Thanks. Sorath Asnanihttps://www.blogger.com/profile/12670194233095632041noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-92146060594494248622014-10-06T06:09:08.909-07:002014-10-06T06:09:08.909-07:00Most likely yes. OpenCV dependencies don&#39;t cha...Most likely yes. OpenCV dependencies don&#39;t change that much between minor versions. But follow this guide instead, which has been tested with v.2.4.9:<br /><br />http://karytech.blogspot.com/2014/05/opencv-249-on-ubuntu-1404.htmlLaz Karydashttps://www.blogger.com/profile/13147638540181297058noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-10427635469208280672014-10-06T01:48:02.123-07:002014-10-06T01:48:02.123-07:00Hello!
This guide is about installing the OpenCV ...Hello! <br />This guide is about installing the OpenCV 2.4 <br />I want to install the new version i.e. OpenCV 2.4.8 on Ubuntu. Will these steps work for the newer version? <br />If anyone tried, then please help. <br />Thanks. Sorath Asnanihttps://www.blogger.com/profile/12670194233095632041noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-72990906960976868342014-09-26T08:48:03.804-07:002014-09-26T08:48:03.804-07:00Well this is very Good Information i Really Satisf...Well this is very Good Information i Really Satisfied see This Article We Are Also Providing Linux Online Training.<a href="http://www.linux-online-training.com" rel="nofollow">Linux Online Training</a> is One of The Best Training CenterMichale Danielhttps://www.blogger.com/profile/10877426237640882122noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-42000685084113419712014-08-11T06:26:08.908-07:002014-08-11T06:26:08.908-07:00Hi, any update on the Ubuntu 14.05 cv2 issue?Hi, any update on the Ubuntu 14.05 cv2 issue?Two Jack Studiohttps://www.blogger.com/profile/09752836925489542438noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-43111672924563446942014-06-13T04:42:38.898-07:002014-06-13T04:42:38.898-07:00In that above testing i got
[----------] Global t...In that above testing i got <br />[----------] Global test environment tear-down<br />[==========] 126 tests from 95 test cases ran. (96713 ms total)<br />[ PASSED ] 125 tests.<br />[ FAILED ] 1 test, listed below:<br />[ FAILED ] Core_globbing.accuracy<br /><br /> 1 FAILED TEST<br />vivek kumaranhttps://www.blogger.com/profile/06735634291146089453noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-16646301899977084982014-06-10T19:16:31.825-07:002014-06-10T19:16:31.825-07:00HELP! SOURCE DIRECTORY DOES NOT APPEAR TO CONTAIN ...HELP! SOURCE DIRECTORY DOES NOT APPEAR TO CONTAIN CMakeLists.txt !!!<br /><br /><br />Hi i&#39;m having trouble with the installation. I&#39;m using Ubuntu 12.04.<br />I reached the Compile And Install step.<br /><br />Note: tar -xvf OpenCV-2.4.0.tar.bz2 didnt work for me. It said Cannot open: No such file or directory. Yes I had downloaded it. But it was in the downloads folder. So I manually extracted it from there.<br /><br />Now my problem is..I get the error Cmakelists.txt couldn&#39;t be found.<br /><br />clive@clive-Aspire-4755:~$ cd OpenCV-2.4.0/<br />clive@clive-Aspire-4755:~/OpenCV-2.4.0$ cd build<br />clive@clive-Aspire-4755:~/OpenCV-2.4.0/build$ cmake -D WITH_QT=ON -D WITH_XINE=ON -D WITH_OPENGL=ON -D WITH_TBB=ON -D BUILD_EXAMPLES=ON ..<br />CMake Error: The source directory &quot;/home/clive&quot; does not appear to contain CMakeLists.txt.<br />Specify --help for usage, or press the help button on the CMake GUI.<br /><br /><br />Can anyone help me? I tried changing directories too.<br /><br />Clivehttps://www.blogger.com/profile/09288192865999063827noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-78767416414019643732014-05-22T03:45:28.724-07:002014-05-22T03:45:28.724-07:00I&#39;ve done everything from this tutorial, but I...I&#39;ve done everything from this tutorial, but I don&#39;t know how to add openCV to my netbeans project. On Windows netbeans the solution was to add &quot;-Djava.library.path=&quot;/home/MyUserName/opencv-2.4.9&quot; to &quot;properties-&gt;run&quot;1<br /><br />But on ubuntu 14.04 that doesn&#39;t help. Plz help me.a ahttps://www.blogger.com/profile/18075644992744350704noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-17587980123633408852014-05-16T06:40:58.855-07:002014-05-16T06:40:58.855-07:00That means you didn&#39;t run cmake or it didn&#39...That means you didn&#39;t run cmake or it didn&#39;t succeedLazaros Karydashttps://www.blogger.com/profile/13147638540181297058noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-70240034156420408302014-05-16T02:06:19.354-07:002014-05-16T02:06:19.354-07:00Hi nice tutorial! But i am having a probelm when ...Hi nice tutorial! But i am having a probelm when i get to the stage where i type &#39;make&#39;- i get the error - make: *** No targets specified and no makefile found. Stop.<br /><br />Help!<br /><br />Cheers<br /><br />stevechub2studhttp://chub2stud.wordpress.com/noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-72156029347023288442014-04-28T11:07:26.101-07:002014-04-28T11:07:26.101-07:00Hi ronnie,
I haven&#39;t looked at ubuntu 14.04 y...Hi ronnie,<br /><br />I haven&#39;t looked at ubuntu 14.04 yet. I&#39;m planning to see what&#39;s changed and update this post within a few daysLazaros Karydashttps://www.blogger.com/profile/13147638540181297058noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-85785020924529552012014-04-28T03:11:03.675-07:002014-04-28T03:11:03.675-07:00But what I was asking was, I want to install the l...But what I was asking was, I want to install the latest version. And 2.4.9 isn&#39;t working in Python. Its opencv_test_core test works fine. But only Python says it can&#39;t find cv2 moduleronniehttps://www.blogger.com/profile/00217227913169795119noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-83122046483268050412014-04-28T02:23:43.466-07:002014-04-28T02:23:43.466-07:00Dude, hi!
I&#39;m trying to install OpenCV 2.4.9 ...Dude, hi!<br /><br />I&#39;m trying to install OpenCV 2.4.9 on Ubuntu 14.04<br /><br />I downloaded the compressed file, <br />created a /release dir in opencv- folder, then ran <br /><br />cmake -D CMAKE_BUILD_TYPE=RELEASE -D MAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_OPENGL=ON ..<br /><br />And I even tried the above with the &#39;BUILD_NEW_PYTHON_SUPPORT&#39; changed to &#39;BUILD_opencv_python&#39; as stated here: http://answers.opencv.org/question/10651/cv2so-missing-after-opencv-installed/<br /><br />And I added /usr/local/lib to /etc/ld.so.conf<br />and then I ran ldconfig<br /><br />But still in Python, import cv2 doesn&#39;t work - &quot;cv2 not found&quot;<br /><br />Ultimately I had to do<br /> sudo apt-get install python-opencv<br />and then that installed opencv 2.4.8 seamlessly.<br /><br /><br />ronniehttps://www.blogger.com/profile/00217227913169795119noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-35057827155656622172014-04-13T07:52:27.502-07:002014-04-13T07:52:27.502-07:00Hi Nilendra,
did you try to do what the message s...Hi Nilendra,<br /><br />did you try to do what the message suggests?<br /><br />&quot;...install libgtk2.0-dev and pkg-config, then re-run cmake or configure script.&quot;Lazaros Karydashttps://www.blogger.com/profile/13147638540181297058noreply@blogger.comtag:blogger.com,1999:blog-7366586025610946480.post-10259083253051925692014-04-04T19:11:15.289-07:002014-04-04T19:11:15.289-07:00How to resolve the below error.......am tried to t...How to resolve the below error.......am tried to test the sample face detection program....many thanks for the document and help.<br /><br />user@cu-cs-vm:~/OpenCV-2.4.0/build/bin/faceDetect_sample$ make<br />g++ faceDetect.cpp -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_objdetect -o faceDetect<br />./faceDetect --cascade=&quot;haarcascade_frontalface_alt.xml&quot; --nested-cascade=&quot;haarcascade_eye.xml&quot; lena.jpg<br /><br />This program demonstrates the cascade recognizer. Now you can use Haar or LBP features.<br />This classifier can recognize many ~rigid objects, it&#39;s most known use is for faces.<br />Usage:<br />./facedetect [--cascade= this is the primary trained classifier such as frontal face]<br /> [--nested-cascade[=nested_cascade_path this an optional secondary classifier such as eyes]]<br /> [--scale=<br /> [filename|camera_index]<br /><br />see facedetect.cmd for one call:<br />./facedetect --cascade=&quot;../../data/haarcascades/haarcascade_frontalface_alt.xml&quot; --nested-cascade=&quot;../../data/haarcascades/haarcascade_eye.xml&quot; --scale=1.3 <br />Hit any key to quit.<br />Using OpenCV version 2.4.0<br /><br />Processing 1 --cascade=haarcascade_frontalface_alt.xml<br /> from which we have cascadeName= haarcascade_frontalface_alt.xml<br />Processing 2 --nested-cascade=haarcascade_eye.xml<br />Processing 3 lena.jpg<br />before named window<br />OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvNamedWindow, file /home/user/OpenCV-2.4.0/modules/highgui/src/window.cpp, line 598<br />terminate called after throwing an instance of &#39;cv::Exception&#39;<br /> what(): /home/user/OpenCV-2.4.0/modules/highgui/src/window.cpp:598: error: (-2) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function cvNamedWindow<br /><br />Aborted (core dumped)<br />make: *** [run] Error 134<br />Nilendra Nimbalkarhttps://www.blogger.com/profile/10446408456309147717noreply@blogger.com