Skip to content

Commit a3ff42b

Browse files
authored
detect sse 4.2 (#328)
see if sse 4.2 is on the processor, if so add openvino.
1 parent fb07064 commit a3ff42b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/frigate-install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ fi
104104
echo "tmpfs /tmp/cache tmpfs defaults 0 0" >> /etc/fstab
105105
msg_ok "Installed Frigate $RELEASE"
106106

107-
if grep -q -o -m1 'avx[^ ]*' /proc/cpuinfo; then
108-
msg_ok "AVX Support Detected"
107+
if grep -q -o -m1 -E 'avx[^ ]* | sse4_2' /proc/cpuinfo; then
108+
msg_ok "AVX or SSE 4.2 Support Detected"
109109
msg_info "Installing Openvino Object Detection Model (Resilience)"
110110
$STD pip install -r /opt/frigate/docker/main/requirements-ov.txt
111111
cd /opt/frigate/models

0 commit comments

Comments
 (0)