Simple lightweight library to draw polygons over images. This library was created to markup areas on the photo, where the computer vision algorithms will track events. Any other usecase is appreciated, contact me on issues.
npm install ngx-polygon-draw
" (created)="created($event)">
[{x: 248.09375, y: 111}, {x: 194.09375, y: 179}, {x: 221.09375, y: 235}, {x: 366.09375, y: 255}]
clearCanvas() - method allows you to delete existing points
undo() - method allows you to undo action
mitia2022@gmail.com
@Hennessy81