aestream¶
AEStream library for streaming address-event representations.
Please refer to https://github.com/aestream/aestream for usage
- class aestream.Event(*args, **kwargs)¶
- property polarity¶
(self) -> bool
- property timestamp¶
(self) -> int
- property x¶
(self) -> int
- property y¶
(self) -> int
- class aestream.FileInput(*args, **kwargs)¶
Reads events from a file.
- Parameters:
filename (str) – Path to file.
shape (tuple) – Shape of the camera surface in pixels (X, Y).
device (str) – Device name. Defaults to “cpu”
ignore_time (bool) – Whether to ignore the timestamps for the events when streaming. If set to True, the events will be streamed as fast as possible. Defaults to False.
- load()¶