00001 #ifndef __HUMANVISION_PLUGIN_H 00002 #define __HUMANVISION_PLUGIN_H 00003 00004 #include <set> 00005 #include "recognition_method.hh" 00006 00007 class mi_recognition; 00008 00015 class human_vision_plugin: public recognition_method 00016 { 00017 public: 00024 human_vision_plugin( const calibration_ptr &_calib, 00025 const mimas::mm_xml_reference< XalanElement > 00026 &configuration, 00027 const mi_recognition *_recognition, 00028 bool _verbose ); 00033 virtual std::vector< match > recognise 00034 ( const mimas::mm_image< unsigned char > &image, 00035 double timestamp, 00036 mi_scene_ptr scene ) const; 00037 protected: 00041 mi_pose pose3d( const mi_pose &pose ) const; 00043 std::set< std::string > models; 00047 const mi_recognition *recognition; 00048 }; 00049 00051 typedef boost::shared_ptr< human_vision_plugin > human_vision_plugin_ptr; 00052 00053 #endif