33#include <VisionX/interface/components/ArMarkerLocalizerInterface.h>
38#include <aruco/aruco.h>
58 virtual public ArMarkerLocalizerInterface,
74 visionx::ArMarkerLocalizationResultList
100 IceUtil::Time startingTime;
101 aruco::CameraParameters arucoCameraParameters;
102 aruco::MarkerDetector markerDetector;
103 std::atomic<float> markerSize;
104 std::map<std::string, int> markerIDs;
105 std::map<std::string, float> markerSizes;
107 CByteImage** cameraImages;
109 std::string imageProviderName;
110 bool gotAnyImages =
false;
112 visionx::ArMarkerLocalizationResultList lastLocalizationResult;
113 std::mutex resultMutex;
115 visionx::ArMarkerLocalizationResultList localizeAllMarkersInternal();
118 bool visuEnabled =
false;
Provides a ready-to-use ArViz client arviz as member variable.
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
ArMarkerLocalizerPropertyDefinitions(std::string prefix)
ArMarkerLocalizer uses CTexturedRecognition of IVTRecognition in order to recognize and localize obje...
void onConnectImageProcessor() override
Implement this method in the ImageProcessor in order execute parts when the component is fully initia...
void onExitImageProcessor() override
Exit the ImapeProcessor component.
void RemoteGui_update() override
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void process() override
Process the vision component.
void onInitImageProcessor() override
Setup the vision component.
visionx::ArMarkerLocalizationResultList LocalizeAllMarkersNow(const Ice::Current &) override
visionx::ArMarkerLocalizationResultList GetLatestLocalizationResult(const Ice::Current &) override
void onDisconnectImageProcessor() override
Implement this method in the ImageProcessor in order execute parts when the component looses network ...
void createRemoteGuiTab()
std::string getDefaultName() const override
ImageProcessorPropertyDefinitions(std::string prefix)
The ImageProcessor class provides an interface for access to ImageProviders via Ice and shared memory...
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.