Spaces:
Build error
Build error
debu das
commited on
Commit
·
17e1264
1
Parent(s):
9d4002a
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,10 +39,10 @@ def cv_to_PIL(cv_img):
|
|
| 39 |
|
| 40 |
|
| 41 |
async def pytess(cell_pil_img):
|
| 42 |
-
pytess_output=' '.join(pytesseract.image_to_data(cell_pil_img, output_type=Output.DICT, config='-c tessedit_char_blacklist=œ˜â€œï¬â™Ã©œ¢!|”?«“¥ --psm 6 preserve_interword_spaces')['text']).strip()
|
| 43 |
-
print("pytess_output######################################")
|
| 44 |
-
print(pytess_output)
|
| 45 |
-
print("pytess_output@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@")
|
| 46 |
|
| 47 |
###paddleocr
|
| 48 |
paddle_output=' '
|
|
|
|
| 39 |
|
| 40 |
|
| 41 |
async def pytess(cell_pil_img):
|
| 42 |
+
#pytess_output=' '.join(pytesseract.image_to_data(cell_pil_img, output_type=Output.DICT, config='-c tessedit_char_blacklist=œ˜â€œï¬â™Ã©œ¢!|”?«“¥ --psm 6 preserve_interword_spaces')['text']).strip()
|
| 43 |
+
#print("pytess_output######################################")
|
| 44 |
+
#print(pytess_output)
|
| 45 |
+
#print("pytess_output@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@")
|
| 46 |
|
| 47 |
###paddleocr
|
| 48 |
paddle_output=' '
|