Contours.ts
Extract shapes & contours in an image, for browsers and node.js.


Features
How to use
Use
import { ContourFinder } from 'contours.ts'
const contours = new ContourFinder(imageData).threshold().extract()
console.log(contours)
Install
Recommended way to install is by using package manager (npm, yarn etc):
npm i contours.ts
or use cdn:
<script src="//unpkg.com/contours.ts"></script>
or download manually:
contours.ts
Contributions
Contirbutions are welcome, entire code base is filled with comments and tests
are defined using jest