From 8e26b9acb76672e1f34a00406a82534a628e8f7c Mon Sep 17 00:00:00 2001 From: SzabolcsGergely Date: Mon, 21 Mar 2022 23:53:03 +0200 Subject: [PATCH] Change millimetre to depth unit where it's applicable --- .../datatype/RawSpatialLocationCalculatorConfig.hpp | 2 +- include/depthai-shared/datatype/RawSpatialLocations.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/depthai-shared/datatype/RawSpatialLocationCalculatorConfig.hpp b/include/depthai-shared/datatype/RawSpatialLocationCalculatorConfig.hpp index b087f70c..6835ae4c 100644 --- a/include/depthai-shared/datatype/RawSpatialLocationCalculatorConfig.hpp +++ b/include/depthai-shared/datatype/RawSpatialLocationCalculatorConfig.hpp @@ -13,7 +13,7 @@ namespace dai { /** * SpatialLocation configuration thresholds structure * - * Contains configuration data for lower and upper threshold in millimeters for ROI. + * Contains configuration data for lower and upper threshold in depth units (millimetre by default) for ROI. * Values outside of threshold range will be ignored when calculating spatial coordinates from depth map. */ struct SpatialLocationCalculatorConfigThresholds { diff --git a/include/depthai-shared/datatype/RawSpatialLocations.hpp b/include/depthai-shared/datatype/RawSpatialLocations.hpp index 4b6db698..d68cf4bc 100644 --- a/include/depthai-shared/datatype/RawSpatialLocations.hpp +++ b/include/depthai-shared/datatype/RawSpatialLocations.hpp @@ -16,7 +16,7 @@ namespace dai { * * Contains configuration data, average depth for the calculated ROI on depth map. * Together with spatial coordinates: x,y,z relative to the center of depth map. - * Units are in millimeters. + * Units are in depth units (millimetre by default). */ struct SpatialLocations { /**