CoverageData
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
Reference
struct
dai::CoverageData
variable
std::vector< std::vector< float > > coveragePerCellA
2D coverage matrix for input A (e.g. left image). Each cell represents how well that spatial bin is populated; range [0, 1].
variable
std::vector< std::vector< float > > coveragePerCellB
2D coverage matrix for input B (e.g. right image). Each cell represents how well that spatial bin is populated; range [0, 1].
variable
float meanCoverage
Overall quality metric summarizing 2D coverage across both inputs. Typically normalized to [0, 1].
variable
float coverageAcquired
Proportion of the desired spatial coverage achieved so far; range [0, 1].
variable
float dataAcquired
Proportion of calibration-relevant data acquired from the frame; range [0, 1].
function
CoverageData()function
~CoverageData()function
void serialize(std::vector< std::uint8_t > & metadata, DatatypeEnum & datatype)inline function
DatatypeEnum getDatatype()function
DEPTHAI_SERIALIZE(CoverageData, coveragePerCellA, coveragePerCellB, meanCoverage, dataAcquired, coverageAcquired)Need assistance?
Head over to Discussion Forum for technical support or any other questions you might have.