test_reco.py 186 B

123456789
  1. from digitapp.DigitAI import DigitRecognizier
  2. import cv2
  3. reco = DigitRecognizier()
  4. im = cv2.imread("./n3.png")
  5. # print(type(im))
  6. re = reco.recognize(im)
  7. for t, p in re:
  8. print(t, p)