turn into an executable instead of a library

burns the python library to the ground though. but I'm just doing
a web service now, so it would be simpler to just use that,
and for live python has the implementation as well still
This commit is contained in:
devdesk
2024-02-20 21:23:26 +02:00
parent 005292adfc
commit 24b65a8ee5
5 changed files with 304 additions and 7 deletions

View File

@@ -5,8 +5,8 @@ set -e
# Python works but stutters
#sudo ./venv/bin/python ./decode.py --live
cargo build --release --example live
TARGET=./target/release/examples/live
cargo build --release
TARGET=./target/release/thermaldecoder
# setcap does not work yet (EPERM on socket AF_PACKET)
# sudo setcap cap_net_raw,cap_net_admin=eip $TARGET
#sudo strace -f -o live.strace $TARGET /dev/video0