Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 719 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 719 Bytes

Shape Recognize

Example of simple algorithm to recognize shape from array of points.

Build

Clone repository and start following command:

mvn package assembly:single

Usage

Start application using following command:

java -jar target/recognize-shape-1.0-jar-with-dependencies.jar

You can draw any shape using left mouse button. After shape is drawn algorithm will recognize the shape. Algorithm recognizes only polygons with 3-5 points and circles.

Examples

Triangle Square Polygon Ellipse Star Not recognized