issue 12
(how to create libblob.lib?) commented on by intellyoung
- hi.
can i ask what kind of video clip u use to test your program? is it complex
environment or only one object in the scene to tracked?
thanks.
hi.
can i ask what kind of video clip u use to test your program? is it complex
environment or only one object in the scene to tracked?
thanks.
Aug 13, 2009
issue 12
(how to create libblob.lib?) commented on by iacopo.masi
- Mhhh it seems strange that collapse after some frames...I was thinking to upload a
new version of the video-tracker more improved and with a cleaned up source-code.
Mhhh it seems strange that collapse after some frames...I was thinking to upload a
new version of the video-tracker more improved and with a cleaned up source-code.
Aug 13, 2009
issue 12
(how to create libblob.lib?) commented on by intellyoung
- i'm sorry that i didn't notice other issues n i know how to do it now. btw, i use a
video clip to test your program n it collapses after about 125 frames. i don't know
whether i misuse your program or not?
i'm sorry that i didn't notice other issues n i know how to do it now. btw, i use a
video clip to test your program n it collapses after about 125 frames. i don't know
whether i misuse your program or not?
Aug 13, 2009
issue 12
(how to create libblob.lib?) reported by intellyoung
- hello. when building solution, libblob.lib is needed. i use windows
instead of linux, so libblob.a is not useful for me.
can i ask how to create libblob.lib? is it created using cvBlobsLib?
thanks a lot.
hello. when building solution, libblob.lib is needed. i use windows
instead of linux, so libblob.a is not useful for me.
can i ask how to create libblob.lib? is it created using cvBlobsLib?
thanks a lot.
Apr 07, 2009
issue 11
(Sample video to test with the data??) reported by jeremychuahy
- Hi admins, to begin with, sorry i am not rasing an issue and thanks for
your hardwork. I checkout the code from SVN, but i would like to run it. I
searched the whole folder but could not find any video that goes it.
Kindly enlighten me!
THANKS IN ADVANCE!! :)
Hi admins, to begin with, sorry i am not rasing an issue and thanks for
your hardwork. I checkout the code from SVN, but i would like to run it. I
searched the whole folder but could not find any video that goes it.
Kindly enlighten me!
THANKS IN ADVANCE!! :)
Feb 23, 2009
issue 10
(Please help me if you make it build on Visual C++) commented on by thomas.zubeli
- I didn't go through all of it before, but it seems that you also have a linking
problem, the exact same, with wxWidgets. You didn't give the linker the good
libraries. Follow the tutorial http://wiki.wxwidgets.org/Microsoft_Visual_C%2B%2B_Guide , especially the "Creating a
New Project by Hand" part.
I didn't go through all of it before, but it seems that you also have a linking
problem, the exact same, with wxWidgets. You didn't give the linker the good
libraries. Follow the tutorial http://wiki.wxwidgets.org/Microsoft_Visual_C%2B%2B_Guide , especially the "Creating a
New Project by Hand" part.
Feb 23, 2009
issue 10
(Please help me if you make it build on Visual C++) commented on by thomas.zubeli
- It's not a compiling error, it's a linking one!
In Visual C++, go to the "Project" menu -> "Properties" -> "Linker" tab -> "Input"
category -> "Additional Dependencies" and then add "cvblobls.lib" to the possible
libraries already there.
It worked for me, hope it will for you
It's not a compiling error, it's a linking one!
In Visual C++, go to the "Project" menu -> "Properties" -> "Linker" tab -> "Input"
category -> "Additional Dependencies" and then add "cvblobls.lib" to the possible
libraries already there.
It worked for me, hope it will for you
Feb 22, 2009
issue 10
(Please help me if you make it build on Visual C++) reported by caoson83
- Dear,
I tried to build the project by create win32 console from existing code.
But there are a lot errors. I already build the wxWidget and put them in
VC/include
C:\wxWidgets-2.8.9\lib\vc_lib\mswd\
C:\wxWidgets-2.8.9\include
I also copy the cvblobslib.lib to the project folder and use /MDd for
runtime library.
If you could made it build successfully in Visual Studio, please help me
with a zip file of your project or sth... to tua08698@temple.edu.
Your help is very appreciated.
Here below I attached my error for build
Dear,
I tried to build the project by create win32 console from existing code.
But there are a lot errors. I already build the wxWidget and put them in
VC/include
C:\wxWidgets-2.8.9\lib\vc_lib\mswd\
C:\wxWidgets-2.8.9\include
I also copy the cvblobslib.lib to the project folder and use /MDd for
runtime library.
If you could made it build successfully in Visual Studio, please help me
with a zip file of your project or sth... to tua08698@temple.edu.
Your help is very appreciated.
Here below I attached my error for build
Feb 19, 2009
issue 9
(segmentation fault) commented on by denis.renno
- Hi
I have the same problem. Segmentation fault
Hi
I have the same problem. Segmentation fault
Feb 04, 2009
issue 3
(Error when i use make ) commented on by iacopo.masi
- Ok! Well done. You are welcome. The best of development in linux is that "you
understand what you are doing" because the shell is difficult, but if you keep in
mind what writing, you cannot go wrong. This is the opposite that happens when you
use the IDE and wizard env. Thery are good to use if you have a previous idea of how
works the things "under the hood".
Ok! Well done. You are welcome. The best of development in linux is that "you
understand what you are doing" because the shell is difficult, but if you keep in
mind what writing, you cannot go wrong. This is the opposite that happens when you
use the IDE and wizard env. Thery are good to use if you have a previous idea of how
works the things "under the hood".
Feb 04, 2009
issue 3
(Error when i use make ) commented on by priyakrishna06
- thanks a lot for ur help. I put libblob.a in /usr/lib not in
/abc/workspace/blobdetection.
In c++ linker --> cv
highgui
blob
--> Libraries seach path-->/usr/lib
--> miscellaneous->-lcxcore -lcv -lhighgui -lblob
its working now.
Once again thanks.
thanks a lot for ur help. I put libblob.a in /usr/lib not in
/abc/workspace/blobdetection.
In c++ linker --> cv
highgui
blob
--> Libraries seach path-->/usr/lib
--> miscellaneous->-lcxcore -lcv -lhighgui -lblob
its working now.
Once again thanks.
Feb 04, 2009
issue 3
(Error when i use make ) commented on by priyakrishna06
- thanks a lot for ur help. its working now.I put libblob.a in /usr/lib not in
/abc/workspace/blobdetection. its working .
In c++ linker --> cv
highgui
blob
Once again thanks.
thanks a lot for ur help. its working now.I put libblob.a in /usr/lib not in
/abc/workspace/blobdetection. its working .
In c++ linker --> cv
highgui
blob
Once again thanks.
Feb 04, 2009
issue 3
(Error when i use make ) commented on by iacopo.masi
- I explained you why you get this error: the linker system does not find the library
lBlob.
First of all if you set the GCC C++ Linker-->Libraries, you don't have to do twice in
the miscellaneous->-lcxcore -lcv -lhighgui -lBlob -lBlobResult
-lBlobExtraction . So erares the "miscellanesous" string in Eclipse.
Then the library path of opencv is correct /usr/lib, but instead what is the library
path of the other Blob Lib?
Follow me: but the lblob.a file taken from this svn and put it in
/abc/workspace/blobdetection and then fix the Eclipse project like this:
GCC C++ Linker-->Libraries--> cv
highgui
cxcore
blob
Tell me the result, however I suggest you to experience with command line
compiling,linking, static/dyanmic library and the Makefile env. under Linux.
The Eclipse CDT configuration tools is only a GUI to configure the Makefile to
compile the project.
http://en.wikipedia.org/wiki/Make_(software)
I explained you why you get this error: the linker system does not find the library
lBlob.
First of all if you set the GCC C++ Linker-->Libraries, you don't have to do twice in
the miscellaneous->-lcxcore -lcv -lhighgui -lBlob -lBlobResult
-lBlobExtraction . So erares the "miscellanesous" string in Eclipse.
Then the library path of opencv is correct /usr/lib, but instead what is the library
path of the other Blob Lib?
Follow me: but the lblob.a file taken from this svn and put it in
/abc/workspace/blobdetection and then fix the Eclipse project like this:
GCC C++ Linker-->Libraries--> cv
highgui
cxcore
blob
Tell me the result, however I suggest you to experience with command line
compiling,linking, static/dyanmic library and the Makefile env. under Linux.
The Eclipse CDT configuration tools is only a GUI to configure the Makefile to
compile the project.
http://en.wikipedia.org/wiki/Make_(software)
Feb 03, 2009
issue 3
(Error when i use make ) commented on by priyakrishna06
- my program is in the following directory:
/abc/workspace/blobdetection:
I am using eclipse cdt in ubuntu 7.10.
I tried to write the C++ code using opencv and
eclipse by managed make c++ project.
in the blob detection program I included the following headers.
#include <iostream>
#include "cv.h"
#include "cxcore.h"
#include "highgui.h"
#include "BlobResult.h"
#include "BlobExtraction.h"
#include "Blob.h"
#include <stdio.h>
and in project -->properties --> C/C++ Build --> Tool settings
-->GCC C++ Linker-->Libraries--> cv
highgui
Blob
BlobResult
BlobExtraction
--> Libraries seach path-->/usr/lib
--> miscellaneous->-lcxcore -lcv -lhighgui -lBlob -lBlobResult
-lBlobExtraction
I tried sudo make in the terminal from the /abc/workspace/blobdetection directory.
But its not generatin libblob.a
error: /usr/bin/ld: cannot find -lBlob
my program is in the following directory:
/abc/workspace/blobdetection:
I am using eclipse cdt in ubuntu 7.10.
I tried to write the C++ code using opencv and
eclipse by managed make c++ project.
in the blob detection program I included the following headers.
#include <iostream>
#include "cv.h"
#include "cxcore.h"
#include "highgui.h"
#include "BlobResult.h"
#include "BlobExtraction.h"
#include "Blob.h"
#include <stdio.h>
and in project -->properties --> C/C++ Build --> Tool settings
-->GCC C++ Linker-->Libraries--> cv
highgui
Blob
BlobResult
BlobExtraction
--> Libraries seach path-->/usr/lib
--> miscellaneous->-lcxcore -lcv -lhighgui -lBlob -lBlobResult
-lBlobExtraction
I tried sudo make in the terminal from the /abc/workspace/blobdetection directory.
But its not generatin libblob.a
error: /usr/bin/ld: cannot find -lBlob
Feb 03, 2009
issue 3
(Error when i use make ) commented on by priyakrishna06
- still I didnt got...
still I didnt got...
Feb 02, 2009
issue 3
(Error when i use make ) commented on by iacopo.masi
- if the filename of the library is liblob.a try to pass the compier -lblob withouth
the "B", but with "b" in the same case of the filename.
This option can be set in Eclipse Project under C/C++ Linker options when you set
the linking library. So try to erase the string in Eclipse in Miscellaneous.
if the filename of the library is liblob.a try to pass the compier -lblob withouth
the "B", but with "b" in the same case of the filename.
This option can be set in Eclipse Project under C/C++ Linker options when you set
the linking library. So try to erase the string in Eclipse in Miscellaneous.
Feb 01, 2009
issue 3
(Error when i use make ) commented on by priyakrishna06
- I downloaded the blobs library for linux from
http://opencv.willowgarage.com/wiki/cvBlobsLib.
I put libblob.a in the same directory of the binary.
Then I compiled the program. Still error.
/usr/bin/ld: cannot find -lBlob
collect2: ld returned 1 exit status-lBlob
Can you tell me where to change
g++ ./src/blobtrack.o -o blobtracking -L/usr/lib -lcv -lBlobExtraction
-lBlobLibraryConfiguration -lBlob -lBlobResult -lhighgui -lcvaux
I downloaded the blobs library for linux from
http://opencv.willowgarage.com/wiki/cvBlobsLib.
I put libblob.a in the same directory of the binary.
Then I compiled the program. Still error.
/usr/bin/ld: cannot find -lBlob
collect2: ld returned 1 exit status-lBlob
Can you tell me where to change
g++ ./src/blobtrack.o -o blobtracking -L/usr/lib -lcv -lBlobExtraction
-lBlobLibraryConfiguration -lBlob -lBlobResult -lhighgui -lcvaux
Jan 30, 2009
issue 3
(Error when i use make ) commented on by iacopo.masi
- The error seems caused by the linker that doesn't load the correct dynamic library
Blob.so one passed throughout -lBlob parameter.
Moreover why do you pass two times the library at the linker?
g++ -L/usr/lib -Xlinker -lcxcore -lcv -lhighgui -lBlob -lBlobResult
-lBlobLibraryConfiguration -lBlobExtraction (first time)-o"blobtracking"
./src/blobtrack.o
-lcv -lBlobExtraction -lBlobLibraryConfiguration -lBlob -lBlobResult -lhighgui
-lcvaux (second time)
change that in :
g++ ./src/blobtrack.o -o blobtracking -L/usr/lib -lcv -lBlobExtraction
-lBlobLibraryConfiguration -lBlob -lBlobResult -lhighgui -lcvaux
In my program I put the libblob.a static library in the same directory of the binary
and then passed the compiler this: -L. -lblob
Where did you pick the Blob library?
The error seems caused by the linker that doesn't load the correct dynamic library
Blob.so one passed throughout -lBlob parameter.
Moreover why do you pass two times the library at the linker?
g++ -L/usr/lib -Xlinker -lcxcore -lcv -lhighgui -lBlob -lBlobResult
-lBlobLibraryConfiguration -lBlobExtraction (first time)-o"blobtracking"
./src/blobtrack.o
-lcv -lBlobExtraction -lBlobLibraryConfiguration -lBlob -lBlobResult -lhighgui
-lcvaux (second time)
change that in :
g++ ./src/blobtrack.o -o blobtracking -L/usr/lib -lcv -lBlobExtraction
-lBlobLibraryConfiguration -lBlob -lBlobResult -lhighgui -lcvaux
In my program I put the libblob.a static library in the same directory of the binary
and then passed the compiler this: -L. -lblob
Where did you pick the Blob library?
Jan 29, 2009
issue 3
(Error when i use make ) commented on by priyakrishna06
- I am getting the following error when I tried to run the below C++ program using opencv:
#include <iostream>
#include "cv.h"
#include "cxcore.h"
#include "highgui.h"
#include "BlobResult.h"
#include "BlobExtraction.h"
#include "Blob.h"
#include "BlobLibraryConfiguration.h"
#include <stdio.h>
int main( int argc, char **argv)
{
IplImage* input;
IplImage* output;
input = cvLoadImage("src.jpg", 1);
output = cvCreateImage(cvSize(input->width, input->height), IPL_DEPTH_8U, 1);
CBlobResult blobs;
blobs = CBlobResult(input, NULL, 100, true );
int i;
CBlob Blob;
int iMaxx, iMinx, iMaxy, iMiny, iMeanx, iMeany;
// for each blob
for (i=0; i<blobs.GetNumBlobs(); ++i)
{
// get the blob info
Blob = blobs.GetBlob(i);
// Get max, and min co-ordinates
iMaxx=(int)Blob.MaxX();
iMinx=(int)Blob.MinX();
iMaxy=(int)Blob.MaxY();
iMiny=(int)Blob.MinY();
// find the average of the blob (ie estimate its centre)
iMeanx=(iMinx+iMaxx)/2;
iMeany=(iMiny+iMaxy)/2;
// mark centre
cvLine( output, cvPoint(iMeanx, iMeany), cvPoint(iMeanx, iMeany),CV_RGB(255, 0 , 0),
4, 8, 0 );
// Mark box around blob
cvRectangle (output, cvPoint (iMinx, iMiny), cvPoint (iMaxx,iMaxy ), CV_RGB(255,
255, 255), 1, 8, 0);
// print the blob centres
printf("n%d, X: %d, Y: %dn", i, iMeanx, iMeany);
}
cvNamedWindow("inputimage", CV_WINDOW_AUTOSIZE);
cvNamedWindow("outputimage",1);
cvShowImage("inputimage", input);
cvShowImage("outputimage",output);
cvWaitKey(0);
cvReleaseImage( &input );
cvReleaseImage( &output);
//cvReleaseImage( &dst );
cvDestroyAllWindows();
return 0;
}
error:
-------
Building target: blobtracking
Invoking: GCC C++ Linker
g++ -L/usr/lib -Xlinker -lcxcore -lcv -lhighgui -lBlob -lBlobResult
-lBlobLibraryConfiguration -lBlobExtraction -o"blobtracking" ./src/blobtrack.o
-lcv -lBlobExtraction -lBlobLibraryConfiguration -lBlob -lBlobResult -lhighgui -lcvaux
/usr/bin/ld: cannot find -lBlob
collect2: ld returned 1 exit status
make: *** [blobtracking] Error 1
make: Target `all' not remade because of errors.
Build complete for project blobtracking
----------------------------------------------------------
I tried to compile the above program in ubuntu 7.10 and eclipse
I included the following in project properties in both debug and release mode:
In GC++ Linker -> Libraries -> cv highgui cvaux Blob BlobExtraction BlobResult and
BlobLibraryConfiguration
-> in miscellaneous -> -lcxcore -lcv -lhighgui -lBlob -lBlobResult
-lBlobLibraryConfiguration -lBlobExtraction
Still i m getting the error.
Please help me to resolve this error. Very urgent.
Regards
Priya
I am getting the following error when I tried to run the below C++ program using opencv:
#include <iostream>
#include "cv.h"
#include "cxcore.h"
#include "highgui.h"
#include "BlobResult.h"
#include "BlobExtraction.h"
#include "Blob.h"
#include "BlobLibraryConfiguration.h"
#include <stdio.h>
int main( int argc, char **argv)
{
IplImage* input;
IplImage* output;
input = cvLoadImage("src.jpg", 1);
output = cvCreateImage(cvSize(input->width, input->height), IPL_DEPTH_8U, 1);
CBlobResult blobs;
blobs = CBlobResult(input, NULL, 100, true );
int i;
CBlob Blob;
int iMaxx, iMinx, iMaxy, iMiny, iMeanx, iMeany;
// for each blob
for (i=0; i<blobs.GetNumBlobs(); ++i)
{
// get the blob info
Blob = blobs.GetBlob(i);
// Get max, and min co-ordinates
iMaxx=(int)Blob.MaxX();
iMinx=(int)Blob.MinX();
iMaxy=(int)Blob.MaxY();
iMiny=(int)Blob.MinY();
// find the average of the blob (ie estimate its centre)
iMeanx=(iMinx+iMaxx)/2;
iMeany=(iMiny+iMaxy)/2;
// mark centre
cvLine( output, cvPoint(iMeanx, iMeany), cvPoint(iMeanx, iMeany),CV_RGB(255, 0 , 0),
4, 8, 0 );
// Mark box around blob
cvRectangle (output, cvPoint (iMinx, iMiny), cvPoint (iMaxx,iMaxy ), CV_RGB(255,
255, 255), 1, 8, 0);
// print the blob centres
printf("n%d, X: %d, Y: %dn", i, iMeanx, iMeany);
}
cvNamedWindow("inputimage", CV_WINDOW_AUTOSIZE);
cvNamedWindow("outputimage",1);
cvShowImage("inputimage", input);
cvShowImage("outputimage",output);
cvWaitKey(0);
cvReleaseImage( &input );
cvReleaseImage( &output);
//cvReleaseImage( &dst );
cvDestroyAllWindows();
return 0;
}
error:
-------
Building target: blobtracking
Invoking: GCC C++ Linker
g++ -L/usr/lib -Xlinker -lcxcore -lcv -lhighgui -lBlob -lBlobResult
-lBlobLibraryConfiguration -lBlobExtraction -o"blobtracking" ./src/blobtrack.o
-lcv -lBlobExtraction -lBlobLibraryConfiguration -lBlob -lBlobResult -lhighgui -lcvaux
/usr/bin/ld: cannot find -lBlob
collect2: ld returned 1 exit status
make: *** [blobtracking] Error 1
make: Target `all' not remade because of errors.
Build complete for project blobtracking
----------------------------------------------------------
I tried to compile the above program in ubuntu 7.10 and eclipse
I included the following in project properties in both debug and release mode:
In GC++ Linker -> Libraries -> cv highgui cvaux Blob BlobExtraction BlobResult and
BlobLibraryConfiguration
-> in miscellaneous -> -lcxcore -lcv -lhighgui -lBlob -lBlobResult
-lBlobLibraryConfiguration -lBlobExtraction
Still i m getting the error.
Please help me to resolve this error. Very urgent.
Regards
Priya
Older
Dec 18, 2008
issue 9
(segmentation fault) commented on by iacopo.masi
- mhh strange.
Do you have the data.txt file in the path where you launch it?
mhh strange.
Do you have the data.txt file in the path where you launch it?
Dec 16, 2008
issue 9
(segmentation fault) reported by aliensunmin
- Hi all,
I checkout the read-only code and successfully compiles it on linux (ubuntu
8.10). However, when I try to run ./video-tracker xx.avi,
it returns segmentation fault.
Any suggestions?
Thanks in advance.
Best Regards,
Min Sun
Hi all,
I checkout the read-only code and successfully compiles it on linux (ubuntu
8.10). However, when I try to run ./video-tracker xx.avi,
it returns segmentation fault.
Any suggestions?
Thanks in advance.
Best Regards,
Min Sun
Aug 03, 2008
issue 8
(blob library for mac) commented on by iacopo.masi
- good! issue closed!
good! issue closed!
Jul 28, 2008
issue 8
(blob library for mac) commented on by bostonimolins
- done issue. just downloaded http://opencvlibrary.sourceforge.net/cvBlobsLib?
action=AttachFile&do=view&target=cvblobslib_v6_linux.tar.gz , introduced the right parameters in the makefile
for it to find opencv library, and generated a correct libblob.a for my machine..
i hope this helps.
done issue. just downloaded http://opencvlibrary.sourceforge.net/cvBlobsLib?
action=AttachFile&do=view&target=cvblobslib_v6_linux.tar.gz , introduced the right parameters in the makefile
for it to find opencv library, and generated a correct libblob.a for my machine..
i hope this helps.
Jul 28, 2008
issue 8
(blob library for mac) reported by bostonimolins
- I am trying to compile in a Mac Intel, and libblob.a as provided is not from required architecture.
How can I re-compile the library so I can run the code? i.e., where is that library from?
thanks a lot,
A
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
I am trying to compile in a Mac Intel, and libblob.a as provided is not from required architecture.
How can I re-compile the library so I can run the code? i.e., where is that library from?
thanks a lot,
A
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.