Namit2111 commited on
Commit
bed3833
β€’
1 Parent(s): 2eb3891

Update ocr.py

Browse files
Files changed (1) hide show
  1. ocr.py +1 -1
ocr.py CHANGED
@@ -2,7 +2,7 @@ import easyocr
2
  def ocr(img,reader):
3
 
4
 
5
- result = reader.readtext(img,deatil=0)
6
  if len(result)>1:
7
  return True
8
  return False
 
2
  def ocr(img,reader):
3
 
4
 
5
+ result = reader.readtext(img,detail=0)
6
  if len(result)>1:
7
  return True
8
  return False