# CoverageData

The CoverageData message provides real-time feedback on the visual feature coverage across the stereo field of view during the
[Dynamic Calibration](https://docs.luxonis.com/software-v3/depthai/depthai-components/host_nodes/dynamic_calibration.md) process.
It quantifies how well the current scene supports calibration — i.e., whether the system has enough diverse and spatially
distributed visual features to perform an accurate recalibration.

It is a diagnostic data structure that helps ensure the recalibration is based on reliable input. Adequate coverage directly
influences calibration accuracy and confidence. CoverageData message is received via coverageOutput when an image is loaded either
manually (with LoadImage command) or during continuous calibration (after running StartCalibration command).

## Examples of functionality

 * [Reading Coverage Data
   Snippet](https://docs.luxonis.com/software-v3/depthai/depthai-components/host_nodes/dynamic_calibration.md)
 * [Calibration integration
   example](https://github.com/luxonis/depthai-core/blob/main/examples/python/DynamicCalibration/calibration_integration.py)

## Reference

### 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, meanCoverage, dataAcquired, coverageAcquired)

Kind: function

### Need assistance?

Head over to [Discussion Forum](https://discuss.luxonis.com/) for technical support or any other questions you might have.
