VLDOCRPeripheral
Objective-C
@interface VLDOCRPeripheral
Swift
class VLDOCRPeripheral
The VLDOCRPeripheral class represents OCR peripheral models that can be scanned using VLDOCRPeripheralController.
-
Returns the peripheral for the given ID.
Declaration
Objective-C
+ (VLDOCRPeripheral *_Nullable)peripheralForID:(NSUInteger)peripheralID;
Swift
/*not inherited*/ init?(forID peripheralID: Any!)
Parameters
peripheralID
the ID of the peripheral.
-
An overlay image showing the outline of the peripheral and its screen. This image should be displayed on top of the camera preview to assist users in performing OCR.
Declaration
Objective-C
- (UIImage *_Nullable)overlayImage;
Swift
func overlayImage() -> UIImage?