Merge pull request #20 from LDOUBLEV/fixocr

RGB 2 BGR
This commit is contained in:
Double_V 2020-05-14 14:40:33 +08:00 committed by GitHub
commit 2a6f5046c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -137,6 +137,6 @@ if __name__ == "__main__":
os.makedirs(draw_img_save)
cv2.imwrite(
os.path.join(draw_img_save, os.path.basename(image_file)),
draw_img)
draw_img[:, :, -1])
print("The visualized image saved in {}".format(
os.path.join(draw_img_save, os.path.basename(image_file))))