from digitapp.DigitAI import DigitRecognizier import cv2 reco = DigitRecognizier() im = cv2.imread("./n3.png") # print(type(im)) re = reco.recognize(im) for t, p in re: print(t, p)