views:

257

answers:

2

Hi,

Can anyone tell me how to recognize geometric shape using C#?

I have geometric shapes like triangle, hexagon, pentagon, diamond, square,parallelogram, rectangle, etc. I have drawn all these shapes using mspaint.

i have one picture box, using opendialog i am selecting any of the geometric shapes, into picturebox. I want to identify the shape of the image & extreme points. As it is hand made image, i want to draw a proper image using extreme points.

If anyone has some code or some references, then please send it to me...

I need it very very urgently.

Thanks, Riya

+1  A: 

You could try using a neural network http://www.generation5.org/content/2004/aiSomPic.asp

or Hough Transform http://www.generation5.org/content/2008/houghTransform.asp

Phyx
A: 

Or you could look into edge detection and/or vectorization. Good luck!

peSHIr