Ask Your Question

zweistein's profile - activity

2013-02-07 04:29:53 -0600 received badge  Supporter (source)
2013-02-06 05:20:42 -0600 received badge  Editor (source)
2013-02-01 15:28:46 -0600 asked a question How to use cvBlobsLib in OpenCv Ubuntu

I built the cvblobslib int the opencv lib folder and i included the header file to my main.cpp. However all my tires and google search I cant find how to make it work. when I create a CBlobResult variable, after make i get this error:

CMakeFiles/bag.dir/main.o: In function `main':
main.cpp:(.text+0x28d): undefined reference to `CBlobResult::CBlobResult()'
main.cpp:(.text+0x3de): undefined reference to `CBlobResult::~CBlobResult()'
main.cpp:(.text+0x3fd): undefined reference to `CBlobResult::~CBlobResult()'
collect2: ld returned 1 exit status
make[2]: *** [bag] Error 1
make[1]: *** [CMakeFiles/bag.dir/all] Error 2
make: *** [all] Error 2

I think the problem is that the linker can't find the cvblobslib package. I'm using cmake file but i have no idea how to solve this problem.

2013-02-01 12:45:54 -0600 commented answer find a specific balck object with white spot on an image

Hey, thx for the suggestions, one more question, how can I install the cvBlobLib (i found it ok for my problem) under Ubuntu? Or should I use some other blob lib? If yes could you be so kind to give the appropriate tutorial? Thx

2013-01-31 19:43:20 -0600 received badge  Student (source)
2013-01-31 16:32:23 -0600 asked a question find a specific balck object with white spot on an image

Hey,

I'm, quit new with openCV, but i have a problem to solve quick and with reliable result.

First ,i have a video feed, i must find THE object on each frame.(the algorithm should be the same for 1 image) The Object is a black bag with a white light source on the middle, so its like a black ellipse with a white ellipse on it. image description

I need a simple solution which works in case the bag is closer or further on the image. I tired with finding ellipses, but it find more ellipse than i need and i'm not sure how to select the two on my "bag"...

I manged to identify the bag with lamp, however it is not working in every case, cuz there might be other black blobs with one or more white blob on it.

What should be a correct filtering? If the size of the bag chances in time, cuz i'm going closer and i observed that the proportion between the area of the bag and lamp is not a neighborhood of a value.