How can I extract an AVMetadataObject from a UIImage?

前端 未结 1 1557
一向
一向 2020-12-28 09:39

I\'d like to use iOS 7\'s new barcode scanning functionality with a UIImage instead of live capture from one of the device\'s camera. I already have the detecti

1条回答
  •  时光说笑
    2020-12-28 10:10

    life is easy. You can use CIDetector instead. Convert an image into CIImage to be decoded by CIDetector.

    0 讨论(0)
提交回复
热议问题