Unverified Commit 2a6f5046 authored by Double_V's avatar Double_V Committed by GitHub
Browse files

Merge pull request #20 from LDOUBLEV/fixocr

RGB 2 BGR
parents 18c897df 55492911
...@@ -137,6 +137,6 @@ if __name__ == "__main__": ...@@ -137,6 +137,6 @@ if __name__ == "__main__":
os.makedirs(draw_img_save) os.makedirs(draw_img_save)
cv2.imwrite( cv2.imwrite(
os.path.join(draw_img_save, os.path.basename(image_file)), os.path.join(draw_img_save, os.path.basename(image_file)),
draw_img) draw_img[:, :, -1])
print("The visualized image saved in {}".format( print("The visualized image saved in {}".format(
os.path.join(draw_img_save, os.path.basename(image_file)))) os.path.join(draw_img_save, os.path.basename(image_file))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment