Skip to content
This repository was archived by the owner on Oct 29, 2022. It is now read-only.

Repository files navigation

NOTE: This project is superseded by AEStream

UDP DVS stream

This project allows the streaming of dynamic vision system (DVS) event-camera data over UDP and into PyTorch.

It follows the UDP protocol used in AEStream.

Installation

pip install -e [...]

Usage

import time
import torch
from udpstream import UDPStream

# This will immediately start a server in the background 
# and accumulate events
stream = UDPStream(2300, torch.Size((640, 480)), "cuda")

for i in range(100):
    frame = stream.read() # Read a single tensor
    time.sleep(0.010)     # Read frames every 10 ms
    ...

Author

Thanks to Philipp Mondorff for inital code around the UDP socket.

About

UDP receiver for address event representations

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages