# CoverageData

CoverageData 消息提供了在 [动态校准](https://docs.luxonis.com/software-v3/depthai/depthai-components/host_nodes/dynamic_calibration.md) 过程中
立体视场中视觉特征覆盖的实时反馈。 它量化了当前场景对校准的支持程度——即系统是否拥有足够多样且空间分布的视觉特征来执行准确的重新校准。

这是一个诊断数据结构，有助于确保重新校准基于可靠的输入。足够的覆盖度直接影响校准的准确性和置信度。CoverageData 消息通过 coverageOutput 接收，当图像被手动加载（使用 LoadImage 命令）或在连续校准期间（运行
StartCalibration 命令后）加载时。

## 功能示例

 * [读取覆盖数据代码片段](https://docs.luxonis.com/software-v3/depthai/depthai-components/host_nodes/dynamic_calibration.md)
 * [校准集成示例](https://github.com/luxonis/depthai-core/blob/main/examples/python/DynamicCalibration/calibration_integration.py)

## 参考

### dai::CoverageData

Kind: struct

Coverage information for a single frame.

Contains 2D spatial coverage metrics used internally during dynamic calibration to measure how well the image area has been
populated.

#### CoverageData()

Kind: function

#### ~CoverageData()

Kind: function

#### void serialize(std::vector< std::uint8_t > & metadata, DatatypeEnum & datatype)

Kind: function

Serialize CoverageData to buffer.

#### DatatypeEnum getDatatype()

Kind: function

Get the datatype of this specific message.

return: DatatypeEnum

#### DEPTHAI_SERIALIZE(CoverageData, coveragePerCellA, coveragePerCellB, coveragePerCell, meanCoverage, dataAcquired,
coverageAcquired)

Kind: function

### 需要帮助？

请前往 [OAKChina 官网](https://www.oakchina.cn/) 获取技术支持或解答您的任何疑问。
