【发布时间】:2016-03-09 07:07:18
【问题描述】:
我无法初始化 CIDetector 以读取 QRCOde ,它始终保持为零。这是我的代码:
let options = [CIDetectorAccuracy: CIDetectorAccuracyHigh]
self.detector = CIDetector(ofType: CIDetectorTypeQRCode, context: nil, options: options)
如果我将CIDetectorTypeQRCode 替换为CIDetectorTypeRectangle,它会被初始化,但我需要读取二维码
前两天正在尝试,请帮忙
【问题讨论】:
标签: ios swift qr-code core-image cidetector