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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user