11 releases (6 breaking)

0.12.20 Mar 18, 2024
0.12.9 Oct 2, 2023
0.10.4 Apr 18, 2023
0.8.23 Oct 25, 2022
0.0.35 Oct 16, 2020

#497 in Hardware support

1,114 stars & 43 watchers

Apache-2.0

42KB
940 lines

Udev USB Video Broker

Sample broker for for Akri's end to end demo. It pulls video frames from the USB camera with device node specified by the environment variable named with UDEV_DEVNODE_<6 digit digest>. Then, it serves these frames over a gRPC interface. The streaming application provides an example streaming service that displays frames served by this broker.

Running

  1. Install Rust and udev dependencies
    ./build/setup.sh
    
  2. Build and run, connecting to the USB camera at /dev/video0
    cd akri/samples/brokers/udev-video-broker
    UDEV_DEVNODE_123456=/dev/video0 cargo run
    

Dependencies

~10–20MB
~264K SLoC