4134d4befb
The Qt approach to grabbing frames from the live stream was also a failure. - decided to switch to a combination ffmpeg and imagemagic was external commands to do motion detection. this approach elimates the need for opencv altogeather so it was removed from the project. system resource usage appears to be decent and perhaps better than opencv.
8 lines
340 B
Bash
8 lines
340 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
|
|
cp ./bin/magick /usr/bin/magick
|
|
chmod +x /usr/bin/magick
|