25 #include <MemoryX/interface/components/LongtermMemoryInterface.h>
26 #include <RobotAPI/interface/speech/SpeechInterface.h>
28 #include <VisionX/interface/components/FaceRecognitionInterface.h>
29 #include <VisionX/interface/components/PointCloudAndImageAndCalibrationProviderInterface.h>
48 defineOptionalProperty<std::string>(
"AgentName",
"Armar3",
"Name of the robot that does the localization");
49 defineOptionalProperty<std::string>(
"CameraFrameName",
"EyeLeftCamera",
"Name of the camera frame of the robot that does the localization");
50 defineOptionalProperty<float>(
"GreetAgainDelay", 60 * 60 * 12,
"Time in seconds between that a person is not greeted again");
53 defineOptionalProperty<std::string>(
"ImageProviderName",
"OpenNIPointCloudProvider",
"Name of the Imageprovider to be used");
71 virtual public memoryx::ObjectLocalizerInterface
79 return "DeepFaceRecognition";
83 memoryx::ObjectLocalizationResultList
localizeAndIdentifyFaces(CByteImage** cameraImages, armarx::MetaInfoSizeBasePtr imageMetaInfo, CByteImage** resultImages);
132 visionx::FaceRecognitionInterfacePrx faceReg;
133 memoryx::LongtermMemoryInterfacePrx ltm;
134 ::memoryx::EntityMemorySegmentInterfacePrx faceSegmentPrx;
135 armarx::TextListenerInterfacePrx tts;
136 visionx::CapturingPointCloudAndImageAndCalibrationProviderInterfacePrx imageProvider;
137 const std::string faceSegmentName =
"faceMemory";
138 std::shared_ptr<CCalibration> calibration;
142 float updateAndCheckFaceExistenceProbability(
const visionx::FaceLocation& faceLocation);
145 memoryx::ObjectLocalizationResultList
localizeObjectClasses(
const memoryx::ObjectClassNameList& classes,
const Ice::Current&)
override;