OpenCV  4.1.1-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
CvVideoCamera Class Reference

#import <opencv2/videoio/cap_ios.h>

Inheritance diagram for CvVideoCamera:
Collaboration diagram for CvVideoCamera:

Instance Methods

(void) - adjustLayoutToInterfaceOrientation:
 
(layoutPreviewLayer) - CV_UNUSED
 
(saveVideo) - CV_UNUSED
 
(id) - initWithParentView:
 
(NSString *) - videoFileString
 
(NSURL *) - videoFileURL
 

Protected Attributes

BOOL cameraAvailable
 
UIDeviceOrientation currentDeviceOrientation
 
CALayer * customPreviewLayer
 
CMTime lastSampleTime
 
AVCaptureVideoDataOutput * videoDataOutput
 
dispatch_queue_t videoDataOutputQueue
 

Properties

AVCaptureSession * captureSession
 
BOOL captureSessionLoaded
 
AVCaptureVideoPreviewLayer * captureVideoPreviewLayer
 
AVCaptureDevicePosition defaultAVCaptureDevicePosition
 
NSString *const defaultAVCaptureSessionPreset
 
AVCaptureVideoOrientation defaultAVCaptureVideoOrientation
 
int defaultFPS
 
id< CvVideoCameraDelegate > delegate
 
BOOL grayscaleMode
 
int imageHeight
 
int imageWidth
 
UIView * parentView
 
AVAssetWriter * recordAssetWriter
 
AVAssetWriterInput * recordAssetWriterInput
 
AVAssetWriterInputPixelBufferAdaptor * recordPixelBufferAdaptor
 
BOOL recordVideo
 
BOOL rotateVideo
 
BOOL running
 
BOOL useAVCaptureVideoPreviewLayer
 
AVCaptureConnection * videoCaptureConnection
 

Method Documentation

◆ adjustLayoutToInterfaceOrientation:()

- (void) adjustLayoutToInterfaceOrientation: (UIInterfaceOrientation)  interfaceOrientation

◆ CV_UNUSED() [1/2]

- (layoutPreviewLayer) CV_UNUSED

Implements CvAbstractCamera.

◆ CV_UNUSED() [2/2]

- (saveVideo) CV_UNUSED

Implements CvAbstractCamera.

◆ initWithParentView:()

- (id) initWithParentView: (UIView *)  parent

◆ videoFileString()

- (NSString *) videoFileString

◆ videoFileURL()

- (NSURL *) videoFileURL

Member Data Documentation

◆ cameraAvailable

- (BOOL) cameraAvailable
protectedinherited

◆ currentDeviceOrientation

- (UIDeviceOrientation) currentDeviceOrientation
protectedinherited

◆ customPreviewLayer

- (CALayer*) customPreviewLayer
protected

◆ lastSampleTime

- (CMTime) lastSampleTime
protected

◆ videoDataOutput

- (AVCaptureVideoDataOutput*) videoDataOutput
protected

◆ videoDataOutputQueue

- (dispatch_queue_t) videoDataOutputQueue
protected

Property Documentation

◆ captureSession

- (AVCaptureSession*) captureSession
readwritenonatomicstronginherited

◆ captureSessionLoaded

- (BOOL) captureSessionLoaded
readnonatomicassigninherited

◆ captureVideoPreviewLayer

- (AVCaptureVideoPreviewLayer*) captureVideoPreviewLayer
readnonatomicassigninherited

◆ defaultAVCaptureDevicePosition

- (AVCaptureDevicePosition) defaultAVCaptureDevicePosition
readwritenonatomicassigninherited

◆ defaultAVCaptureSessionPreset

- (NSString* const) defaultAVCaptureSessionPreset
readwritenonatomicstronginherited

◆ defaultAVCaptureVideoOrientation

- (AVCaptureVideoOrientation) defaultAVCaptureVideoOrientation
readwritenonatomicassigninherited

◆ defaultFPS

- (int) defaultFPS
readwritenonatomicassigninherited

◆ delegate

- (id<CvVideoCameraDelegate>) delegate
readwritenonatomicweak

◆ grayscaleMode

- (BOOL) grayscaleMode
readwritenonatomicassign

◆ imageHeight

- (int) imageHeight
readwritenonatomicassigninherited

◆ imageWidth

- (int) imageWidth
readwritenonatomicassigninherited

◆ parentView

- (UIView*) parentView
readwritenonatomicstronginherited

◆ recordAssetWriter

- (AVAssetWriter*) recordAssetWriter
readwritenonatomicstrong

◆ recordAssetWriterInput

- (AVAssetWriterInput*) recordAssetWriterInput
readwritenonatomicstrong

◆ recordPixelBufferAdaptor

- (AVAssetWriterInputPixelBufferAdaptor*) recordPixelBufferAdaptor
readwritenonatomicstrong

◆ recordVideo

- (BOOL) recordVideo
readwritenonatomicassign

◆ rotateVideo

- (BOOL) rotateVideo
readwritenonatomicassign

◆ running

- (BOOL) running
readnonatomicassigninherited

◆ useAVCaptureVideoPreviewLayer

- (BOOL) useAVCaptureVideoPreviewLayer
readwritenonatomicassigninherited

◆ videoCaptureConnection

- (AVCaptureConnection*) videoCaptureConnection
readwritenonatomicstronginherited

The documentation for this class was generated from the following file: