License plate:
Invoice number:
These characters that are common in life can be implemented through a library called tesseract
See the download link: https://github.com/UB-Mannheim/tesseract/wiki
After installing the software, we use python to realize character recognition
Install python3, pip first
再pip install pytesseract,opencv-python。
This can be done, write a code:
import cv2 as cv
import pytesseract
if __name__ == '__main__':
img = cv.imread('D:\\1.jpg')
code = pytesseract.image_to_string(img)
print(code)
To be honest, the effect is good, I want to do character recognition, screenshots, training, and open source is very powerful.
However, I also hope that my country's technical force can develop faster. After all, github has supported many people and cannot be relied on too much.