DrSensor / vue-annotator

Vue Component for drawing annotation (rect, polygon, etc) using SVG element
http://vue-annotator.surge.sh
MIT License
79 stars 16 forks source link

[Ask] alternative to this library/component? #28

Open DrSensor opened 4 years ago

DrSensor commented 4 years ago

Anyone know a framework agnostics annotation using SVG element that has a similar mechanism (using slot or others) like vue-annotator (this lib)?

Or at least framework specifics! I'm thinking to do some survey and see if it's worth remaking this library 🤔

YoussefKassem commented 4 years ago

I have tried to find other annotation tools using SVG. This isn't an annotation tool but they also use SVG elements to draw different shapes on a canvas. http://leaflet.github.io/Leaflet.draw/docs/examples/full.html.

I'm currently using this library to create an annotation tool to label some datasets. Only this tool has some gamification element which will most likely help increase user engagement. I also tried the canvas of the vue-annotator on mobile which wasn't very smooth. Do you have any idea's how this library could be optimised for drawing rectangles on a touch screen?

DrSensor commented 4 years ago

You might want to use interactjs directly. In that demo, it has multi-touch support. Also, some touchscreens might be pretty sensitive (or prone to lagging) so you might want to debounce the touch event.