// // MPT_PluginProtocolPlusPlus.h // AUCoderDemo // // Created by Andrew Salamon on 9/25/06. // Copyright (c) 2006 Machine Perception Laboratory, // University of California San Diego. All rights reserved. #import #import #import #import #import /** The C++ half of a CERT plugin protocol. * The results returned from any of these methods can be: NSNumber, NSArray (of NSNumbers), NSDictionary (keys are labels as strings, values are NSNumbers), and possibly strings. A nil return should indicate an error. */ @protocol MPT_PluginProtocolPlusPlus< MPT_PluginProtocol> - (id)processFaces:(EyeFaceList &)faces fromEyefinder:(MPTSlidingWindow *)eyefinder withImage:(RImage &)pixels; - (id)processFace:(FaceObject &)face withImage:(RImage &)pixels; - (void)processNoFace; ///< Some detectors might be doing smoothing and need to know if a face has not been found. @end /** An entry point designed to work with the FeatureDetector. */ @protocol MPT_PluginProtocolFD - (id)processFace:(ObjectWithFeatures &)face fromFeatureDetector:(FeatureDetector *)fd withImage:(RImage &)pixels; @end