Skip to content

robbeofficial/Proctitude

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

Generates nice videos from Google's Location History data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published