interactive-shape-recognition

1.0.1 • Public • Published

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 = require("Interactive-shape-recognition");
 
const points = [
  // .. [x, y] positions ..
];
 
const { shape } = detectShape(points)
 
// shape is one of: "CIRCLE", "LINE", "RECTANGLE", "UNKNOWN"

Readme

Keywords

none

Package Sidebar

Install

npm i interactive-shape-recognition

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

4.72 kB

Total Files

4

Last publish

Collaborators

  • szymon_k
  • jeffpeterson