Spherical Video PTZ/User Guide/Quick Start Guide: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
== Minimal Application == | == Minimal Application == | ||
After [[Spherical Video PTZ/User Guide/Building and Installation|Building and Installation]], follow these steps: | |||
'''1.''' Download the sample images, if you haven't already. | |||
<syntaxhighlight lang=bash line> | |||
cd samples | |||
./download_samples.sh | |||
cd .. | |||
</syntaxhighlight> | |||
'''2.''' This example demonstrates the use of the Spherical Video PTZ engine to convert equirectangular images into rectilinear format. This command processes example_image.jpg, converting it from an equirectangular format to a rectilinear view. But you can use any other reference image as long as it is equirectangular. Run the example as: | |||
<syntaxhighlight lang=bash line> | |||
./builddir/examples/equirectangular_to_rectilinear_npp examples/example_image.jpg | |||
</syntaxhighlight> | |||
'''3.''' For this example you can use the interactive controls with the Spherical Video PTZ (Pan-Tilt-Zoom) for dynamic exploration of panoramic images. Hit the specified keys when the example is running: | |||
* Zoom In/Out: Adjust the zoom level to get a closer view or a wider perspective of the image. | |||
** In: <code>i</code> | |||
** Out: <code>o</code> | |||
* Pan Left/Right: Rotate the view horizontally to explore the left or right sides of the panoramic image. | |||
** Left: <code>4</code> | |||
** Right: <code>6</code> | |||
* Tilt Up/Down: Adjust the vertical angle of the camera to look up or down within the panoramic image. | |||
** Up: <code>8</code> | |||
** Down: <code>2</code> | |||
Revision as of 12:48, 20 March 2024
Spherical Video PTZ |
---|
Getting Started |
User Guide |
Examples |
Performance |
Contact Us |
Minimal Application
After Building and Installation, follow these steps:
1. Download the sample images, if you haven't already.
cd samples ./download_samples.sh cd ..
2. This example demonstrates the use of the Spherical Video PTZ engine to convert equirectangular images into rectilinear format. This command processes example_image.jpg, converting it from an equirectangular format to a rectilinear view. But you can use any other reference image as long as it is equirectangular. Run the example as:
./builddir/examples/equirectangular_to_rectilinear_npp examples/example_image.jpg
3. For this example you can use the interactive controls with the Spherical Video PTZ (Pan-Tilt-Zoom) for dynamic exploration of panoramic images. Hit the specified keys when the example is running:
- Zoom In/Out: Adjust the zoom level to get a closer view or a wider perspective of the image.
- In:
i
- Out:
o
- In:
- Pan Left/Right: Rotate the view horizontally to explore the left or right sides of the panoramic image.
- Left:
4
- Right:
6
- Left:
- Tilt Up/Down: Adjust the vertical angle of the camera to look up or down within the panoramic image.
- Up:
8
- Down:
2
- Up: