# pytesseractID **Repository Path**: mbed/pytesseractID ## Basic Information - **Project Name**: pytesseractID - **Description**: 使用 pytesseract 识别 18 位身份证号 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-08-03 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 使用 pytesseract 识别 18 位身份证号 项目调用 OpenCV 对图片进行预处理,裁剪出包含身份证号码的部分,然后调用 pytesseract 识别出号码。 ### 版本 `Python 2.7.13` ### 依赖库 ``` PIL pytesseract tesseract 3.05.01 numpy 1.13.1 ``` ### 运行 将身份证照片拷贝至项目文件夹下,执行: `python IDtesseract.py 1.jpg`