druedaplata / app_gnss

App gnss

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

APP GNSS

Installation Instructions

  1. Clone this repository git clone https://github.com/druedaplata/app_gnss.git

  2. Install opencv using sudo apt-get install libopencv-dev python-opencv python-tk

  3. Follow the instructions to install SegNet

    • Change variable caffe_root in file utils/segnet.py to your caffe-segnet installation path.
  4. Download the necessary model weights from here using "Save Link as"

  5. Save the file in static/nn_files/

  6. Install the requirements sudo pip install -r requirements.txt

  7. Run the Flask application with python main.py

  8. Open the application at localhost:5000

Run as Docker Container

  1. Clone this repository git clone https://github.com/druedaplata/app_gnss.git

  2. Install Docker

  3. Build the container docker build -t youruser/app_gnss /path/to/Dockerfile. This may take a while.

  4. Run the container with docker run -t -i -p 5000:5000 youruser/app_gnss python main.py

  5. Open the application at localhost:5000

How it works? - 23/01/2017

  1. We start by clicking in any Street, and click on Search. gmaps_api

  2. 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 Google Street View Api. raw_panorama

  3. From the equirectangular image, we use SegNet to segment the image. segment

  4. We use a Stereographic projection in the equirectangular panorama image, to display the entire sky in the center region. And generate random (elevation, azimut) pairs of data and correctly display them in the image. stereo_images

  5. Using a mask for the sky in the segmented image, we create a stereographic projection that show only the visible sky at the location. Images are rotated in order to have North always on top. segmented_stereo

To Do:

  1. Inform the user when there is no StreetView data available for a location.
  2. Use real satellite data and draw them correctly in the images.

About

App gnss

License:MIT License


Languages

Language:Python 60.5%Language:HTML 39.0%Language:CSS 0.6%