无法在黑色Data Matrix条形码上读取白色 [英] Unable to read white on black Data Matrix barcode

查看:171
本文介绍了无法在黑色Data Matrix条形码上读取白色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Data Matrix条形码支持已添加到iOS 8中,我可以使用它来读取Data Matrix条形码,如果它们是白色的黑色(光线暗)。但是,它永远不会读取黑色(暗上亮)条形码上的白色。

Data Matrix barcode support was added to iOS 8 and I'm able to use it to read Data Matrix barcodes if they are black on white (dark on light). However, it never reads a white on black (light on dark) barcode.

读取此罚款:

无法读取此内容:

每个数据矩阵ECC 200,应支持黑暗照明。

Per Data Matrix ECC 200, light on dark should be supported.

任何人都知道如何让iOS 8读取暗光数据矩阵条形码?

Anyone have an idea how to get iOS 8 to read a light on dark Data Matrix barcode?

推荐答案

您可以反转 AVCaptureSession 实时,允许您阅读Data Matrix代码。

You can invert the colors of your AVCaptureSession in real time, allowing you to read the Data Matrix code.

您可以使用 GPUImage 可以反转颜色。它速度快,插入方便。只需反转,让AVFoundation正常发现它。

You can use GPUImage to invert the colors. It's fast and plugs in easily. Just invert and let AVFoundation find it as normal.

这篇关于无法在黑色Data Matrix条形码上读取白色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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