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