/***************************************************************************** * ViewController.h ****************************************************************************** * by Kirill Kornyakov and Alexander Shishkov, 13th May 2013 ****************************************************************************** * Chapter 10 of the "OpenCV for iOS" book * * Capturing Video from Camera shows how to capture video * stream from camera. * * Copyright Packt Publishing 2013. * http://bit.ly/OpenCV_for_iOS_book *****************************************************************************/ #import #import @interface ViewController : UIViewController { CvVideoCamera* videoCamera; BOOL isCapturing; } @property (nonatomic, strong) CvVideoCamera* videoCamera; @property (nonatomic, strong) IBOutlet UIImageView* imageView; @property (nonatomic, strong) IBOutlet UIToolbar* toolbar; @property (nonatomic, weak) IBOutlet UIBarButtonItem* startCaptureButton; @property (nonatomic, weak) IBOutlet UIBarButtonItem* stopCaptureButton; -(IBAction)startCaptureButtonPressed:(id)sender; -(IBAction)stopCaptureButtonPressed:(id)sender; @end