GDavila commited on
Commit
53bb8bc
·
1 Parent(s): 66edd4b

Update ocrFuncs.py

Browse files
Files changed (1) hide show
  1. ocrFuncs.py +2 -2
ocrFuncs.py CHANGED
@@ -1,8 +1,8 @@
1
  #bit messy to say the least will put cleaner version in separate space
2
  def imgOCR_img2text(imgFilename):
3
  import easyocr
4
- reader = easyocr.Reader(['en'], gpu=True) #GPU inference - faster and more accurate but need GPU. Enable and try/excpet CPU users down to CPU
5
- #reader = easyocr.Reader(['en'], gpu=False) #CPU inference - slower and less accurate
6
 
7
  '''
8
  try:
 
1
  #bit messy to say the least will put cleaner version in separate space
2
  def imgOCR_img2text(imgFilename):
3
  import easyocr
4
+ #reader = easyocr.Reader(['en'], gpu=True) #GPU inference - faster and more accurate but need GPU. Enable and try/excpet CPU users down to CPU
5
+ reader = easyocr.Reader(['en'], gpu=False) #CPU inference - slower and less accurate
6
 
7
  '''
8
  try: