Zivid C++ API 2.14.0+e4a0c4a9-1
|
Holds physical (3D) and image (2D) properties of a detected fiducial marker. More...
#include <Zivid/Calibration/MarkerShape.h>
Public Member Functions | |
ZIVID_CORE_EXPORT std::array< PointXY, 4 > | cornersInPixelCoordinates () const |
Get 2D image coordinates of the corners of the detected marker. | |
ZIVID_CORE_EXPORT std::array< PointXYZ, 4 > | cornersInCameraCoordinates () const |
Get 3D spatial coordinates of the corners of the detected marker. | |
ZIVID_CORE_EXPORT int | id () const |
Get the id of the detected marker. | |
ZIVID_CORE_EXPORT Pose | pose () const |
Get 3D pose of the marker. | |
ZIVID_CORE_EXPORT std::string | toString () const |
Get string representation of the marker shape. | |
Holds physical (3D) and image (2D) properties of a detected fiducial marker.
For more information on ArUco markers see the OpenCV documentation on ArUco markers. To get more information about fiducial markers in general, refer to the wikipedia page.
ZIVID_CORE_EXPORT std::array< PointXYZ, 4 > Zivid::Calibration::MarkerShape::cornersInCameraCoordinates | ( | ) | const |
Get 3D spatial coordinates of the corners of the detected marker.
ZIVID_CORE_EXPORT std::array< PointXY, 4 > Zivid::Calibration::MarkerShape::cornersInPixelCoordinates | ( | ) | const |
Get 2D image coordinates of the corners of the detected marker.
ZIVID_CORE_EXPORT int Zivid::Calibration::MarkerShape::id | ( | ) | const |
Get the id of the detected marker.
ZIVID_CORE_EXPORT Pose Zivid::Calibration::MarkerShape::pose | ( | ) | const |
Get 3D pose of the marker.
The returned pose will be positioned at the center of the marker, and have an orientation such that its z-axis points perpendicularly into the face of the marker.
ZIVID_CORE_EXPORT std::string Zivid::Calibration::MarkerShape::toString | ( | ) | const |
Get string representation of the marker shape.