2347158093
without temperature calibration 0.3% with ~5% model name : Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz |
||
---|---|---|
examples | ||
src | ||
.env.example | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
cvview.py | ||
decode.py | ||
in.pcap | ||
listen.py | ||
live_vid.sh | ||
README.md | ||
replay.py | ||
requirements.txt | ||
run_dhcp_server.sh | ||
run_live_debug.sh | ||
run_live.sh | ||
rustdecode.sh | ||
start.sh | ||
test_rust.py | ||
test2.py | ||
thermal.mp4 |
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