Commit 14ef8b0f by 杨林龙

优化OCR识别效率

1 parent 1a3bd9c2
...@@ -318,7 +318,7 @@ for index, row in enumerate(result): ...@@ -318,7 +318,7 @@ for index, row in enumerate(result):
conn_dev.commit() conn_dev.commit()
else: else:
# 如果识别不了 直接再放大图片 # 如果识别不了 直接再放大图片
scale_factor = 6 scale_factor = 10
dst = original_image.resize( dst = original_image.resize(
( (
original_image.width * scale_factor, original_image.width * scale_factor,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!