Producing KRPanos

From Eitan Burcat
Revision as of 09:19, 25 July 2015 by Eburcat (talk | contribs)
Jump to navigation Jump to search

Copy a script for auto-creating the panoramas from another dir. It takes care of adding the right compass, and creating 2 versions for the panoramas: for iPad and the kiosk


  • Track hours
  • (Panorama) If multiple floors - change file names to be 01, 03, etc.
  • (720) Name should be raw.jpg
  • (Panorama) Fix horizon

Fix horizon by measuring the hight in pixels to the horizon, and adding height:

convert 02a.jpg -gravity south -background white -extent x$((2532*2)) 02.jpg; open 02.jpg
  • (720) Fix proportions. Height should be 0.5 of width:
convert original.jpg -gravity south -extent 27648x13824 raw.jpg
  • Fix an existing script
* pic_x, pic_y
* pic_path
  • Verify compass is right, directions appear in the sky
  • Floors script prepares 2 versions - tour and standalone
  • Add lens flare coordinates if appropriate
  • Find north
  • Align north - fix headings in the script
  • Fix top in tour and standalone floors
  • Send the results: aws s3 cp --acl public-read Floors${ProjectName}.zip s3://anobi/ # Or