microsoft / VoTT

Visual Object Tagging Tool: An electron app for building end to end Object Detection Models from Images and Videos.
MIT License
4.29k stars 837 forks source link

Copy Rect same size issue #1049

Open satnagul0 opened 3 years ago

satnagul0 commented 3 years ago

Describe the bug I'm trying to use same size(1499 2000) for the copy rect bounding boxes all the time. So whenever user clicks on copy rect, it should show the bounding box of size 14992000. I modified the template value in canvas.tsx to 14992000 but it only works for one image. When i changed the image it goes back to original 2020 or if if draw a rectangle and then click on copy rect, it shows the size of the already drawn rectangle. But i always want 1499*2000 irrespective of what state i'm in. Please help me with this

To Reproduce Steps to reproduce the behavior:

  1. Go to Annotate screen
  2. Click on copy rectangle icon