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:
parent
b06962e955
commit
77c2354c00
12 changed files with 201 additions and 16 deletions
|
@ -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
|
Reference in a new issue