YOLO_v3_tutorial_from_scratch icon indicating copy to clipboard operation
YOLO_v3_tutorial_from_scratch copied to clipboard

In function prep_image

Open KaiyueTao opened this issue 6 years ago • 0 comments

the code in tutorial is different from here:

github:

img = (letterbox_image(img, (inp_dim, inp_dim)))

in tutorial:

img = cv2.resize(img, (inp_dim, inp_dim))

which will make scaling step a little bit wrong(because no letterbox step, then bbox coordinate scaling should be calculated separately)

Anyway, not a big deal, but it's easy to misunderstand, so just issue here:)

KaiyueTao avatar Nov 11 '19 11:11 KaiyueTao