Training Tesseract 3 to recognize numbers from real images of gas meters

后端 未结 4 593
有刺的猬
有刺的猬 2021-02-08 18:39

I\'m trying to train tesseract to recognize numbers from real images of gas meters.

The images that I use for training are made with a camera, for this reason there are

4条回答
  •  逝去的感伤
    2021-02-08 19:26

    As far as I can tell you need to OpenCV to recognize box in which numbers are located, but OpenCV is not god for OCR. After you locate box, just crop that part, do image processing and then hand it over to tesseract for OCR.

    I need help with OpenCV because I don't know how to program in OpenCV.

    Here are few real world examples.

    • First image is original image (croped power meter numbers)
    • Second image is slightly cleaned up image in GIMP, around 50% OCR accuracy in tesseract
    • Third image is completely cleaned image - 100% OCR recognized without any training!

    first image second image third image

提交回复
热议问题