GithubHelp home page GithubHelp logo

neutrixs / lookaround-map Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sk-zk/lookaround-map

0.0 0.0 0.0 134 KB

License: MIT License

Shell 0.05% JavaScript 88.65% Python 8.73% CSS 1.40% HTML 1.13% Batchfile 0.04%

lookaround-map's Introduction

lookaround-map is an Apple Look Around viewer running in the browser.

Live at lookmap.eu.pythonanywhere.com!

Setup

git clone https://github.com/sk-zk/lookaround-map.git --recursive
cd lookaround-map
pip install -r requirements.txt
npm i --global rollup
npm i
rollup -c
flask run

On Linux and Mac, you may optionally install pyheif for slightly faster decoding.

Progress

Complete:

  • See where coverage exists (at z=16 or higher)
  • Select and view panoramas
  • Compass
  • Simple movement
  • Reverse geocoding with Nominatim

TODO:

  • Find pitch and roll values
  • Render top and bottom faces of panoramas
    • Completely lost as to which projection this is
  • Find a raster blue line layer if it exists, or decode the vector layer
    • Out of all the network requests that happen when you tap the Look Around button, the most likely candidate for containing that information is style 53 at z=15 specifically.
    • This tile is in Apple's custom VMP4 format. The general structure of the format has been decoded, but the actual content of the individual sections remains undeciphered.
  • Move movement code into custom plugin which displays available locations
    • Well, I've merged it into main, but without the pitch and roll offsets, it's not as accurate as it could be
  • Find and decode depth data and use it to improve movement
    • There are three types of pano data the app will request. One is /t/<face>/<zoom>, which returns the pano faces as HEIC, but there are two others: /m/<zoom> and /mt/7, in a custom format with the header MCP4. One of them probably contains the depth information I'm looking for.
  • Fetch the address from Apple rather than OSM

lookaround-map's People

Contributors

sk-zk avatar shmugoh avatar apfeloxid avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.