GithubHelp home page GithubHelp logo

proctitude's Introduction

Proctitude

Generates nice videos from Google's Location History data by combining Processing and Latitude (now called Location History).

Example Video

Usage

  1. Download your Location History data from Google Takeout (LocationHistory.json) and copy it to the data folder.
  2. Find the area or view that your are interested in using Google Earth, and define it using four placemarks (Ctrl+Shift+P) roughly in the corners of your area. Note that you can drag around the placemarks with the mouse while the placemark dialog is shown.
  3. Note down the geographic coordinates of all of the four placemarks (right-click on Placemark -> Properties). The coorinates kinda look like this: 52°31'14.87" N 13°24'34.00" E. They are expressed using a degrees°minutes’seconds” notations, but we need tham in decimal (looking like this: 52.520797222, 13.409444444). You can easily convert them using decimal = degrees + minutes/60 + seconds/3600. All decimal coordinates should be saved linewise to data/view*/calib-geo.csv (see view1 folder).
  4. Now export two versions of your current view, one that includes the placemarks and one that does not using the Copy Image feature (Ctrl+Alt+C). Save the image without placemarks to data/view*/map.png (see view1 folder).
  5. Open the exported image that includes the placemarks in an image editor and extract the pixel coordinates of the placemarkers. Save them to data/view*/calib-pixel.csv in the same order that you used for the geographic coordinates.
  6. Adjust the view varibale in Proctitude.pde
  7. Run in Processing!
  8. Convert the image sequence to a video file using
avconv -i flow-%06d.png -b 8000k flow.avi

Details

Visit http://www.rwalter.de/hundreds-of-mes/

proctitude's People

Contributors

robbeofficial avatar

Watchers

 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.