zzh8829/yolov3-tf2

scaling bounding box

VeeranjaneyuluToka opened this issue · 1 comments

when we generate tf record, bounding box is scaled based on original image size. When we load image and resize in load_tfrecord_dataset method, i suppose bounding box also needs to be scaled to resized image. I really did not get where that is happening, Anybody has any views on this?

actually you can set the value of bounding box annotation with range of 0 - 1, so that the bounding box already scaled to any size of image.