you're reading...

Contour is so beautiful

After a whole night… fiuh… This is what I call “beautiful”.

cvFindContours and cvApproxPoly functions play the big role here. To remove the unexpected contours appear, filter it using how big the area the contours should have. To draw the nice red lines that adapt to sequence running (this is webcam), use cvPolyLine and cvCvtSeqToArray regarding to 4 points that is modeled by CvPoint. The green and blue circles are drawn using cvCircle.

Now time to stay away from the computer.

About Winnu Ayi

Computer Engineer. Computer Scientist.


One thought on “Contour is so beautiful

  1. Itu gambarnya emang blur, ato koneksi ane yang lemot yak –“

    Posted by Miftahgeek | 24 November 2010, 09:57

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: