Interactive Shape Recognition
Implementaion of "A Simple Approach to Recognise Geometric Shapes Interactively" by Joaquim A. Jorge and Manuel J. Fonseca.
Installation
npm i interactive-shape-recognition
Usage
const detectShape = ; const points = // .. [x, y] positions ..; const shape = // shape is one of: "CIRCLE", "LINE", "RECTANGLE", "UNKNOWN"