使用连接的组件标签进行文本检测 [英] Text detection using connected component labelling

查看:125
本文介绍了使用连接的组件标签进行文本检测的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个项目,在该项目中,我必须检测图像中的文本区域并本地化文本行.我尚未实现此功能,在此项目中,对初始图像进行了预处理之后,我将生成一个边缘贴图,然后使用CCL(两次通过算法)对文本行进行定位.

我的问题是在边缘检测部分之后,所有边缘(包括非文本边缘)都将被检测到,那么如何过滤掉非文本区域?请帮忙,这是我第一次要做这样的事情.

请原谅我的英语

I''m creating a project where I have to detect text regions in an image and localize text lines. This I have not yet implemented, in this project after the initial image pre-processing I will generate an edge map and then use CCL (two-pass algorithm) to localize text lines.

My question is after the edge detection part all edges including those that are not text will be detected, so how do I filter out the non-text regions? Please, help this is the first time I had to make something like this.

please excuse my English

推荐答案

如果您仅处理图片,这将是一个非常困难的问题. hte网站上有一些项目可以检测数字,并且您应该能够对文本执行相同的操作:

实时网络摄像头数独求解器 [ http://www.codeproject.com/search.aspx? q = image + text + detection& doctypeid = 1%3b2%3b3 [
This would be an extremly difficlult problem, if you are dealing with pictures alone. There are projects here on hte web site that detects numbers and you should be able to do the same with text:

Realtime Webcam Sudoku Solver[^]

other links could be found by searching this site:
http://www.codeproject.com/search.aspx?q=image+text+detection&doctypeid=1%3b2%3b3[^]


这篇关于使用连接的组件标签进行文本检测的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆