VisionBarcodeDetector
class VisionBarcodeDetector : NSObject
A barcode detector that detects barcodes in an image.
-
Unavailable. Use
Vision
factory methods. -
Detects barcodes in the given image.
Declaration
Swift
func detect(in image: FIRVisionImage, completion: @escaping VisionBarcodeDetectionCallback)
Parameters
image
The image to use for detecting barcodes.
completion
Handler to call back on the main queue with barcodes detected or error.