Ask Your Question
0

Find position and size of blob, opencv c++ ms visual studio, win7, 64bit

asked 2013-05-05 17:22:49 -0500

MattiasR gravatar image

I am building this system that detects/tracks a face(realtime). From that I want to measure som parameters from the eyes of the person in view(blinks for example). The tracking part is working well and I am able to get this output from the data: image description image description

You've might have seen my previous post here where I ask for help with the findContour method. it seems like this method doesnt want to work on my computer, (dont know why), so I have to find another way.

I've tried houghCircles, but the resulting circles becomes really strange with positions at -203942034 pixels or so.

So I wonder. What alternatives do I have to find the size and position of the (biggest, due to noise) blob in the matrix visible above.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-05-06 03:58:57 -0500

See this post and more specially the last part if findContour function doesn't work as expected. As SimpleBlobExtractor is using findContour internally, maybe you can see if the error is coming from your usage or from findContour directly.

edit flag offensive delete link more

Comments

Thanks for your answer. At last I found what was wrong with my project. (I messed up the libraries, used relase for debug)

MattiasR gravatar imageMattiasR ( 2013-05-07 03:27:42 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-05-05 17:22:49 -0500

Seen: 1,939 times

Last updated: May 06 '13