从图像中提取数字 [英] Extract numbers from Image

查看:259
本文介绍了从图像中提取数字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有手机信用充值卡的图像,我想要仅提取充值号码(灰色区域)作为可用于直接为手机充电的号码序列

I have an image for mobile phone credit recharge card and I want to extract the recharge number only (the gray area) as a sequence of number that can be used to recharge the phone directly

这只是一张示例照片,不能视为标准,因此矩形区域的位置可能不同,在背景中,卡也可能大小不同。划痕区域可能没有完全划伤,相机的深度和位置也可能不同。我在互联网上阅读了很多很多论文,但我找不到任何可能有趣的内容,大多数论文都讨论了手写数字的检测。
任何链接或算法名称都非常有用。

This is a sample photo only and cannot be considered as standard, thus the rectangle area may differ in position , in the background and the card also may differ in size .The scratch area may not be fully scratched , the camera's depth and position may differ too . I read a lots and lots of papers on the internet but i can't find any thing that could be interesting and most of papers discuss detection of handwritten numbers . Any links or algorithms names could be very useful .

推荐答案

您可以搜索车牌号码检测用机器学习方法。基本上你需要首先提取数字,你可以使用sobel滤镜来提取垂直边缘,然后使用阈值(二进制图像)和形态学操作(去除每条垂直边缘线之间的空白区域,并连接所有具有大量边缘的区域) )。最后检索轮廓并用掩模填充连接的组件。

You can search the papers on vehicle plate number detection with machine learning methods. Basically you need to extract the number first, you may use sobel filter to extract the vertical edges , then threshold (binary image) and morphologic operations (remove blank spaces between each vertical edge line, and connect all regions that have a high number of edges). Finally retrieve the contour and fill in the connected components with mask.

提取数字后,可以使用神经网络和svm等机器学习方法识别它们。

After you extract the numbers , you can use machine learning method such as neural network and svm to recognize them.

希望有所帮助。

这篇关于从图像中提取数字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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