universal-data-tool icon indicating copy to clipboard operation
universal-data-tool copied to clipboard

[BUG] Image bounding box resizes to a single point upon clicking "hide" and "show"

Open ianlcassidy opened this issue 5 years ago • 1 comments

Describe the bug When drawing multiple bounding boxes near each other (sometimes for overlapping objects in an image) clicking the hide button and then the show button will resize the bounding box to a single point. This results in the annotation being lost.

To Reproduce

  • Draw several bounding boxes on an image
  • Draw another box and click on the "hide" button in the right "Regions" panel
  • Click the hide button again to show the box/label
  • It will have shifted to a single point away from the original annotation

Expected behavior The annotation should become hidden upon clicking the hide button and then should reappear (with the same annotation) when the button is clicked again.

Screenshots Screen Shot 2020-12-11 at 3 39 44 PM Screen Shot 2020-12-11 at 3 39 56 PM Screen Shot 2020-12-11 at 3 40 06 PM

Desktop (please complete the following information):

  • OS: Mac
  • Using browser based UDT on Google Chrome

ianlcassidy avatar Dec 11 '20 20:12 ianlcassidy

I am seeing something similar on the https://udt.dev/ demo site with a single box annotation using Brave Version 1.29.76 Chromium: 93.0.4577.58 (Official Build) (x86_64).

  1. Create Image Segmentation project
  2. create a Bounding Box annotation "panel"
  3. load a jpg image from URL as sample data
  4. annotate the image with a single bounding box of type panel.
Screen Shot 2021-09-02 at 10 18 03 AM b
  1. on the regions bar, next to the region indicator "# 1" click the "hide" eye icon
  2. click "show" -- the region box now has a size of one pixel and the label has disappeared.
Screen Shot 2021-09-02 at 10 18 37 AM

I also added two browsers to the same test session https://udt.dev/?s=4riDE3 -- Chrome and Brave -- and it was true for both of them when operating on different images.

jeremydouglass avatar Sep 02 '21 17:09 jeremydouglass