Add various tools

This commit is contained in:
Kamil Trzcinski
2022-11-05 15:39:03 +01:00
parent d143f3019e
commit 764f94ba44
6 changed files with 54 additions and 21 deletions

8
tools/usb_camera.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd "$SCRIPT_DIR/.."
set -xeo pipefail
make -j$(nproc)
$GDB ./camera-streamer -camera-path=$(echo /dev/v4l/by-id/usb-*-video-index0) "$@"