carlosabadia commited on
Commit
ddd9e54
1 Parent(s): 75a4b5d

pytesseract

Browse files
Files changed (2) hide show
  1. app.py +2 -0
  2. solver.py +2 -0
app.py CHANGED
@@ -5,6 +5,8 @@ import os
5
  import argparse
6
  import numpy as np
7
  import os
 
 
8
  import pytesseract
9
  import re
10
  import shutil
 
5
  import argparse
6
  import numpy as np
7
  import os
8
+ os.system('sudo apt-get install tesseract-ocr')
9
+ os.system('pip install -q pytesseract')
10
  import pytesseract
11
  import re
12
  import shutil
solver.py CHANGED
@@ -5,6 +5,8 @@ import numpy as np
5
  import os
6
  import src.solve as solve
7
  from typing import Tuple
 
 
8
  import pytesseract
9
  import re
10
  import shutil
 
5
  import os
6
  import src.solve as solve
7
  from typing import Tuple
8
+ os.system('sudo apt-get install tesseract-ocr')
9
+ os.system('pip install -q pytesseract')
10
  import pytesseract
11
  import re
12
  import shutil