FIRVisionBarcodeDetector
@interface FIRVisionBarcodeDetector : NSObject
A barcode detector that detects barcodes in an image.
-
Unavailable. Use
Vision
factory 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
image
The image to use for detecting barcodes.
completion
Handler to call back on the main queue with barcodes detected or error.