apple-vision

Vision Framework Barcode detection for iOS 11

假如想象 提交于 2019-11-30 15:14:02
问题 I've been implementing a test of the new Vision framework which Apple introduced in WWDC2017. I am specifically looking at the barcode detection - I've been able to get after scanning the image from Camera/Gallery that it's a barcode image or not. However, I can't see what the actual barcode value or the payload data when looking at the barcodeDescriptor. There appears to be nothing exposed on the https://developer.apple.com/documentation/coreimage/cibarcodedescriptor page to identify any of

Converting a Vision VNTextObservation to a String

橙三吉。 提交于 2019-11-29 18:47:28
I'm looking through the Apple's Vision API documentation and I see a couple of classes that relate to text detection in UIImages : 1) class VNDetectTextRectanglesRequest 2) class VNTextObservation It looks like they can detect characters, but I don't see a means to do anything with the characters. Once you've got characters detected, how would you go about turning them into something that can be interpreted by NSLinguisticTagger ? Here's a post that is a brief overview of Vision . Thank you for reading. SwiftOCR I just got SwiftOCR to work with small sets of text. https://github.com/garnele007

Converting a Vision VNTextObservation to a String

大城市里の小女人 提交于 2019-11-28 13:40:00
问题 I'm looking through the Apple's Vision API documentation and I see a couple of classes that relate to text detection in UIImages : 1) class VNDetectTextRectanglesRequest 2) class VNTextObservation It looks like they can detect characters, but I don't see a means to do anything with the characters. Once you've got characters detected, how would you go about turning them into something that can be interpreted by NSLinguisticTagger? Here's a post that is a brief overview of Vision. Thank you for