Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (22 sloc) 727 Bytes
//
// CVFImageProcessor.h
// CVFunhouse
//
// Created by John Brewer on 3/7/12.
// Copyright (c) 2012 Jera Design LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
#include "opencv2/core/core_c.h"
#include "opencv2/imgproc/imgproc_c.h"
@protocol CVFImageProcessorDelegate;
@interface CVFImageProcessor : NSObject
@property (nonatomic, weak) id<CVFImageProcessorDelegate> delegate;
@property (nonatomic, readonly) NSString *demoDescription;
-(void)processImageBuffer:(CVImageBufferRef)imageBuffer withMirroring:(BOOL)shouldMirror;
-(void)processIplImage:(IplImage*)iplImage;
-(void)imageReady:(IplImage*)image;
#ifdef __cplusplus
-(void)processMat:(cv::Mat)mat;
-(void)matReady:(cv::Mat)mat;
#endif
@end