Traceback (most recent call last):


 "<stdin>", line 1, in <module>
NameError: name 'a' is not defined

Traceback (most recent call last):


 "GetQuestionTessIos.py", line 21, in <module>

question, choices = ocr.ocr_img(img)
NameError: name 'ocr' is not defined