Ask Your Question
0

unhandled exception when calling CBlobResult

asked 2013-04-09 08:52:59 -0600

djou gravatar image

updated 2020-10-17 02:59:34 -0600

Hello guys,

I have a very urgent question that I really appreciate if you guys help me. I have installed cvblobslib_OpenCV_v8_3 but am not able to use it since it crashes after calling the following function:

blobs = CBlobResult( img, NULL, 100, true );

It shows me this message:

Unhandled exception at 0x75d6c41f in testBlobs.exe: 0xC0000005: C++ Microsoft Exception : int à l ...

at runtime:

OpenCV Error: Incorrect size of input array <Specified element size doesn't match to the size of the specified element type <try to use 0 for element type >> in unknown finction, file ..\..\..\modules\core\src\datastructs.cpp, line 388

and debug output

2010\Projects\testBlobs\Debug\testBlobs.exe', Les symboles ont été chargés.
'testBlobs.exe' : Chargé 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'testBlobs.exe' : Chargé 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'testBlobs.exe' : Chargé 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'testBlobs.exe' : Chargé 'C:\opencv231\bin\Debug\opencv_core231d.dll', Les symboles ont été chargés.
'testBlobs.exe' : Chargé 'C:\Windows\SysWOW64\msvcp100d.dll', Les symboles ont été chargés.
'testBlobs.exe' : Chargé 'C:\Windows\SysWOW64\msvcr100d.dll', Les symboles ont été chargés.
'testBlobs.exe' : Chargé 'C:\opencv231\bin\Debug\opencv_highgui231d.dll', Les symboles ont été chargés.
'testBlobs.exe' : Chargé 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file
'testBlobs.exe' : Chargé 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file
'testBlobs.exe' : Chargé 'C:\Windows\SysWOW64\lpk.dll', Cannot find or open the PDB file
'testBlobs.exe' : Chargé 'C:\Windows\SysWOW64\usp10.dll', Cannot find or open the PDB file
'testBlobs.exe' : Chargé 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file
'testBlobs.exe' : Chargé 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file
'testBlobs.exe' : Chargé 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file
'testBlobs.exe' : Chargé 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file
'testBlobs.exe' : Chargé 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file
'testBlobs.exe' : Chargé 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file
'testBlobs.exe' : Chargé 'C:\Windows\SysWOW64\ole32.dll', Cannot find or open the PDB file
'testBlobs.exe' : Chargé 'C:\Windows\SysWOW64\oleaut32.dll', Cannot find or open the PDB file
'testBlobs.exe' : Chargé 'C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af\comctl32.dll', Cannot find or open the PDB file
'testBlobs.exe' : Chargé 'C:\Windows\SysWOW64\avifil32.dll', Cannot find or open the PDB file
'testBlobs.exe' : Chargé 'C:\Windows\SysWOW64\winmm.dll', Cannot find or open the PDB file
'testBlobs.exe' : Chargé 'C:\Windows\SysWOW64\msacm32.dll', Cannot find or open the PDB file
'testBlobs.exe' : Chargé 'C:\Windows\SysWOW64\msvfw32.dll', Cannot find or open the PDB file
'testBlobs.exe' : Chargé 'C:\Windows\SysWOW64\shell32.dll', Cannot find or open the PDB file
'testBlobs.exe' : Chargé 'C:\Windows\SysWOW64\shlwapi.dll', Cannot ...
(more)
edit retag flag offensive close merge delete

Comments

Your command already show a CBlobResult, and it should be CvBlobResult. Be sure to type it correctly.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-04-09 09:08:23 -0600 )edit

no it is like this, CBlobResult...

djou gravatar imagedjou ( 2013-04-09 09:17:30 -0600 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2013-04-09 09:11:40 -0600

Basically CvBlobsLib is a standalone library provided by users and available at

http://sourceforge.net/projects/cvblobslib/files/latest/download

When downloading this, there is an example.txt file, which shows how to implement this library.

edit flag offensive delete link more

Comments

thanks for answering...but I still dont know about the exception...

djou gravatar imagedjou ( 2013-04-09 09:19:42 -0600 )edit

Basically put some effort into everything. Place your code, place the complete error. How do we need to define what goes wrong if you do not give us any lead to go with?

StevenPuttemans gravatar imageStevenPuttemans ( 2013-04-09 09:21:56 -0600 )edit

I edited it

djou gravatar imagedjou ( 2013-04-09 09:40:40 -0600 )edit

Next time use code make-up. Will have a look at the error tonight.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-04-09 09:46:15 -0600 )edit
1

I think I did not well install cvblobslib..I'm gonna try installing it...

djou gravatar imagedjou ( 2013-04-10 01:40:45 -0600 )edit

Question Tools

Stats

Asked: 2013-04-09 08:52:59 -0600

Seen: 1,106 times

Last updated: Apr 09 '13