29
#import <UIKit/UIKit.h>
30
#import <Accelerate/Accelerate.h>
31
#import <AVFoundation/AVFoundation.h>
32
#import <ImageIO/ImageIO.h>
33
#include "opencv2/core.hpp"
44
UIDeviceOrientation currentDeviceOrientation;
49
@property
(nonatomic, strong) AVCaptureSession* captureSession;
50
@property
(nonatomic, strong) AVCaptureConnection* videoCaptureConnection;
52
@property
(nonatomic, readonly) BOOL running;
53
@property
(nonatomic, readonly) BOOL captureSessionLoaded;
55
@property
(nonatomic, assign)
int
defaultFPS;
56
@property
(nonatomic, readonly) AVCaptureVideoPreviewLayer *captureVideoPreviewLayer;
57
@property
(nonatomic, assign) AVCaptureDevicePosition defaultAVCaptureDevicePosition;
58
@property
(nonatomic, assign) AVCaptureVideoOrientation defaultAVCaptureVideoOrientation;
59
@property
(nonatomic, assign) BOOL useAVCaptureVideoPreviewLayer;
60
@property
(nonatomic, strong) NSString *
const
defaultAVCaptureSessionPreset;
62
@property
(nonatomic, assign)
int
imageWidth;
63
@property
(nonatomic, assign)
int
imageHeight;
65
@property
(nonatomic, strong) UIView* parentView;
69- CV_UNUSED(switchCameras);
71- (id)initWithParentView:(UIView*)parent;
73- CV_UNUSED(createCaptureOutput);
74- CV_UNUSED(createVideoPreviewLayer);
75- CV_UNUSED(updateOrientation);
77- CV_UNUSED(lockFocus);
78- CV_UNUSED(unlockFocus);
79- CV_UNUSED(lockExposure);
80- CV_UNUSED(unlockExposure);
81- CV_UNUSED(lockBalance);
82- CV_UNUSED(unlockBalance);
94- (void)processImage:(
cv::Mat&)image;
101
AVCaptureVideoDataOutput *videoDataOutput;
103
dispatch_queue_t videoDataOutputQueue;
104
CALayer *customPreviewLayer;
106
CMTime lastSampleTime;
110
@property
(nonatomic, weak) id<CvVideoCameraDelegate> delegate;
111
@property
(nonatomic, assign) BOOL grayscaleMode;
113
@property
(nonatomic, assign) BOOL recordVideo;
114
@property
(nonatomic, assign) BOOL rotateVideo;
115
@property
(nonatomic, strong) AVAssetWriterInput* recordAssetWriterInput;
116
@property
(nonatomic, strong) AVAssetWriterInputPixelBufferAdaptor* recordPixelBufferAdaptor;
117
@property
(nonatomic, strong) AVAssetWriter* recordAssetWriter;
119- (void)adjustLayoutToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
120- CV_UNUSED(layoutPreviewLayer);
121- CV_UNUSED(saveVideo);
122- (NSURL *)videoFileURL;
123- (NSString *)videoFileString;
134- (void)photoCamera:(
CvPhotoCamera*)photoCamera capturedImage:(UIImage *)image;
141
AVCaptureStillImageOutput *stillImageOutput;
144
@property
(nonatomic, weak) id<CvPhotoCameraDelegate> delegate;
146- CV_UNUSED(takePicture);
Definition:
cap_ios.h:141
Definition:
cap_ios.h:101
"black box" representation of the file storage associated with a file on disk.
Definition:
aruco.hpp:75
Definition:
cap_ios.h:133