I have a task:

In a set of two-dimensional shapes there are triangles, rectangles, octagons, rhombuses, circles and ellipses. Recognize triangles and rectangles

How to implement this in C #?

    1 answer 1

    There is a wonderful library for recognition, processing (and much more) of images - OpenCV . Under the link in the Ссылки section you will find libraries for use in C #. But, I will simplify the task for you, here is the link where the solution is given, from official examples, on the recognition of a triangle and a square.

    • Thank you very much, although I understood where to dig, in which direction !!! - Zhenya Polyakov
    • Yes, EmguCV works fine. Here is the link to the lib itself: sourceforge.net/projects/emgucv - ArtFeel