id_verfiy / ocr.py
Namit2111's picture
Update ocr.py
bed3833
raw
history blame contribute delete
144 Bytes
import easyocr
def ocr(img,reader):
result = reader.readtext(img,detail=0)
if len(result)>1:
return True
return False