Metropolis Microservices/RidgeRun Services/PTZ: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 14: Line 14:


{{Review|Add link to the technical documentation?|mortigoza}}
{{Review|Add link to the technical documentation?|mortigoza}}
{{Colored box|background-title-color=#6586B9|title-color=#FFFFFF|title='''tldr;'''|icon=notice-icon-white.png
  |style=overflow:hidden;
  |content=
You can run this microservice with the following command:
<syntaxhighlight lang="bash">
sudo docker run --runtime nvidia -it --privileged --net=host --ipc=host --name ptz-service  ridgerun/ptz-service:latest --host=0.0.0.0
</syntaxhighlight>
This will run PTZ in port 5020
}}


==Service documentation==
==Service documentation==
Line 213: Line 225:
</syntaxhighlight>
</syntaxhighlight>


By default, it will talk to address 127.0.0.1 and port 5020. In this example we are configuring it to talk to address 192.168.100.15 and port 7000
By default, it will talk to address 127.0.0.1 and port 5020. In this example, we are configuring it to talk to address 192.168.100.15 and port 7000


Here we prepare the "stream" model we want to configure into the PTZ Microservice:
Here we prepare the "stream" model we want to configure into the PTZ Microservice: