updated to version 0.0.3

added vision daemon which runs in the background
added more documentation to vision module
now including opencv dependencies in complib package
This commit is contained in:
Joel 2021-01-21 23:55:26 +01:00
parent b06962e955
commit 77c2354c00
No known key found for this signature in database
GPG key ID: BDDDBECD0808290E
12 changed files with 201 additions and 16 deletions

View file

@ -11,4 +11,28 @@ install_package() {
install_package "smbus"
install_package "requests"
install_package "python-logstash-async"
install_package "python-logstash-async"
echo "Setting up opencv4"
pkg-config --modversion opencv4
echo "Setting up nginx rtmp server"
sudo /etc/init.d/nginx start
sudo tee /etc/nginx/nginx.conf > /dev/null <<EOT
load_module "modules/ngx_rtmp_module.so";
worker_processes auto;
rtmp_auto_push on;
events {}
rtmp {
server {
listen 1935;
listen [::]:1935 ipv6only=on;
application live {
live on;
record off;
}
}
}
EOT