tag:blogger.com,1999:blog-7023576929606369407.post5133752187115194279..comments2023-10-31T10:47:50.956+01:00Comments on Jepson's Blog: Installation guide: OpenCV 2.4 with Visual Studio C++ 2010Michael Jepsonhttp://www.blogger.com/profile/16073118583952778532noreply@blogger.comBlogger297125tag:blogger.com,1999:blog-7023576929606369407.post-83891736467432433932015-12-18T05:46:54.046+01:002015-12-18T05:46:54.046+01:00Hello,Michael
I am working with a code that finds ...Hello,Michael<br />I am working with a code that finds moving vehicles. When I added the find contours method, that's where the program has struct.It is showing unhandled exception at memory location....<br />The code is as follows:<br /><br /> bool objectDetected;<br /> //these vectors needed for o\p of contours<br /> vector>contours;<br /> vector hierarchy;<br /> <br /> //find Harsha Khiroyahttps://www.blogger.com/profile/06144542170352542153noreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-66224020009408509112015-04-26T17:31:01.936+02:002015-04-26T17:31:01.936+02:00Hello.. I'm using Visual studio 2010 and i dow...Hello.. I'm using Visual studio 2010 and i downloaded opencv2.4.11 and configure it according to your described steps..but it is showing the error while debugging, error is Fatel error lnk1181: cannot open input file 'opencv_calib3d2411d.lib'<br /><br />plz help me how to sort out this problemBeenish143https://www.blogger.com/profile/06345189951201440156noreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-8587552415094200102015-03-23T08:54:33.098+01:002015-03-23T08:54:33.098+01:00Hi Charis,
Did you add the path to the .lib files...Hi Charis,<br /><br />Did you add the path to the .lib files to the Additional Library Directories? Are you doing a debug build? If so, the library files should end in *d.lib.<br />Is the file actually there with the exact name?<br /><br />Regards,<br />MichaelMichael Jepsonhttps://www.blogger.com/profile/16073118583952778532noreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-73551718967552869872015-03-22T15:12:53.680+01:002015-03-22T15:12:53.680+01:00i got this error,,how to fix it???
Error 1 error ...i got this error,,how to fix it???<br /><br />Error 1 error LNK1104: cannot open file 'opencv_calib3d2411.lib' c:\Users\win\documents\visual studio 2010\Projects\coba cv\coba cv\LINK coba cv<br />Charis Faridchie Siswoyohttps://www.blogger.com/profile/07815536204068651212noreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-15820986989994219322015-03-16T08:33:18.814+01:002015-03-16T08:33:18.814+01:00Hi Anonymous,
The first is just a warning, it say...Hi Anonymous,<br /><br />The first is just a warning, it says how to disable it.<br />The second is a fault in Segmentation.cpp. It tells you that the left brace ('{') isn't matched before the End-Of-File was found. This just means that you have at least one more '{' in your file than you have '}'. These should match, for every '{' you should have a matching &#Michael Jepsonhttps://www.blogger.com/profile/16073118583952778532noreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-19243158023390644012015-03-14T18:22:49.425+01:002015-03-14T18:22:49.425+01:00Error 1 error C4996: 'fopen': This f...Error 1 error C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. <br /><br /><br />Error 2 error C1075: end of file found before the left brace '{' at 'Segmentation.cpp(11)' was matched <br /><br /><br />are my errors .. can u plz help me out ??Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-84932711867649485512014-02-25T09:03:50.141+01:002014-02-25T09:03:50.141+01:00Hi GOUTAMI B GABASAVALAGI,
Check your "Addit...Hi GOUTAMI B GABASAVALAGI,<br /><br />Check your "Additional Include Directories" in Visual Studio. The file should be in one of these folders and the paths should be added to these in Visual Studio.<br /><br />Regards,<br />MichaelMichael Jepsonhttps://www.blogger.com/profile/16073118583952778532noreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-72327300532686344042014-02-24T20:22:04.719+01:002014-02-24T20:22:04.719+01:00i m getting error like
Error 1 fatal error C1083: ...i m getting error like<br />Error 1 fatal error C1083: Cannot open include file: 'cv.hpp': No such file or directory c:\users\intel\documents\visual studio 2005\projects\opencvtest\opencvtest1\opencvtest1\opencvtest1.cpp <br />Anonymoushttps://www.blogger.com/profile/10095897902200233878noreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-85011993704822267092014-01-06T22:06:15.853+01:002014-01-06T22:06:15.853+01:00It worked for me, thanks a lot! :)It worked for me, thanks a lot! :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-55301308979060250782014-01-06T12:10:03.888+01:002014-01-06T12:10:03.888+01:00hello , i m i m trying open cv with visual c++ 201...hello , i m i m trying open cv with visual c++ 2010 and i m getting this error 1>------ Build started: Project: OPENCV-TEST, Configuration: Debug Win32 ------ 1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========<br />can any one help me.thanks:)Anonymoushttps://www.blogger.com/profile/13655423997876883509noreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-71537678305355636542013-11-30T22:10:47.464+01:002013-11-30T22:10:47.464+01:00Hi Michael...
I am facing a virtual problem with o...Hi Michael...<br />I am facing a virtual problem with opencv. i am using 64bit win7 and vs2010. When i run face_detection program it just open camera window and does not detect the face(in 64bit debug). But same code when I run in my friend's computer of 32bit win7 it works fine. So should i do to fix the problem.<br />[i have tried that code in 32bit debug by suitable configuring Rietykitynoreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-66609564978205067642013-10-28T09:21:34.729+01:002013-10-28T09:21:34.729+01:00Hi Eyeanand,
The installer will contain the build...Hi Eyeanand,<br /><br />The installer will contain the build directories. For use with Visual Studio there is no need to use any make utility.<br /><br />Regards,<br />MichaelMichael Jepsonhttps://www.blogger.com/profile/16073118583952778532noreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-6298968373329195652013-10-28T03:44:17.382+01:002013-10-28T03:44:17.382+01:00Hello Jepson.
Can you elaborate the pre installat...Hello Jepson.<br /><br />Can you elaborate the pre installation requisites.<br /><br />I am downloading opencv 2.4.2 exe.<br /><br />Will it contain the build directory structure or do i have to use the Make File app.iANAND- Ice Ice Babyhttps://www.blogger.com/profile/03125459008111954815noreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-23621221178771644442013-10-17T06:50:50.405+02:002013-10-17T06:50:50.405+02:00spent 2 days to try installing opencv on my machin...spent 2 days to try installing opencv on my machine, thanks a lot found your blog here! it works! nurhannahttps://www.blogger.com/profile/12250428149784750041noreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-27103043192138822252013-09-25T08:47:21.126+02:002013-09-25T08:47:21.126+02:00Error 1 fatal error C1083: Cannot open include fil...Error 1 fatal error C1083: Cannot open include file: 'opencv2/imgproc/imgproc.hpp': No such file or directory i:\Projects .net (ZAROONS-PC)\ImageSearching\MatchTemplate_Demo.cpp 9 test<br /><br /><br />I am getting this error while running MatchTemplate_Demo.cpp at #include "opencv2/imgproc/imgproc.hpp"<br />PRAKASHhttps://www.blogger.com/profile/07655726874011612926noreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-399189932717955822013-09-19T18:33:53.498+02:002013-09-19T18:33:53.498+02:00Hi Michael!
Completely off-topic... but I noticed...Hi Michael!<br /><br />Completely off-topic... but I noticed you have solved your blogger problem where it was showing only the first 200 comments on this post. I'm having the same problem... Could you tell me how you changed the "Load more..." link to "Newer" and "Newest"? :)<br /><br />Thanks!Ricardohttps://www.blogger.com/profile/11154896862855444503noreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-10710305327966154862013-07-17T10:29:57.878+02:002013-07-17T10:29:57.878+02:00Thank you very very much. I spent couple of days t...Thank you very very much. I spent couple of days to configure but failed. Then i found your blog and now my opencv working well.moshiihttps://www.blogger.com/profile/04742448887743226943noreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-80857904309323317652013-07-02T13:25:18.102+02:002013-07-02T13:25:18.102+02:00Hi Anonymous,
You probably have "use precomp...Hi Anonymous,<br /><br />You probably have "use precompiled headers" switched on in your project. If you look in the project properties (not sure where by heart), you'll find a setting. Try switching it off.<br /><br />Regards,<br />MichaelMichael Jepsonhttps://www.blogger.com/profile/16073118583952778532noreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-63046540233196525252013-07-02T12:36:13.307+02:002013-07-02T12:36:13.307+02:00\myopencv\myopencv\myopencv.cpp(3): fatal error C1...\myopencv\myopencv\myopencv.cpp(3): fatal error C1083: Cannot open precompiled header file: 'Debug\Myopencv.pch': No such file or directory<br /><br /><br />Why am i getting this error?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-14061132262595656962013-06-03T11:03:14.542+02:002013-06-03T11:03:14.542+02:00Hi Aditi,
There is tiny mistake in your step 3: $...Hi Aditi,<br /><br />There is tiny mistake in your step 3: $(OPENCV_BUILD)\include\opencv; Should be $(OPENCV_BUILD)\include; For some reason the default is that and for opencv2 you add \opencv2.<br />That is because all references to the header files are as 'opencv/highgui.cs', so if you already added the 'opencv/' part, it won't find them.<br /><br />Good luck!<br /><br />Michael Jepsonhttps://www.blogger.com/profile/16073118583952778532noreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-85347169673071030412013-06-03T10:53:00.544+02:002013-06-03T10:53:00.544+02:00This is the first time I am working with opencv in...This is the first time I am working with opencv in Visual Studio. I have worked in ubuntu though. I was trying to install opencv. <br />1.I extracted it. Edited the path variable in system properties as D:\opencv\build\x64\vc10\bin <br /><br />2. I set VCC++ directories as $(OPENCV_BUILD)\x64\vc10\lib;$(LibraryPath). <br /><br />3.C/C++ additional include directories as $(OPENCV_BUILD)\include\Anonymoushttps://www.blogger.com/profile/09040531239739400638noreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-47642312886005115432013-05-30T14:04:09.181+02:002013-05-30T14:04:09.181+02:00Hi Laiza,
What approach is faster is fully depend...Hi Laiza,<br /><br />What approach is faster is fully dependent on how you do them and on what resolution, but my first guess would be that colour segmentation is easiest and quickest.<br />As to the processing speed: Do you use multiple threads to make the most use of your CPU? Also, don't forget that USB2 has limited bandwith, at 2MPixel with no compression (don't use MJPG as it has a Michael Jepsonhttps://www.blogger.com/profile/16073118583952778532noreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-15993175852273512742013-05-30T13:54:02.285+02:002013-05-30T13:54:02.285+02:00hello
attempt to obtain the coordinates x, y of ...hello <br /><br />attempt to obtain the coordinates x, y of an object to measure its speed in a particular area, but the speed of the movement is fast and I have not the number of samples per unit time need ... I'm using filtering by color, question is:<br /><br />1) is faster using detection using contour or color?<br /><br />2) depends on the webcam, how many frames per second can take? Anonymoushttps://www.blogger.com/profile/00799789534855214149noreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-60885805297603831302013-05-29T18:54:03.032+02:002013-05-29T18:54:03.032+02:00It is a really good complement to the guide at wil...It is a really good complement to the guide at willowgarage.<br /><br />Thanks for your help, Michael.Anonymoushttps://www.blogger.com/profile/07894345637399961975noreply@blogger.comtag:blogger.com,1999:blog-7023576929606369407.post-50304793271227316782013-05-29T00:54:25.300+02:002013-05-29T00:54:25.300+02:00i figured it out. i evidently read your page that...i figured it out. i evidently read your page that speaks to entering the program and compiling it. perhaps there was a different page i did not see that spoke about the requirement to use intel's 'tbb' (threading building block) library as well. there are several ways one can add this functionality to vc++, using the tbb 'visual studio plug-in', copying all of the tbb *.Anonymousnoreply@blogger.com