Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -86,7 +86,9 @@ import cv2
|
|
86 |
import pytesseract
|
87 |
from pydantic import BaseModel
|
88 |
def read_img(img):
|
89 |
-
|
|
|
|
|
90 |
return(text)
|
91 |
|
92 |
app = FastAPI()
|
|
|
86 |
import pytesseract
|
87 |
from pydantic import BaseModel
|
88 |
def read_img(img):
|
89 |
+
print("[img]", img)
|
90 |
+
# text = pytesseract.image_to_string(img)
|
91 |
+
text = 'bhooo'
|
92 |
return(text)
|
93 |
|
94 |
app = FastAPI()
|