Spaces:
Running
Running
Commit
·
dde57c5
1
Parent(s):
48db9f7
Subindo arquivos2
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ easyocr_reader = easyocr.Reader(['en', 'pt', 'es'], gpu=False) #
|
|
| 10 |
def tesseract_ocr(image):
|
| 11 |
return pytesseract.image_to_string(image)
|
| 12 |
|
| 13 |
-
#EasyOCR
|
| 14 |
def easyocr_ocr(image):
|
| 15 |
return ' '.join(easyocr_reader.readtext(image, detail=0))
|
| 16 |
|
|
|
|
| 10 |
def tesseract_ocr(image):
|
| 11 |
return pytesseract.image_to_string(image)
|
| 12 |
|
| 13 |
+
#EasyOCR
|
| 14 |
def easyocr_ocr(image):
|
| 15 |
return ' '.join(easyocr_reader.readtext(image, detail=0))
|
| 16 |
|