Metropolis Microservices/RidgeRun Services/PTZ: Difference between revisions

From RidgeRun Developer Wiki
No edit summary
No edit summary
Line 22: Line 22:
The project is configured (via setup.py) to install the service with the name '''ptz'''. So to install it run:
The project is configured (via setup.py) to install the service with the name '''ptz'''. So to install it run:


<br>
<pre>
pip install .
pip install .
<br>
</pre>





Revision as of 16:32, 24 June 2024






PTZ Microservice allows you to navigate a video through PTZ.

It leverages the RidgeRun Spherical Video PTZ to make possible the selection of your region of interest within the sphere. This is specified through pan (horizontal), tilt (vertical), and zoom controls, which can be updated at any time during execution.

This service receives an RTSP stream, performs the PTZ depending on the user instructions, and then returns the stream using the same protocol, RTSP.

API configuration

Take a look at the API Documentation for a list of the available requests.


Running the service

Before running the service, you should make sure you have all the dependencies installed. The intructions to do it can be found here: Spherical Video PTZ Building and Installation

Then you have to clone into your device the repository project, available [ https://gitlab.ridgerun.com/ridgerun/rnd/jetson-microservices-and-genai/ptz | here ]

The project is configured (via setup.py) to install the service with the name ptz. So to install it run:

pip install .