本页目录

  • 参考

AprilTags

AprilTag 节点产生的消息,包含 AprilTags 标记数据,包括检测到的 tag ID、tag 的角点、 解码质量(decisionMargin)以及纠正的错误比特数(hamming)。

参考

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()
function
DEPTHAI_SERIALIZE(AprilTags, sequenceNum, ts, tsDevice, tsSystem, transformation, aprilTags)

需要帮助?

请前往 OAKChina 官网 获取技术支持或解答您的任何疑问。