update img_tools

This commit is contained in:
tink2123 2020-06-30 15:03:37 +08:00
parent 2cc1d00b04
commit 5fae5ffd5e
1 changed files with 0 additions and 1 deletions

View File

@ -53,7 +53,6 @@ def resize_norm_img(img, image_shape):
def resize_norm_img_chinese(img, image_shape):
imgC, imgH, imgW = image_shape
# todo: change to 0 and modified image shape
imgC = 3
max_wh_ratio = 0
h, w = img.shape[0], img.shape[1]
ratio = w * 1.0 / h