Git Product home page Git Product logo

tralbum's Introduction

Tralbum

Create a Travel Album by merging Google Photo albums and Locations history

Project discontinued: Google Timeline also includes photos
https://timeline.google.com/maps/timeline?pb=!1m2!1m1!1s2022-12-30

Select your album

img/tralbum_select.png

Show album on Google Maps

img/tralbum_map.png

Steps to create your albums

  • Create a Google Project https://console.cloud.google.com/

    • add OAuth 2.0 Client ID
    • add API key
    • add library:
      • photoslibrary.readonly
      • drive.readonly
    • save credentials in bin/client_secret.json
  • Takeout your google location history:

  • Run bin/album_2geo.py with your album name (Case Sensitive)

    • this will find the closed datetime of location.timelineObjects and add it into your album photos
    • Creates the file: geo_album_name.json
      • with geo: {latE7, lngE7} added into your photo mediaItems
      • and timelineObjects extracted from your location history between the dates of your oldes / newest photo
    • Creates your geo_albums.json with a list of all extracted albums
  • upload the json files geo_albums.json and geo_album_name.json to your Google Drive

  • run http://localhost:xxxx/tralbum.html

    • List your albums (loads geo_albums.json) from Google Drive and
    • Select an album (loads geo_albums_name.json from google Drive
      • loads photos from your google photo album
    • Show your travel with photos on google Maps
      • click to show photos

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.