Compare commits

...

7 Commits

Author SHA1 Message Date
tteckster 3233fbf5f5
Update frigate-install.sh
tweak
2024-04-01 07:19:13 -04:00
tteckster 980fb26b41
Update frigate-install.sh
tweak
2024-04-01 07:05:24 -04:00
tteckster 3817e9372f
Update frigate-install.sh
tweak
2024-04-01 06:58:08 -04:00
tteckster 6c9f829ee9
Update frigate-install.sh
tweak
2024-04-01 06:48:02 -04:00
tteckster 6e3e49337b
Update frigate-install.sh
- Download new input file
- Create new config.yml
- Link `/config/config.yml` and  `/opt/frigate/config/config.yml`
- Create log directories 
- Fix GID mismatch
2024-04-01 06:36:57 -04:00
tteckster 35837f056d
Update frigate.sh
keep 4vCPUs
2024-04-01 06:30:21 -04:00
tteckster a16f31bbca
Update bug_report.yaml
Add Alpine
2024-04-01 04:09:29 -04:00
3 changed files with 27 additions and 1 deletions

View File

@ -43,6 +43,7 @@ body:
label: Which Linux distribution are you employing?
options:
-
- Alpine
- Debian 11
- Debian 12
- Ubuntu 20.04

View File

@ -65,7 +65,6 @@ description
msg_info "Setting Container to Normal Resources"
pct set $CTID -memory 1024
pct set $CTID -cores 2
msg_ok "Set Container to Normal Resources"
msg_ok "Completed Successfully!\n"
echo -e "${APP} should be reachable by going to the following URL.

View File

@ -76,6 +76,30 @@ $STD npm run build
cp -r /opt/frigate/web/dist/* /opt/frigate/web/
cp -r /opt/frigate/config/. /config
sed -i '/^s6-svc -O \.$/s/^/#/' /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/frigate/run
cat <<EOF >/config/config.yml
mqtt:
enabled: false
model:
path: /root/cpu_model.tflite
cameras:
test:
ffmpeg:
inputs:
- path: /media/frigate/person-bicycle-car-detection.mp4
input_args: -re -stream_loop -1 -fflags +genpts
roles:
- detect
- rtmp
detect:
height: 1080
width: 1920
fps: 5
EOF
ln -sf /config/config.yml /opt/frigate/config/config.yml
mkdir -p /dev/shm/logs/{frigate,go2rtc,nginx}
touch /dev/shm/logs/{frigate/current,go2rtc/current,nginx/current}
chmod -R 777 /dev/shm
sed -i -e 's/^kvm:x:104:$/render:x:104:root,frigate/' -e 's/^render:x:105:root$/kvm:x:105:/' /etc/group
msg_ok "Installed Frigate $RELEASE"
msg_info "Installing Object Detection Models (Resilience)"
@ -108,6 +132,8 @@ wget -q https://github.com/openvinotoolkit/open_model_zoo/raw/master/data/datase
sed -i 's/truck/car/g' openvino-model/coco_91cl_bkgr.txt
wget -qO cpu_audio_model.tflite https://tfhub.dev/google/lite-model/yamnet/classification/tflite/1?lite-format=tflite
cp /opt/frigate/audio-labelmap.txt /audio-labelmap.txt
mkdir -p /media/frigate
wget -qO /media/frigate/person-bicycle-car-detection.mp4 https://github.com/intel-iot-devkit/sample-videos/raw/master/person-bicycle-car-detection.mp4
msg_ok "Installed Object Detection Models"
msg_info "Building Nginx with Custom Modules"