Created
April 23, 2014 06:46
-
-
Save harisris/11204900 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// | |
// ViewController.h | |
// views3 | |
// | |
// Created by Srihari Sridharan | |
// Copyright (c) 2013 Srihari Sridharan. All rights reserved. | |
// | |
#import <NinevehGL/NinevehGL.h> | |
#import <opencv2/highgui/cap_ios.h> | |
#import <opencv2/imgproc/imgproc_c.h> | |
#import <opencv2/objdetect/objdetect.hpp> | |
#import <UIKit/UIKit.h> | |
using namespace cv; | |
@interface ViewController : UIViewController <NGLViewDelegate> | |
{ | |
//===========================NINEVEH DECL===========================// | |
NGLView *graphicsView; | |
NGLMesh *_mesh; | |
NGLCamera *_camera; | |
CGPoint _position; | |
//=========================TOUCH CONTROLS===========================// | |
float _distance; | |
float _rotate; | |
CGRect faceRect; | |
int reset; | |
UIImage *image; | |
cv::Mat matPhoto; | |
} | |
@property (strong, nonatomic) UIImage *image; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment