Shape detection


I start working for last few days on a simple solution to do basic shape detection. I am trying to detect basic shapes using simple math, eventually port it on my CTS module.

So far looks pretty well, it works fine with squares, rectangles, circles and ellipses. Still long way to go but looks promising at least with the test images.

 

circles squares

 

Next step is to get the code working with triangles and optimise it to run on an MCU…

Advertisements

4 thoughts on “Shape detection

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s