Spaces:
Running
Running
Update utils.py
Browse files
utils.py
CHANGED
@@ -2,7 +2,7 @@ from paddleocr import PaddleOCR
|
|
2 |
from PIL import Image
|
3 |
from numpy import asarray
|
4 |
|
5 |
-
ocr = PaddleOCR(use_angle_cls=True)
|
6 |
|
7 |
def normalize_bbox(bbox, width, height):
|
8 |
|
|
|
2 |
from PIL import Image
|
3 |
from numpy import asarray
|
4 |
|
5 |
+
ocr = PaddleOCR(use_angle_cls=True, lang="en") #will be italian
|
6 |
|
7 |
def normalize_bbox(bbox, width, height):
|
8 |
|