Skip to content

Commit

Permalink
update img_tools
Browse files Browse the repository at this point in the history
  • Loading branch information
tink2123 committed Jun 30, 2020
1 parent 2cc1d00 commit 5fae5ff
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ppocr/data/rec/img_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5fae5ff

Please sign in to comment.