tag:blogger.com,1999:blog-5106299266700653707.post2372549191320400192..comments2024-03-01T03:05:47.062-08:00Comments on TechnoLabsz: How to do OpenCV haar-training in Windows 7Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.comBlogger33125tag:blogger.com,1999:blog-5106299266700653707.post-25516957972645515392015-05-09T01:56:43.787-07:002015-05-09T01:56:43.787-07:00how much time it will take i mean training ??how much time it will take i mean training ??Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-83245302671571498852014-01-07T02:06:50.372-08:002014-01-07T02:06:50.372-08:00Hi lentin, I am using python and opencv, I am desp...Hi lentin, I am using python and opencv, I am desperate to get answer from my objectmarker.py<br />Here the link is where I found the converted to python, https://gist.github.com/sqshemet/3195874<br />I am debug no error, when running it, it get error actually in here if in your <br />program:<br />if(argc != 3) { <br /> fprintf(stderr, "%s output_info.txt raw/data/directory/\n", argv[0]); <br /> return -1; <br /> } <br />and the result is just the directory "D:\Folder\positive\ObjectMarker output_info.txt raw/data/directory"..<br />Could you help me??<br />Thanks for your time..<br />DevinaAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-61273656947014858552014-01-07T02:06:28.842-08:002014-01-07T02:06:28.842-08:00Hi lentin, I am using python and opencv, I am desp...Hi lentin, I am using python and opencv, I am desperate to get answer from my objectmarker.py<br />Here the link is where I found the converted to python, https://gist.github.com/sqshemet/3195874<br />I am debug no error, when running it, it get error actually in here if in your <br />program:<br />if(argc != 3) { <br /> fprintf(stderr, "%s output_info.txt raw/data/directory/\n", argv[0]); <br /> return -1; <br /> } <br />and the result is just the directory "D:\Folder\positive\ObjectMarker output_info.txt raw/data/directory"..<br />Could you help me??<br />Thanks for your time..<br />DevinaAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-74721622073092536982014-01-04T02:32:35.340-08:002014-01-04T02:32:35.340-08:00Hi lentin
can the same code be run in Raspberry p...Hi lentin <br />can the same code be run in Raspberry pi?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-50699334718153709022013-11-01T10:53:53.161-07:002013-11-01T10:53:53.161-07:00Hi
I think you are not properly linked the librar...Hi<br /> I think you are not properly linked the library, thats why you getting this error and also build in release mode<br /><br />Lentin Josephhttps://www.blogger.com/profile/13816524077253592773noreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-4941119504724514392013-11-01T10:25:00.429-07:002013-11-01T10:25:00.429-07:00Hello Lentin,
I'm also getting few linker err...Hello Lentin,<br /><br />I'm also getting few linker errors. Please provide your valuable inputs for these errors<br />Error 1 error LNK2019: unresolved external symbol _cvReleaseImage referenced in function "void __cdecl on_mouse(int,int,int,int,void *)" (?on_mouse@@YAXHHHHPAX@Z) F:\ITL\Visual Studio projects\Object Marker\Object Marker\main.obj Object Marker<br />Error 2 error LNK2019: unresolved external symbol _cvShowImage referenced in function "void __cdecl on_mouse(int,int,int,int,void *)" (?on_mouse@@YAXHHHHPAX@Z) F:\ITL\Visual Studio projects\Object Marker\Object Marker\main.obj Object Marker<br />Error 3 error LNK2019: unresolved external symbol _cvRectangle referenced in function "void __cdecl on_mouse(int,int,int,int,void *)" (?on_mouse@@YAXHHHHPAX@Z) F:\ITL\Visual Studio projects\Object Marker\Object Marker\main.obj Object Marker<br />Error 4 error LNK2019: unresolved external symbol _cvCloneImage referenced in function "void __cdecl on_mouse(int,int,int,int,void *)" (?on_mouse@@YAXHHHHPAX@Z) F:\ITL\Visual Studio projects\Object Marker\Object Marker\main.obj Object Marker<br />Error 5 error LNK2019: unresolved external symbol _cvDestroyWindow referenced in function _main F:\ITL\Visual Studio projects\Object Marker\Object Marker\main.obj Object Marker<br />Error 6 error LNK2019: unresolved external symbol _cvWaitKey referenced in function _main F:\ITL\Visual Studio projects\Object Marker\Object Marker\main.obj Object Marker<br />Error 7 error LNK2019: unresolved external symbol _cvLoadImage referenced in function _main F:\ITL\Visual Studio projects\Object Marker\Object Marker\main.obj Object Marker<br />Error 8 error LNK2019: unresolved external symbol _cvSetMouseCallback referenced in function _main F:\ITL\Visual Studio projects\Object Marker\Object Marker\main.obj Object Marker<br />Error 9 error LNK2019: unresolved external symbol _cvNamedWindow referenced in function _main F:\ITL\Visual Studio projects\Object Marker\Object Marker\main.obj Object Marker<br />Error 10 error LNK1120: 9 unresolved externals F:\ITL\Visual Studio projects\Object Marker\Debug\Object Marker.exe Object Marker<br />Ginson Mathewhttps://www.blogger.com/profile/01859336493256052780noreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-18767753095644322592013-11-01T09:49:45.684-07:002013-11-01T09:49:45.684-07:00Hi
Make a header file from visual studio and na...Hi<br /> Make a header file from visual studio and name it as dirent.h and paste the dirent.h to the newly created file.Lentin Josephhttps://www.blogger.com/profile/13816524077253592773noreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-86483251231004063902013-11-01T09:33:37.810-07:002013-11-01T09:33:37.810-07:00Hi Lentin,
Actually i loaded the dirent.h file......Hi Lentin,<br /><br />Actually i loaded the dirent.h file... but still i get these errors.<br /><br />Error 1 error C1083: Cannot open include file: 'dirent.h': No such file or directory f:\itl\visual studio projects\object marker\object marker\main.cpp 10 1 Object Marker<br /> 2 IntelliSense: cannot open source file "dirent.h" f:\itl\visual studio projects\object marker\object marker\main.cpp 10 2 Object Marker<br /> 3 IntelliSense: identifier "DIR" is undefined f:\itl\visual studio projects\object marker\object marker\main.cpp 72 7 Object Marker<br /> 4 IntelliSense: identifier "dir_p" is undefined f:\itl\visual studio projects\object marker\object marker\main.cpp 72 16 Object Marker<br /> 5 IntelliSense: identifier "opendir" is undefined f:\itl\visual studio projects\object marker\object marker\main.cpp 72 24 Object Marker<br /> 6 IntelliSense: identifier "readdir" is undefined f:\itl\visual studio projects\object marker\object marker\main.cpp 87 28 Object Marker<br /> 7 IntelliSense: pointer to incomplete class type is not allowed f:\itl\visual studio projects\object marker\object marker\main.cpp 90 22 Object Marker<br /> 8 IntelliSense: pointer to incomplete class type is not allowed f:\itl\visual studio projects\object marker\object marker\main.cpp 91 51 Object Marker<br /> 9 IntelliSense: pointer to incomplete class type is not allowed f:\itl\visual studio projects\object marker\object marker\main.cpp 95 23 Object Marker<br /> 10 IntelliSense: identifier "closedir" is undefined f:\itl\visual studio projects\object marker\object marker\main.cpp 153 7 Object Marker<br />Ginson Mathewhttps://www.blogger.com/profile/01859336493256052780noreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-41486112633342183382013-10-21T10:13:09.549-07:002013-10-21T10:13:09.549-07:00Hi Ginson
What error you getting. Can you pas...Hi Ginson<br /> What error you getting. Can you paste here<br /><br />Lentin Josephhttps://www.blogger.com/profile/13816524077253592773noreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-16393666343663598712013-10-21T10:05:33.371-07:002013-10-21T10:05:33.371-07:00Hello Lentin,
Thanks for the code!!
I use Visual...Hello Lentin,<br /><br />Thanks for the code!!<br /><br />I use Visual studio 2010 on Windows7 (x64 bit) pc. I tried the above code, but couldn't compile the program.<br /><br />Can you sent the .exe file to my mail ginson.mathew@yahoo.com.<br /><br />Thanks a billion Lentin!!!<br />Ginson Mathewhttps://www.blogger.com/profile/01859336493256052780noreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-48701014021435230452013-09-08T19:52:28.940-07:002013-09-08T19:52:28.940-07:00Hi,
I am not able to view the folder opencv\\build...Hi,<br />I am not able to view the folder opencv\\build\\common\\x86 and hence the opencv_createsamples and other executables are not present.<br />What do you think is the problem?<br /><br />Thanks,<br />SravanthiAnonymoushttps://www.blogger.com/profile/12114027590136595554noreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-57531964832764804412013-08-07T21:22:11.258-07:002013-08-07T21:22:11.258-07:00Hi
Did you include opencv headers in your proje...Hi <br /><br /> Did you include opencv headers in your project. Please check Project settings->C/C++>include directories.Lentin Josephhttps://www.blogger.com/profile/13816524077253592773noreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-813548897684226212013-08-07T00:50:03.304-07:002013-08-07T00:50:03.304-07:00Hi sir,
i also used opencv 2.4.0 version in vs2008...Hi sir,<br />i also used opencv 2.4.0 version in vs2008 and when i tried to run the program the error look like this <br />1>------ Build started: Project: edshufa, Configuration: Release Win32 ------<br />1>Compiling...<br />1>maluoy.cpp<br />1>C:\Users\lot\Downloads\Programs\opencv\include\opencv\cv.h(63) : fatal error C1083: Cannot open include file: 'opencv2/core/core_c.h': No such file or directory<br />1>Build log was saved at "file://c:\Users\lot\Documents\Visual Studio 2008\Projects\edshufa\edshufa\Release\BuildLog.htm"<br />1>edshufa - 1 error(s), 0 warning(s)<br />========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========<br /><br />can you please tell me what's this error?thanks.<br /><br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-80303516833879905232013-08-01T11:41:27.919-07:002013-08-01T11:41:27.919-07:00Hi all
Make an empty project and do this, dont ...Hi all<br /><br /> Make an empty project and do this, dont use test project, that is only for learning purpose.<br /><br />After seeing this error,i builded this code using VS2008 and Opencv 2.4. It is working. Please note to build in release mode also include "dirent.h".<br /><br />Lentin Josephhttps://www.blogger.com/profile/13816524077253592773noreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-1755490803908364302013-07-31T20:26:24.451-07:002013-07-31T20:26:24.451-07:00Hi Lentin,
I used opencv 2.1.0 version on vs 2008 ...Hi Lentin,<br />I used opencv 2.1.0 version on vs 2008 and i copied the code above and set up everything but then there's an error,i don't know what is the problem really need help. These are the errors:<br />'Test.exe': Loaded 'C:\Users\Lolita\Documents\Visual Studio 2008\Projects\Test\Debug\Test.exe', Symbols loaded.<br />'Test.exe': Loaded 'C:\Windows\System32\ntdll.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\kernel32.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\KernelBase.dll'<br />'Test.exe': Loaded 'C:\OpenCV2.1\bin\cxcore210d.dll'<br />'Test.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.21022.8_none_96748342450f6aa2\msvcp90d.dll', Symbols loaded.<br />'Test.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.21022.8_none_96748342450f6aa2\msvcr90d.dll', Symbols loaded.<br />'Test.exe': Loaded 'C:\OpenCV2.1\bin\highgui210d.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\user32.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\gdi32.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\lpk.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\usp10.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\msvcrt.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\ole32.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\rpcrt4.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\advapi32.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\sechost.dll'<br />'Test.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af\comctl32.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\avifil32.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\winmm.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\msacm32.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\msvfw32.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\shell32.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\shlwapi.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\avicap32.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\version.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\olepro32.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\oleaut32.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\imm32.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\msctf.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\cryptbase.dll'<br />'Test.exe': Loaded 'C:\Windows\System32\uxtheme.dll'<br />The program '[3528] Test.exe: Native' has exited with code -1 (0xffffffff).<br /> Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-11242010445476041342013-07-31T19:40:01.354-07:002013-07-31T19:40:01.354-07:00i have setted the path where my dll are.
then eve...i have setted the path where my dll are.<br /><br />then everytime i run the program it always BREAk then this is what appears.<br /><br />Unhandled exception at 0x74d3346e in Test.exe: 0xC0000005: Access violation reading location 0x00000000ffffffea.<br />Anonymoushttps://www.blogger.com/profile/13899188585769780599noreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-7717378733684904562013-07-29T20:59:53.735-07:002013-07-29T20:59:53.735-07:00Hi Michael
Add the dll path into path of syst...Hi Michael<br /><br /> Add the dll path into path of system environmental variable.Lentin Josephhttps://www.blogger.com/profile/13816524077253592773noreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-24909627437315730872013-07-29T20:01:15.443-07:002013-07-29T20:01:15.443-07:00this are the errors i had..
msvcr100.dll!00000000...this are the errors i had..<br /> msvcr100.dll!00000000757e346e() <br /> [Frames below may be incorrect and/or missing, no symbols loaded for msvcr100.dll] <br />msvcr100.dll!00000000757be7e9() <br />>Test.exe!main(int argc, char * argv) Line 66 + 0x1d bytes C++<br />Test.exe!__tmainCRTStartup() Line 555 + 0x19 bytes C<br />kernel32.dll!0000000077b5652d() <br />ntdll.dll!0000000077c8c521() <br />Anonymoushttps://www.blogger.com/profile/13899188585769780599noreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-15293741290367336582013-07-29T00:08:47.731-07:002013-07-29T00:08:47.731-07:00my dll's are place on this directory D:\opencv...my dll's are place on this directory D:\opencv\build\x64\vc10\bin all the dll are in like this ex.(opencv_core246.dll) how can i set the path for it? is this to be configured within VS2010?how?Anonymoushttps://www.blogger.com/profile/13899188585769780599noreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-91749448221317161432013-07-28T21:04:36.985-07:002013-07-28T21:04:36.985-07:00Hi MVB109
I have done this tutorial in openc...Hi MVB109<br /><br /> I have done this tutorial in opencv 2.4.3. Opencv_test project, is using opencv 2.4.3. I think you have to change the dll names according to the version, othervice it shows error, and also try to build in release mode.Lentin Josephhttps://www.blogger.com/profile/13816524077253592773noreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-64392164072886946032013-07-28T16:48:01.503-07:002013-07-28T16:48:01.503-07:00the following are the errors i have when i copy th...the following are the errors i have when i copy the code.. im using VS2010, i also followed how you set up the opencv.my opencv version is 2.4.6, the latest one. please help, i am doing my project related to this one.<br />'Test.exe': Loaded 'C:\Users\Michael Vance\Documents\Visual Studio 2010\Projects\Test\x64\Debug\Test.exe', Symbols loaded.<br />'Test.exe': Loaded 'C:\Windows\System32\ntdll.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\System32\kernel32.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\System32\KernelBase.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Program Files\Bitdefender\Bitdefender 2013\active virus control\Avc3_00197_003\avcuf64.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'D:\opencv\build\x64\vc10\bin\opencv_core246d.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\System32\msvcp100d.dll', Symbols loaded.<br />'Test.exe': Loaded 'C:\Windows\System32\msvcr100d.dll', Symbols loaded.<br />'Test.exe': Loaded 'D:\opencv\build\x64\vc10\bin\opencv_highgui246d.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\System32\user32.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\System32\gdi32.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\System32\lpk.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\System32\usp10.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\System32\msvcrt.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\System32\ole32.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\System32\rpcrt4.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\System32\oleaut32.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\System32\advapi32.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\System32\sechost.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\winsxs\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_a4d6a923711520a9\comctl32.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\System32\avifil32.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\System32\winmm.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\System32\msacm32.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\System32\msvfw32.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\System32\shell32.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\System32\shlwapi.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\System32\avicap32.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\System32\version.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\System32\imm32.dll', Cannot find or open the PDB file<br />'Test.exe': Loaded 'C:\Windows\System32\msctf.dll', Cannot find or open the PDB file<br />The program '[1748] Test.exe: Native' has exited with code -1 (0xffffffff).Anonymoushttps://www.blogger.com/profile/13899188585769780599noreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-48762945838697925102013-02-03T03:50:02.644-08:002013-02-03T03:50:02.644-08:00Hi,
Thank you for this code.for the objectMarker i...Hi,<br />Thank you for this code.for the objectMarker i do the same work and the image is displayed,but when i click the mouse at the top left corner of the object area and hold it pressed then i drag the mouse to bottom right corner of the object, the rectangle is not drawn and the image disappears and the process is terminated.I don't know what is the problem !!!<br />Thank you fo your helpnarjesnoreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-32280092409934823942013-01-18T06:30:29.659-08:002013-01-18T06:30:29.659-08:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/04256220624023898610noreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-84270163942757223382013-01-18T06:13:43.619-08:002013-01-18T06:13:43.619-08:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/04256220624023898610noreply@blogger.comtag:blogger.com,1999:blog-5106299266700653707.post-66689320278755553452013-01-11T01:58:10.962-08:002013-01-11T01:58:10.962-08:00@ Lentin Joseph thank you very much the whole pro...@ Lentin Joseph thank you very much the whole program works for me Anonymoushttps://www.blogger.com/profile/06335176007064041044noreply@blogger.com