b445906403
-added a dely to DetectLoop after a positive motion detection to prevent motion event overlap. -moved the 2 image diff pair compair to proper "end of array" in DetectLoop. -increased the size of the image stream so queded up events will be able generate thumbnails properly. -cleaned off a bunch of unused parameters in the code. -adjusted the default motion sensitivity after real world testing. -added libfuse-dev to setup.sh since imagemagic needs that to operate.
8 lines
352 B
Bash
8 lines
352 B
Bash
#!/bin/sh
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
apt update -y
|
|
apt install -y pkg-config cmake make g++
|
|
apt install -y ffmpeg libavcodec-dev libavformat-dev libavutil-dev libswscale-dev x264 libx264-dev libilmbase-dev qt6-base-dev qtchooser qmake6 qt6-base-dev-tools libxkbcommon-dev libfuse-dev
|
|
cp ./bin/magick /usr/bin/magick
|
|
chmod +x /usr/bin/magick
|