Skip to content

Implementaion of "A Simple Approach to Recognise Geometric Shapes Interactively" by Joaquim A. Jorge and Manuel J. Fonseca.

License

Notifications You must be signed in to change notification settings

inkandswitch/interactive-shape-recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

Implementaion of "A Simple Approach to Recognise Geometric Shapes Interactively" by Joaquim A. Jorge and Manuel J. Fonseca.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published