开发者

Text detection of image

开发者 https://www.devze.com 2022-12-25 18:40 出处:网络
I got grayscale images ma开发者_如何转开发de by cheap camera and I need to make a program OCR.

I got grayscale images ma开发者_如何转开发de by cheap camera and I need to make a program OCR. The main problem is noise or objects that are not text but they present in binary image. Now I think of text extraction from image.

I need some good algorithm for that. Can you suggest any really good one? For example if image contains black color text and something like a black line then that algorithm will select only text without line.


You describe two types of noise you want to remove. (BTW the wikipedia page for noise reduction isn't bad, look at the "in images" section).

One type is odd dots noise. This is often called "speckle" or "salt and pepper" noise, and is usually removed by some sort of averaging filter. There's a good page describing some algorithms for this at mathworks.

The second type is lines. This is harder, and I wouldn't really describe it as noise, it would be dependent on you input image type. This paper seems appropriate, but it isn't available for free online, so you might have to buy it or go to your local University library.

You might also want to look at this, which is downloadable from many places, but is really for motion pictures (video), so probably not what you want.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号