Buffer
Just a good old buffer. All other messages derive from theBuffer
class.Reference
class
depthai.Buffer(depthai.ADatatype)
method
__init__(self: typing_extensions.Buffer)
Creates Buffer message
method
getData(self) -> numpy.ndarray[numpy.uint8]: numpy.ndarray[numpy.uint8]
Get non-owning reference to internal buffer Returns: Reference to internal buffer
method
getSequenceNum(self: typing_extensions.Buffer) -> int: int
Retrieves sequence number
method
getTimestamp(self: typing_extensions.Buffer) -> datetime.timedelta: datetime.timedelta
Retrieves timestamp related to dai::Clock::now()
method
getTimestampDevice(self: typing_extensions.Buffer) -> datetime.timedelta: datetime.timedelta
Retrieves timestamp directly captured from device's monotonic clock, not synchronized to host time. Used mostly for debugging
method
method
setSequenceNum(self: typing_extensions.Buffer, arg0: int) -> typing_extensions.Buffer: typing_extensions.Buffer
Retrieves sequence number
method
setTimestamp(self: typing_extensions.Buffer, arg0: datetime.timedelta) -> typing_extensions.Buffer: typing_extensions.Buffer
Sets timestamp related to dai::Clock::now()
method
setTimestampDevice(self: typing_extensions.Buffer, arg0: datetime.timedelta) -> typing_extensions.Buffer: typing_extensions.Buffer
Sets timestamp related to dai::Clock::now()
Need assistance?
Head over to Discussion Forum for technical support or any other questions you might have.