You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
b1a7baae19 | 3 months ago | |
---|---|---|
examples | 3 months ago | |
src | 3 months ago | |
.env.example | 3 months ago | |
.gitignore | 3 months ago | |
Cargo.lock | 3 months ago | |
Cargo.toml | 3 months ago | |
README.md | 3 months ago | |
cvview.py | 4 months ago | |
decode.py | 3 months ago | |
in.pcap | 5 months ago | |
listen.py | 3 months ago | |
live_vid.sh | 3 months ago | |
replay.py | 3 months ago | |
requirements.txt | 4 months ago | |
run_dhcp_server.sh | 4 months ago | |
run_live.sh | 3 months ago | |
run_live_debug.sh | 3 months ago | |
rustdecode.sh | 4 months ago | |
start.sh | 3 months ago | |
test2.py | 4 months ago | |
test_rust.py | 3 months ago | |
thermal.mp4 | 3 months ago |
README.md
Thermal decoder
https://telavivmakers.org/tamiwiki/projects/thermalcam
Starting the stream
Enable jumbo frames
sudo ip link set eth0 mtu 9000
Send start packet
You need to send a special packet.
Sending it via sudo because of raw sockets:
sudo ./venv/bin/python ./replay.py
To send it you need the capability to open sockets in raw mode, but that does not work well with scripts (see [1]
[1] setcap for executables, not helpful for python scripts:
setcap cap_net_raw,cap_net_admin=eip ./replay.py
Rust lib usage
if you don't already have a virtualenv. Linux specific, adjust to your OS.
virtualenv venv
. venv/bin/activate
pip install -r requirements.txt
(cd thermaldecoder; maturin develop -r)
python test_rust.py