Created
March 6, 2019 19:47
-
-
Save heaversm/0d3189d5d580ef0ad191bde05615a566 to your computer and use it in GitHub Desktop.
opencvcameramanager header
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <React/RCTViewManager.h> | |
#import <UIKit/UIKit.h> | |
#import <AVFoundation/AVFoundation.h> | |
#import <opencv2/videoio/cap_ios.h> | |
#import "ChordCodeLocator.hpp" | |
#import "RNTUIImageView.h" | |
using namespace cv; | |
@interface OpenCvCameraManager : RCTViewManager<CvVideoCameraDelegate> | |
{ | |
RNTUIImageView *img; | |
CvVideoCamera *camera; | |
AVCaptureDevicePosition cameraId; | |
} | |
- (void)layoutPreviewLayer; | |
@property (nonatomic, retain) CvVideoCamera *camera; | |
@property (nonatomic, retain) RNTUIImageView *img; | |
@property (nonatomic, assign) AVCaptureDevicePosition cameraId; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment