Jump to content

Metropolis Microservices/RidgeRun Services/Analytics: Difference between revisions

no edit summary
No edit summary
Line 38: Line 38:
Also you can define a time threshold, it has a different meaning for record and move actions. For record, this time defines the elapsed time between recordings, a new recording request will be send until this threshold time is over. For move this time indicates the time to restart the PTZ position, if an event doesn't occur during the threshold time, the position will be restarted to 0 and zoom 1 when the time is over.
Also you can define a time threshold, it has a different meaning for record and move actions. For record, this time defines the elapsed time between recordings, a new recording request will be send until this threshold time is over. For move this time indicates the time to restart the PTZ position, if an event doesn't occur during the threshold time, the position will be restarted to 0 and zoom 1 when the time is over.


{{Colored box|background-title-color=#6586B9|title-color=#FFFFFF|title='''TL;DR'''|icon=notice-icon-white.png
  |style=overflow:hidden;
  |content=
You can run this microservice with the following command:
<syntaxhighlight lang="bash">
docker run --runtime nvidia -it --network host --volume /home/nvidia/analytics-configs/:/configs --name analytics-service  ridgerun/analytics-service:latest analytics --host 0.0.0.0 --config-file /configs/analytics.json
</syntaxhighlight>
This will run PTZ in port 5010
}}
{{Colored box|background-title-color=#0086B9|title-color=#FFFFFF|title='''Service Documentation'''|icon=notice-icon-white.png
  |style=overflow:hidden;
  |content=
* [http://analytics-open-ridgerun-microservices-884d9753f4c30d267ed3a0306.pages.ridgerun.com/ Service Documentation]
* [http://analytics-open-ridgerun-microservices-884d9753f4c30d267ed3a0306.pages.ridgerun.com/api.html Api Documentation]
}}


== Running the Service ==
== Running the Service ==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.