react-native-camera/ios/RN/TextDetectorManager.h
Daniil Ovoshchnikov 025e7d97a4 feat(ios): migrate face detection to mlkit (#2193)
add face detection using mlkit
add enable tracking prop
cleanup android set tracking methods
remove old face detection
fix basic example not building on ios
2019-04-11 09:10:19 -03:00

13 lines
408 B
Objective-C

#if __has_include(<FirebaseMLVision/FirebaseMLVision.h>)
#import <FirebaseMLVision/FirebaseMLVision.h>
#endif
@interface TextDetectorManager : NSObject
typedef void(^postRecognitionBlock)(NSArray *textBlocks);
- (instancetype)init;
-(BOOL)isRealDetector;
-(void)findTextBlocksInFrame:(UIImage *)image scaleX:(float)scaleX scaleY:(float)scaleY completed:(postRecognitionBlock)completed;
@end