298fa6f9 by 乔峰昇

update

1 parent 5250a59f
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.6" project-jdk-type="Python SDK" />
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.6 (workenv)" project-jdk-type="Python SDK" />
</project>
\ No newline at end of file
......
......@@ -2,7 +2,7 @@
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="jdk" jdkName="Python 3.6 (workenv)" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="PyDocumentationSettings">
......
OCR_Engine @ 3dddc11a
Subproject commit 3dddc11a8a1d369ca4fbd0b69e4e21e6af81cc4c
No preview for this file type
......@@ -21,7 +21,7 @@ def path_to_file(file_path):
# 流水OCR接口
def bill_ocr(image):
f = image_to_base64(image)
resp = requests.post(url=r'http://192.168.10.11:9001/gen_ocr', files={'file': f})
resp = requests.post(url=r'http://192.168.10.11:9002/gen_ocr', files={'file': f})
results = resp.json()
ocr_results = results['ocr_results']
return ocr_results
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!