OCR of low-resolution text from screenshots

后端 未结 3 1554
悲&欢浪女
悲&欢浪女 2021-02-15 17:36

I\'m writing an OCR application to read characters from a screenshot image. Currently, I\'m focusing only on digits. I\'m partially basing my approach on this blog post: http:

3条回答
  •  花落未央
    2021-02-15 18:23

    I can tell you from my experience and from reading several papers on character classification, that a good way to start is by reading about Principal Component Analysis (PCA), Fisher's Linear Discriminant Analysis (LDA), and Support Vector Machines (SVMs). These are classification methods that are extremely useful for OCR, and it turns out that OpenCV already includes excellent implementations on PCAs and SVMs. I haven't seen any OpenCV code examples for OCR, but you can use some modified version of face classification to perform character classification. An excellent resource for face recognition code for OpenCV is this website.

    Another library for Python that I recommend you is "scikits.learn". It is very easy to send cvArrays to scikits.learn and run machine learning algorithms on your data. A basic example for OCR using SVM is here.

    Another more complicated example using manifold learning for handwritten character recognition is here.

提交回复
热议问题