wave icon indicating copy to clipboard operation
wave copied to clipboard

Image annotator box dragging anomalies

Open gaborfodor opened this issue 2 years ago • 4 comments

Wave SDK Version, OS

wave 0.22 macOS 12.3

Actual behavior

Using ui.image_annotator unexpected sudden dragging boxes around the edges could resize them or create new ones.

Expected behavior

  • Boxes should keep their original size during dragging
  • Dragging should not create new boxes

Steps To Reproduce

https://user-images.githubusercontent.com/5063584/171141105-da3135a6-05cf-48c7-b2b8-7d0345c67726.mov

gaborfodor avatar May 31 '22 09:05 gaborfodor

@gaborfodor I couldn't reproduce it. Could you provide the repro code and the image you used?

aalencar avatar Jul 13 '22 12:07 aalencar

@aalencar Probably the simplest is to reproduce it with the demo code https://wave.h2o.ai/docs/examples/image-annotator

gaborfodor avatar Jul 20 '22 13:07 gaborfodor

It seems like this happens only during when the canvas boundary is hit repeatedly.

mturoci avatar Jul 21 '22 10:07 mturoci

I managed to reproduce this time and it doesn't have to be done repeatedly. See the video:

https://user-images.githubusercontent.com/15820796/180192491-c2db462c-ee10-4aca-811a-7e560b876229.mov

aalencar avatar Jul 21 '22 10:07 aalencar