此页面由 AI 自动翻译。查看英文原版
最后更新

本页目录

  • 重映射
  • 参考
Claude CodeCodexCursor
Luxonis 智能体工具包为你常用的编程智能体加载 Luxonis 上下文与技能,更快地基于 OAK 开发应用。
安装工具包
最后更新
由 AprilTag 节点生成的消息,包含 AprilTags 标记数据,其中包括检测到的标记 ID、标记的角点、解码质量 (decisionMargin) 和校正的错误位数 (hamming)。

重映射

AprilTags 是可转换的,这意味着它可以重映射到另一个帧的坐标系中。有关详细信息,请参阅 重映射可转换消息。

参考

class

dai::AprilTags

#include AprilTags.hpp
variable
std::vector< AprilTag > aprilTags
variable
int64_t sequenceNum
variable
variable
Timestamp tsDevice
variable
std::optional< Timestamp > tsSystem
variable
std::optional< ImgTransformation > transformation
function
AprilTags()
Construct AprilTags message.
function
~AprilTags()
function
AprilTags transformTo(const ImgTransformation & target)
Returns a new AprilTags message with the tags transformed into the target image transformation.If the target transformation has a different coordinate system source (eg. different camera socket) then the remapping will be inaccurate due to the lack of depth information.
Parameters
  • target: Target image transformation.
function
void serialize(std::vector< std::uint8_t > & metadata, DatatypeEnum & datatype)
inline function
DatatypeEnum getDatatype()
Get the datatype of this specific message.
Returns
DatatypeEnum
function
DEPTHAI_SERIALIZE(AprilTags, sequenceNum, ts, tsDevice, tsSystem, transformation, aprilTags)

需要帮助?

请访问讨论论坛以获取技术支持或您可能有的任何其他问题。