SpatialLocationCalculatorData
This message is an output from the SpatialLocationCalculator node.Examples of functionality
Reference
class
depthai.SpatialLocationCalculatorData(depthai.Buffer)
variable
method
method
getSequenceNum(self) -> int: intRetrieves sequence number
method
getSpatialLocations(self) -> list[SpatialLocations]: list[SpatialLocations]Retrieve configuration data for SpatialLocationCalculatorData. Returns: Vector of spatial location data, carrying spatial information (X,Y,Z)
method
getTimestamp(self) -> datetime.timedelta: datetime.timedeltaRetrieves timestamp related to dai::Clock::now()
method
getTimestampDevice(self) -> datetime.timedelta: datetime.timedeltaRetrieves timestamp directly captured from device's monotonic clock, not synchronized to host time. Used mostly for debugging
method
setSequenceNum(self, arg0: int) -> SpatialLocationCalculatorData: SpatialLocationCalculatorDataRetrieves image sequence number
method
setTimestamp(self, arg0: datetime.timedelta) -> SpatialLocationCalculatorData: SpatialLocationCalculatorDataSets image timestamp related to dai::Clock::now()
method
setTimestampDevice(self, arg0: datetime.timedelta) -> SpatialLocationCalculatorData: SpatialLocationCalculatorDataSets image timestamp related to dai::Clock::now()
Need assistance?
Head over to Discussion Forum for technical support or any other questions you might have.