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

本页目录

  • 功能示例
  • 参考

SpatialImgDetections

ImgDetections 类似,但此消息还包含检测对象的 XYZ 坐标。

功能示例

参考

class

dai::SpatialImgDetections

#include SpatialImgDetections.hpp
variable
LengthUnit unit
Length unit used by all imgDetections'
variable
std::optional< ImgTransformation > transformation
function
~SpatialImgDetections()
function
void serialize(std::vector< std::uint8_t > & metadata, DatatypeEnum & datatype)
inline function
DatatypeEnum getDatatype()
function
SpatialImgDetections transformTo(const ImgTransformation & target)
Returns a new SpatialImgDetections message with the spatial detections transformed into the target image transformation.For each detection, the bounding box is assumed to lie on a plane parallel to the image plane at depth
Parameters
  • target: Target image transformation.
Returns
SpatialImgDetections with transformed detections.
function
DEPTHAI_SERIALIZE(SpatialImgDetections, sequenceNum, ts, tsDevice, detections, transformation, segmentationMaskWidth, segmentationMaskHeight, unit)

需要帮助?

请前往 Discussion Forum 获取技术支持或提出您可能有的任何其他问题。