Saving Segmentation Result Automatically - Matlab Arabic OCR

走远了吗. 提交于 2019-12-02 06:56:18
Bashar Haddad

Since Arabic is my native language I will help you in this. Let me start by making clear : that some Arabic letters contains non-connected regions. Because of this using image processing techniques will not be enough. Few years ago I designed a system that takes advantage of the idea: regions related to the same letter are either above or below the letter. The steps :

  1. Convert the image to binary.
  2. Complement the image. The texts is white and the background is black
  3. Process the image to divide it into multiple rows. This can be done by performing projection onto the vertical axis. Valleys will be related to spaces between lines.
  4. Each line will be proceeds desperately : Regions detection. All regions above or below each other will be segmented together

If the text is written by people " hand written" the problem will become more complex. Then you need a machine learning solution to verify the segmented regions.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!