Alexander Slessor commited on
Commit
3cc13d1
1 Parent(s): 4cbe809

added reqs.txt

Browse files
Files changed (2) hide show
  1. handler.py +1 -1
  2. requirements.txt +1 -0
handler.py CHANGED
@@ -5,7 +5,7 @@ from subprocess import run
5
 
6
  # install tesseract-ocr and pytesseract
7
  run("apt install -y tesseract-ocr", shell=True, check=True)
8
- run("pip install pytesseract", shell=True, check=True)
9
 
10
  # helper function to unnormalize bboxes for drawing onto the image
11
  def unnormalize_box(bbox, width, height):
 
5
 
6
  # install tesseract-ocr and pytesseract
7
  run("apt install -y tesseract-ocr", shell=True, check=True)
8
+ # run("pip install pytesseract", shell=True, check=True)
9
 
10
  # helper function to unnormalize bboxes for drawing onto the image
11
  def unnormalize_box(bbox, width, height):
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ pytesseract