Created
August 31, 2015 18:54
-
-
Save StuartFarmer/0b424d904c11e46a2d23 to your computer and use it in GitHub Desktop.
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
// Set up the CV Video Camera object to bring in video to the program | |
videoCamera = [[CvVideoCamera alloc] initWithParentView:self.imageView]; | |
videoCamera.defaultAVCaptureDevicePosition = AVCaptureDevicePositionBack; | |
videoCamera.defaultAVCaptureSessionPreset = AVCaptureSessionPresetHigh; | |
videoCamera.defaultAVCaptureVideoOrientation = AVCaptureVideoOrientationPortrait; | |
videoCamera.defaultFPS = 30; | |
videoCamera.grayscaleMode = NO; | |
videoCamera.delegate = self; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment