Commit 5aa2e012 authored by 赵小蒙's avatar 赵小蒙

add paddlepaddle in requirements.txt

parent 384c979d
...@@ -56,7 +56,6 @@ def doc_analyze(pdf_bytes: bytes, ocr: bool = False, show_log: bool = False): ...@@ -56,7 +56,6 @@ def doc_analyze(pdf_bytes: bytes, ocr: bool = False, show_log: bool = False):
page_height = img_dict['height'] page_height = img_dict['height']
result = ocr_engine(img) result = ocr_engine(img)
spans = [] spans = []
need_remove = []
for line in result: for line in result:
line.pop('img') line.pop('img')
''' '''
......
...@@ -15,3 +15,5 @@ scikit-learn>=1.0.2 ...@@ -15,3 +15,5 @@ scikit-learn>=1.0.2
nltk==3.8.1 nltk==3.8.1
s3pathlib>=2.1.1 s3pathlib>=2.1.1
pytest pytest
paddlepaddle
paddleocr>=2.6.0.3
\ No newline at end of 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