diff --git a/launch/face_recognition.launch b/launch/face_recognition.launch new file mode 100644 index 0000000..e661398 --- /dev/null +++ b/launch/face_recognition.launch @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + diff --git a/src/face_recognition.cpp b/src/face_recognition.cpp index 48b764f..24d5861 100644 --- a/src/face_recognition.cpp +++ b/src/face_recognition.cpp @@ -48,9 +48,9 @@ class FaceRecognition public: FaceRecognition(std::string name) : + pnh_("~"), frl(), it_(nh_), - pnh_("~"), as_(nh_, name, boost::bind(&FaceRecognition::executeCB, this, _1), false) { //a face recognized with confidence value higher than the confidence_value threshold is accepted as valid.