7
tonj
5y

How to crop one one word this picture in mathlab. Help me pls. I am doing OCR.

Comments
  • 2
    Are you trying to build a custom ocr?
  • 1
    @thevariableman yeah. And add mongolian language.
  • 6
    @tonj For a paying job, or are you just masochistic? Because that sounds like hell. Mongolian is written vertically and has no distinction between characters.

    Also, much like Japanese/Chinese calligraphy, fancy handwriting will make picking out individual characters exponentially more difficult.
  • 1
    If it's always black on white you can apply thresholding and draw a binding box around each of the alphabet and combine adjecent binding boxes.

    I'm not sure regarding the actual methods that do it in Matlab coz I have seen it in opencv
  • 2
    If your goal is to read Mongolian I would suggest training an existing ocr model instead of trying to build one from scratch here a link that might help

    https://github.com/tesseract-ocr/...
Add Comment