SBSTextRecognitionSettings.h
Go to the documentation of this file.
1 //
2 // SBSTextRecognitionSettings.h
3 // ScanditBarcodeScanner
4 //
5 // Created by Marco Biasini on 03/10/16.
6 // Copyright © 2016 Scandit AG. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #include <CoreGraphics/CoreGraphics.h>
11 
12 #include "SBSCommon.h"
13 
14 @class SBSCharacterSet;
15 
19 @interface SBSTextRecognitionSettings : NSObject <NSCopying>
20 
30 @property (nullable, nonatomic, strong) NSRegularExpression *regex;
31 
44 @property (nonatomic, assign) CGRect areaLandscape;
45 
57 @property (nonatomic, assign) CGRect areaPortrait;
58 
67 @property (nullable, nonatomic, strong) SBSCharacterSet *characterWhitelist;
68 
69 - (nullable instancetype)initWithDictionary:(nonnull NSDictionary<NSString *, id> *)dict
70  error:(NSError * _Nullable * _Nullable)error;
71 
72 @end
Definition: SBSTextRecognitionSettings.h:19
CGRect areaLandscape
Definition: SBSTextRecognitionSettings.h:44
Definition: SBSCharacterSet.h:12
CGRect areaPortrait
Definition: SBSTextRecognitionSettings.h:57
SBSCharacterSet * characterWhitelist
Definition: SBSTextRecognitionSettings.h:67
NSRegularExpression * regex
Definition: SBSTextRecognitionSettings.h:30