sam-ke / idCardOcr

身份证识别 ocr
https://github.com/sam-ke/idCardOcr
68 stars 26 forks source link

hello,how can i use it in windows 10? #1

Closed fangkaiyu closed 6 years ago

fangkaiyu commented 6 years ago

a error ,how to solve it ,could you give me a demo to show the way to use it in windows ? capture

sam-ke commented 5 years ago

@fangkaiyu Firstly ,I am so sorry to you,It’s been a long time before I reply to you. idCardOcr need library tesseract, so you must install it and its chinese Font library (chi_sim.traineddata). Ohter check list

  1. I was installed 'tesseract' through this document, https://github.com/tesseract-ocr/tesseract
  2. Use absolute path to the value of the ocr parameter image instead, eg: ./ocr "D:\path_to_your_imag_dir\1.jpg"