Geometric shape recognition and search for extreme points in C #

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

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

I have one box with an image using opendialog, I select any of the geometric shapes in the picturebox. I want to determine the shape of the image and the extreme points. Since this is a manual image, I want to draw the correct image using the extreme points.

If anyone has a code or some links, please send it to me ...

I need this very urgently.

Thanks, Riya

+3
source share
2 answers

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

0
source

Source: https://habr.com/ru/post/1744462/


All Articles