Skip to content

Instantly share code, notes, and snippets.

@trolleway
Created January 28, 2019 22:57
Show Gist options
  • Save trolleway/73b024bd7fe6da382765e4fe4c021d11 to your computer and use it in GitHub Desktop.
Save trolleway/73b024bd7fe6da382765e4fe4c021d11 to your computer and use it in GitHub Desktop.
mapillary_tools process --advanced --import_path "g:\Xiaomi_360\20190127\rotated\src2" --user_name trolleway --interpolate_directions --offset_angle 45 --rerun --overwrite_EXIF_direction_tag
%cd%
for /r %%v in (*.JPG) DO (
"exiftool.exe" -overwrite_original -ProjectionType="equirectangular" -UsePanoramaViewer="True" -"PoseHeadingDegrees<$exif:GPSImgDirection" -"CroppedAreaImageWidthPixels<$ImageWidth" -"CroppedAreaImageHeightPixels<$ImageHeight" -"FullPanoWidthPixels<$ImageWidth" -"FullPanoHeightPixels<$ImageHeight" -CroppedAreaLeftPixels="0" -CroppedAreaTopPixels="0" "%%v
)
PAUSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment