Go to the documentation of this file.
33 #include <VisionX/interface/components/ArMarkerLocalizerInterface.h>
38 #include <aruco/aruco.h>
58 virtual public ArMarkerLocalizerInterface,
74 visionx::ArMarkerLocalizationResultList
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;
ArMarkerLocalizerPropertyDefinitions(std::string prefix)
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
The ImageProcessor class provides an interface for access to ImageProviders via Ice and shared memory...
std::string getDefaultName() const override
void onExitImageProcessor() override
Exit the ImapeProcessor component.
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
void RemoteGui_update() override
visionx::ArMarkerLocalizationResultList GetLatestLocalizationResult(const Ice::Current &) override
void process() override
Process the vision component.
void onConnectImageProcessor() override
Implement this method in the ImageProcessor in order execute parts when the component is fully initia...
ArMarkerLocalizer uses CTexturedRecognition of IVTRecognition in order to recognize and localize obje...
Provides a ready-to-use ArViz client arviz as member variable.
void onInitImageProcessor() override
Setup the vision component.
void onDisconnectImageProcessor() override
Implement this method in the ImageProcessor in order execute parts when the component looses network ...
armarx::core::time::DateTime Time
visionx::ArMarkerLocalizationResultList LocalizeAllMarkersNow(const Ice::Current &) override
void createRemoteGuiTab()