[英]Digit Segmentation in credit/debit card
I'm doing a project for which i need to segment credit card numbers from a credit card image. 我正在做一个项目,我需要从信用卡图像中分割信用卡号。
I have gone through these post 我已经看过这些帖子
http://rnd.azoft.com/optical-recognition-ios-application/ http://rnd.azoft.com/optical-recognition-ios-application/
How to split credit card number digits into separate blocks for further recognition? 如何将信用卡号位数分成多个块以进一步识别?
I do not want to use tesseract for bounding box or digit segmentation. 我不想将tesseract用于边界框或数字分割。 Any method using opencv or any other image processing library is welcome. 欢迎使用opencv或任何其他图像处理库的任何方法。
Some of the input images are 一些输入图像是
If you refuse to use Tesseract, OpenCV do have some methods to perform digit segmentation. 如果您拒绝使用Tesseract,OpenCV确实有一些方法可以执行数字分割。 But the implementation is somehow a little bit more difficult than using Tesseract. 但是,实现起来比使用Tesseract有点困难。
Basically, credit card digit extraction share the same process with license plate number extraction, and maybe the later one is more complex. 基本上,信用卡数字的提取与车牌号的提取具有相同的过程,也许后面的过程更复杂。 So here are some tutorials you might need. 因此,这里是您可能需要的一些教程。
Number plate recognition code - Github 车牌识别码-Github
Licence plate detection with different backgrounds 不同背景的车牌检测
Some method you might need: 您可能需要一些方法:
Sobel filtering 索贝尔过滤
Binarize using threshold function 使用阈值函数进行二值化
Blob detection 斑点检测
Masking 掩蔽
SVM classifing SVM分类
The characters are in printed form and are properly separated with space, hence you can easily tackle this problem using OpenCV 字符采用印刷形式,并用空格适当分隔,因此您可以使用OpenCV轻松解决此问题
Follow below steps 遵循以下步骤
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.