Szczotar93
commited on
Commit
•
ecabb16
1
Parent(s):
80c8e50
Update handler.py
Browse files- handler.py +2 -2
handler.py
CHANGED
@@ -6,8 +6,8 @@ import pandas as pd
|
|
6 |
|
7 |
|
8 |
# install tesseract-ocr and pytesseract
|
9 |
-
run("apt install -y tesseract-ocr", shell=True, check=True)
|
10 |
-
run("pip install pytesseract", shell=True, check=True)
|
11 |
|
12 |
# helper function to unnormalize bboxes for drawing onto the image
|
13 |
def unnormalize_box(bbox, width, height):
|
|
|
6 |
|
7 |
|
8 |
# install tesseract-ocr and pytesseract
|
9 |
+
# run("apt install -y tesseract-ocr", shell=True, check=True)
|
10 |
+
# run("pip install pytesseract", shell=True, check=True)
|
11 |
|
12 |
# helper function to unnormalize bboxes for drawing onto the image
|
13 |
def unnormalize_box(bbox, width, height):
|