Skip to content

Instantly share code, notes, and snippets.

@harisris
Created April 23, 2014 06:46
Show Gist options
  • Save harisris/11204900 to your computer and use it in GitHub Desktop.
Save harisris/11204900 to your computer and use it in GitHub Desktop.
//
// 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