-
Clone this repository git clone https://github.com/sandiego206/app_gnss.git
-
Install opencv using sudo apt-get install libopencv-dev python-opencv python-tk
-
Follow the instructions to install SegNet
- Change variable caffe_root in file utils/segnet.py to your caffe-segnet installation path.
-
Download the necessary model weights from here using "Save Link as"
-
Save the file in static/nn_files/
-
Install the requirements sudo pip install -r requirements.txt
-
Run the Flask application with python main.py
-
Open the application at localhost:5000
-
Clone this repository git clone https://github.com/sandiego206/app_gnss.git
-
Install Docker
-
Build the container docker build -t youruser/app_gnss . from Dockerfile directory. This may take a while.
-
Run the container with docker run -t -i -p 5000:5000 youruser/app_gnss python main.py
-
Open the application at localhost:5000
-
We create an equirectangular image showing a 360° view of the location from Google Maps Api, we do this by stitching several tiles obtained from Street View Api.
-
From the equirectangular image, we use SegNet to segment the image.
-
We extract the sky from the previous image using a mask for the color gray, and draw elevation and cardinal lines. The north must be set manually (at the moment)
-
We now use a stereographic projection in the equirectangular panorama image, to display the enitre sky in the center region. And we (at the moment) generate random (elevation, azimut) pairs of data and correctly display them in the image.
- Correctly get the North in each position, and automatically draw in the image.
- Find a way to draw the elevation lines accurately according to the stereographic projection.
- Be able to create a route in Google Maps Api and generate a video with the final result.