信用卡/借记卡中的数字分段

时间:2021-12-13 18:24:14

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/

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. Any method using opencv or any other image processing library is welcome.

我不想使用tesseract进行边界框或数字分割。任何使用opencv或任何其他图像处理库的方法都是受欢迎的。

Some of the input images are

一些输入图像是

信用卡/借记卡中的数字分段信用卡/借记卡中的数字分段信用卡/借记卡中的数字分段

1 个解决方案

#1


0  

If you refuse to use Tesseract, OpenCV do have some methods to perform digit segmentation. But the implementation is somehow a little bit more difficult than using Tesseract.

如果您拒绝使用Tesseract,OpenCV确实有一些方法可以执行数字分割。但是实现在某种程度上比使用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

#1


0  

If you refuse to use Tesseract, OpenCV do have some methods to perform digit segmentation. But the implementation is somehow a little bit more difficult than using Tesseract.

如果您拒绝使用Tesseract,OpenCV确实有一些方法可以执行数字分割。但是实现在某种程度上比使用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