Go to the documentation of this file.
29 #include <VisionX/interface/components/ArMarkerLocalizerInterface.h>
36 #include <aruco/aruco.h>
60 virtual public ArMarkerLocalizerInterface,
99 aruco::CameraParameters arucoCameraParameters;
100 aruco::MarkerDetector markerDetector;
101 std::atomic<float> markerSize;
102 std::map<std::string, int> markerIDs;
103 std::map<std::string, float> markerSizes;
105 CByteImage** cameraImages;
107 std::string imageProviderName;
108 bool gotAnyImages =
false;
110 visionx::ArMarkerLocalizationResultList lastLocalizationResult;
111 std::mutex resultMutex;
113 visionx::ArMarkerLocalizationResultList localizeAllMarkersInternal();
116 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()