25#include <RobotAPI/interface/speech/SpeechInterface.h>
28#include <VisionX/interface/components/FaceRecognitionInterface.h>
29#include <VisionX/interface/components/PointCloudAndImageAndCalibrationProviderInterface.h>
32#include <MemoryX/interface/components/LongtermMemoryInterface.h>
50 "AgentName",
"Armar3",
"Name of the robot that does the localization");
54 "Name of the camera frame of the robot that does the localization");
58 "Time in seconds between that a person is not greeted again");
63 "The sum of all gaussians of the recognized faces over time.",
66 "OpenNIPointCloudProvider",
67 "Name of the Imageprovider to be used");
84 virtual public memoryx::ObjectLocalizerInterface
93 return "DeepFaceRecognition";
97 memoryx::ObjectLocalizationResultList
99 armarx::MetaInfoSizeBasePtr imageMetaInfo,
100 CByteImage** resultImages);
148 std::map<std::string, std::list<std::pair<IceUtil::Time, double>>>;
151 visionx::FaceRecognitionInterfacePrx faceReg;
152 memoryx::LongtermMemoryInterfacePrx ltm;
153 ::memoryx::EntityMemorySegmentInterfacePrx faceSegmentPrx;
154 armarx::TextListenerInterfacePrx tts;
155 visionx::CapturingPointCloudAndImageAndCalibrationProviderInterfacePrx imageProvider;
156 const std::string faceSegmentName =
"faceMemory";
157 std::shared_ptr<CCalibration> calibration;
161 float updateAndCheckFaceExistenceProbability(
const visionx::FaceLocation& faceLocation);
164 memoryx::ObjectLocalizationResultList
166 const Ice::Current&)
override;
Default component property definition container.
ComponentPropertyDefinitions(std::string prefix, bool hasObjectNameParameter=true)
Baseclass for all ArmarX ManagedIceObjects requiring properties.
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
PropertyDefinition< PropertyType > & defineOptionalProperty(const std::string &name, PropertyType defaultValue, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
DeepFaceRecognitionPropertyDefinitions(std::string prefix)
Brief description of class DeepFaceRecognition.
void onInitComponent() override
Pure virtual hook for the subclass.
std::map< std::string, std::list< std::pair< IceUtil::Time, double > > > FaceConfidenceHistory
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Add a memory entity representing the hand marker in order to set its properties.
memoryx::ObjectLocalizationResultList localizeObjectClasses(const memoryx::ObjectClassNameList &classes, const Ice::Current &) override
void onConnectComponent() override
Pure virtual hook for the subclass.
memoryx::ObjectLocalizationResultList localizeAndIdentifyFaces(CByteImage **cameraImages, armarx::MetaInfoSizeBasePtr imageMetaInfo, CByteImage **resultImages)
std::string getDefaultName() const override
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.