jsbroks / coco-annotator

:pencil2: Web-based image segmentation tool for object detection, localization, and keypoints
MIT License
2.09k stars 458 forks source link

Performance issues after adding brush annotation #150

Open tomasjuri opened 5 years ago

tomasjuri commented 5 years ago

I am experiencing a significant performance drop that increases with a number of brush annotations added. This eventually results in the annotator freezing or even crashing. It also makes the tool inconvenient to use in real-life annotation scenario.

I am using:

How to replicate the issue:

jsbroks commented 5 years ago

This issue is a limitation of PaperJS.

A possible solution is to increase the amount of simplification found in the left toolbar under the gear icon. Try to limit the amount of annotation points to only what you need.

Also, make sure to only show annotations you need.

I have created an issue on there repo paperjs/paper.js#1644

AdanMora commented 5 years ago

I have experienced performance issues using Google Chrome, the perfomance is much better with Firefox. Try that.

jsbroks commented 5 years ago

Paper Sketch