Szczotar93
commited on
Commit
•
d730c63
1
Parent(s):
14029fb
Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -32,7 +32,7 @@ os.system('pip install -q pytesseract')
|
|
32 |
|
33 |
# helper function to unnormalize bboxes for drawing onto the image
|
34 |
import pytesseract
|
35 |
-
pytesseract.pytesseract.tesseract_cmd = "/usr/bin/tesseract"
|
36 |
def unnormalize_box(bbox, width, height):
|
37 |
return [
|
38 |
width * (bbox[0] / 1000),
|
|
|
32 |
|
33 |
# helper function to unnormalize bboxes for drawing onto the image
|
34 |
import pytesseract
|
35 |
+
# pytesseract.pytesseract.tesseract_cmd = "/usr/bin/tesseract"
|
36 |
def unnormalize_box(bbox, width, height):
|
37 |
return [
|
38 |
width * (bbox[0] / 1000),
|