This repository contains a 360° image/video navigator developed as an assignment for the Computer Vision course for master's degree in Artificial Intelligence at University of Palermo.
This project is a tool designed to navigate images captured by 360° cameras (equirectangular images). The tool provides functionalities to rectify and display these images, allowing the user to change the field of view, latitude, longitude, and apply zoom to focus on near or far objects.
- Image and Video Support: Load and process both images and videos captured by 360° cameras.
- Interactive Navigation: Use keyboard controls to navigate the view:
W/S: Move up/downA/D: Move left/rightQ/E: Increase/decrease field of view (FOV)Z/X: Zoom in/outP: Take a screenshotSpace: Pause/resume video
- User Interface: A simple Tkinter-based GUI to select files and set initial parameters (FOV, latitude, longitude).
This example demonstrates how the navigator allows you to focus on specific areas within a 360° image.
- Clone the repository:
git clone https://github.com/dqvid3/360-navigator.git cd 360-navigator - Load an Image or Video:
- Run the application using
python main.py. - Use the GUI to select an image or video file either by entering the path or using the file dialog.
- Set the initial FOV, latitude, and longitude.
- Navigate the Image or Video:
- Use the provided keyboard controls to navigate and zoom the image or video.
- Press
Pto take a screenshot at any point. - For videos, use the
Spacebar to pause and resume playback.
elaborazioni.py: Contains the core functions for processing frames, reading images and videos, adding text to frames, taking screenshots, and handling navigation.interfaccia.py: Implements the Tkinter-based GUI for selecting files and input parameters.main.py: The entry point of the application that launches the GUI.trasformazioni.py: Provides utility functions for coordinate transformations and image projections.

