TrackedFeatures¶
TrackedFeatures message. Carries position (X, Y) of tracked features and their ID.
Reference¶
-
class
depthai.
TrackedFeatures
TrackedFeatures message. Carries position (X, Y) of tracked features and their ID.
-
getData
(self: object) → numpy.ndarray[numpy.uint8] Get non-owning reference to internal buffer
- Returns
Reference to internal buffer
-
getRaw
(self: depthai.ADatatype) → depthai.RawBuffer
-
getSequenceNum
(self: depthai.TrackedFeatures) → int Retrieves image sequence number
-
getTimestamp
(self: depthai.TrackedFeatures) → datetime.timedelta Retrieves image timestamp related to dai::Clock::now()
-
getTimestampDevice
(self: depthai.TrackedFeatures) → datetime.timedelta Retrieves image timestamp directly captured from device’s monotonic clock, not synchronized to host time. Used mostly for debugging
-
setData
(*args, **kwargs) Overloaded function.
setData(self: depthai.Buffer, arg0: List[int]) -> None
- Parameter
data
: Copies data to internal buffer
setData(self: depthai.Buffer, arg0: numpy.ndarray[numpy.uint8]) -> None
- Parameter
data
: Copies data to internal buffer
-
setSequenceNum
(self: depthai.TrackedFeatures, arg0: int) → depthai.TrackedFeatures Retrieves image sequence number
-
setTimestamp
(self: depthai.TrackedFeatures, arg0: datetime.timedelta) → depthai.TrackedFeatures Sets image timestamp related to dai::Clock::now()
-
setTimestampDevice
(self: depthai.TrackedFeatures, arg0: datetime.timedelta) → depthai.TrackedFeatures Sets image timestamp related to dai::Clock::now()
-
-
class
dai
::
TrackedFeatures
: public dai::Buffer¶ TrackedFeatures message. Carries position (X, Y) of tracked features and their ID.
Public Functions
-
TrackedFeatures
()¶ Construct TrackedFeatures message.
-
~TrackedFeatures
() = default¶
-
std::chrono::time_point<std::chrono::steady_clock, std::chrono::steady_clock::duration>
getTimestamp
() const¶ Retrieves image timestamp related to dai::Clock::now()
-
std::chrono::time_point<std::chrono::steady_clock, std::chrono::steady_clock::duration>
getTimestampDevice
() const¶ Retrieves image timestamp directly captured from device’s monotonic clock, not synchronized to host time. Used mostly for debugging
-
int64_t
getSequenceNum
() const¶ Retrieves image sequence number
-
TrackedFeatures &
setTimestamp
(std::chrono::time_point<std::chrono::steady_clock, std::chrono::steady_clock::duration> timestamp)¶ Sets image timestamp related to dai::Clock::now()
-
TrackedFeatures &
setTimestampDevice
(std::chrono::time_point<std::chrono::steady_clock, std::chrono::steady_clock::duration> timestamp)¶ Sets image timestamp related to dai::Clock::now()
-
TrackedFeatures &
setSequenceNum
(int64_t sequenceNum)¶ Retrieves image sequence number
Public Members
-
std::vector<TrackedFeature> &
trackedFeatures
¶
Private Members
-
RawTrackedFeatures &
rawdata
¶
-