SpatialLocationCalculatorData¶
This message is an output from the SpatialLocationCalculator node.
Examples of functionality¶
Reference¶
-
class
depthai.
SpatialLocationCalculatorData
-
getData
(self: object) → numpy.ndarray[numpy.uint8]
-
getRaw
(self: depthai.ADatatype) → depthai.RawBuffer
-
getSequenceNum
(self: depthai.SpatialLocationCalculatorData) → int
-
getSpatialLocations
(self: depthai.SpatialLocationCalculatorData) → list[depthai.SpatialLocations]
-
getTimestamp
(self: depthai.SpatialLocationCalculatorData) → datetime.timedelta
-
getTimestampDevice
(self: depthai.SpatialLocationCalculatorData) → datetime.timedelta
-
setData
(*args, **kwargs) Overloaded function.
setData(self: depthai.Buffer, arg0: list[int]) -> None
setData(self: depthai.Buffer, arg0: numpy.ndarray[numpy.uint8]) -> None
-
setSequenceNum
(self: depthai.SpatialLocationCalculatorData, arg0: int) → depthai.SpatialLocationCalculatorData
-
setTimestamp
(self: depthai.SpatialLocationCalculatorData, arg0: datetime.timedelta) → depthai.SpatialLocationCalculatorData
-
setTimestampDevice
(self: depthai.SpatialLocationCalculatorData, arg0: datetime.timedelta) → depthai.SpatialLocationCalculatorData
-
-
class
dai
::
SpatialLocationCalculatorData
: public dai::Buffer¶ SpatialLocationCalculatorData message. Carries spatial information (X,Y,Z) and their configuration parameters
Public Functions
-
SpatialLocationCalculatorData
()¶ Construct SpatialLocationCalculatorData message.
-
~SpatialLocationCalculatorData
() = default¶
-
std::vector<SpatialLocations> &
getSpatialLocations
() const¶ Retrieve configuration data for SpatialLocationCalculatorData.
- Return
Vector of spatial location data, carrying spatial information (X,Y,Z)
-
SpatialLocationCalculatorData &
setTimestamp
(std::chrono::time_point<std::chrono::steady_clock, std::chrono::steady_clock::duration> timestamp)¶ Sets image timestamp related to dai::Clock::now()
-
SpatialLocationCalculatorData &
setTimestampDevice
(std::chrono::time_point<std::chrono::steady_clock, std::chrono::steady_clock::duration> timestamp)¶ Sets image timestamp related to dai::Clock::now()
-
SpatialLocationCalculatorData &
setSequenceNum
(int64_t sequenceNum)¶ Retrieves image sequence number
Public Members
-
std::vector<SpatialLocations> &
spatialLocations
¶
Private Members
-
RawSpatialLocations &
rawdata
¶
-