FIRVisionBarcodeDetector
@interface FIRVisionBarcodeDetector : NSObjectA barcode detector that detects barcodes in an image.
-
Unavailable. Use
Visionfactory methods.Declaration
Objective-C
- (nonnull instancetype)init; -
Detects barcodes in the given image.
Declaration
Objective-C
- (void)detectInImage:(nonnull FIRVisionImage *)image completion:(nonnull FIRVisionBarcodeDetectionCallback)completion;Parameters
imageThe image to use for detecting barcodes.
completionHandler to call back on the main queue with barcodes detected or error.