äžèŠããã®ã±ãŒã¹ã«é©ããŠããã®ã¯éåžžã®ã¹ããŒããã©ã³ã ãã§ãã ããããGoProãªã©ã®ã¢ã¯ã·ã§ã³ã«ã¡ã©ã䜿çšããŠMapillaryã®åçãåéã§ãããšãããã©ãã§ããããã èªè»¢è»ããã«ã¡ããããŸãã¯è»ã«æèŒãããŠããŸããïŒ çµå±ã®ãšãããããã¯å¯èœã§ãã
ãããŠå é±ãç§ã¯çãæ è¡ãããŠãTimeLapseæ©èœã䜿çšããŠ30åã§çŽ1,700æã®åçãåéããŸããã 32ã®ã¬ãã€ãã®SDã«ãŒãã§ã¯ã3.4ã®ã¬ãã€ãããé£ã¹ãŸããã§ããã ã¡ã¢ãªã«ãŒãããã£ã±ãã«ãªãåã«ãç§ã¯ãŸã 4æé以äžä¹è»ããçŽ15äžæã®åçãæ®ãããšãã§ããŸããã
ããããããã¯å®å šã«äºçŽ°ãªåé¡ã§ã¯ãªãããããããã©ã®ããã«è¡ããããããã詳现ã«èª¬æããå¿ èŠããããšæããŸãã äž»ãªåé¡ã¯ãGoProã«GPSã¬ã·ãŒããŒãå«ãŸããŠããªãããšã§ãã å°å³ãµãŒãã¹ã¯ãå°å³ã®ã©ãã«åçã衚瀺ããããã©ã®ããã«ããŠç¥ãã®ã§ããïŒ ç§ãã¡èªèº«ããã®æ å ±ã圌ã«æž¡ããªããã°ãªããªãã®ã§ãå¥ã®GPSåä¿¡æ©ã䜿çšããå¿ èŠããããŸãã å人çã«ã¯ãHTC Oneã¹ããŒããã©ã³ã䜿çšããŸãããããã¯ãMapillaryã§éåžžã®åçãæ®ãããã«äœ¿çšãããã®ãšåããã®ã§ãã
ã€ãŸããæé ã¯æ¬¡ã®ãšããã§ãã
- ããŸããŸãªåãä»ãè£ çœ®ã䜿çšããŠãã«ã¡ã©ãèªè»¢è»ãŸãã¯è»ã«åãä»ããŸãã
- ããã°ã©ã ãå®è¡ããŠGPSãã©ãã¯ãèšé²ããŸãã ç§ã¯geopaparazziããã°ã©ã ã䜿çšããŸããããåæ§ã«æ©èœããä»ã®å€ãã®ãã®ããããŸãã
- GoProããã¬ãŒã ããšã®æ®åœ±ã«èšå®ããŸãã èšå®ãéžæããŸããïŒ5MPãäžãçãã1ç§ã
- GoProãèµ·åããŠä¹è»ããŸãã
- åçãšGPXãã©ãã¯ãã³ã³ãã¥ãŒã¿ãŒã«ã¢ããããŒãããŸãã
- gpx2exifã䜿çšããŠãåçãå°ç座æšã«æ·»ä»ããæ®åœ±æéãGPXãã©ãã¯ãšåæããŸãã
- Mapillaryã«åçãã¢ããããŒãããŸãã
é£ããããšã§ã¯ãªãããã§ãã å é±ã®æ è¡ãäŸã«ããããã®ã¢ã¯ã·ã§ã³ã«ã€ããŠè©³ãã説æããŸãã
GoProããããRX8ã®å·Šããã³ããã§ã³ããŒã«åãä»ããŠãéè·¯ã®çãäžãããèŠããããã«ããŸããã
次ã«ãè»å ã®HTC Oneã¹ããŒããã©ã³ãç¹å¥ãªããŠã³ãã«åºå®ããŸããã ã GoPro App ãããã°ã©ã ã䜿çšããŠãã«ã¡ã©ã«åå ããGoProãèŠãŠããå°åœ¢ã®ãã¬ãã¥ãŒã衚瀺ããŸããã ããã¯äŸ¿å©ã§ãããå®éã«ã¯ããã»ã©å¿ èŠã§ã¯ãããŸããã èšé²ãéå§ããããšããã¬ãã¥ãŒãæ¶ããŸãã GPSè¡æä¿¡å·ãããææãããå Žæã«ããã¹ããŒããã©ã³ãè»å ã«ããããšã ããå¿ èŠã§ãã GoProã¢ããªã䜿çšããå Žåã¯ãã«ã¡ã©ã®æéã調æŽããããã«å°ãæéããããŠãã ãããããã€ã¹ã®çŸåšã®æéã®å·®ã¯ã§ããã ãå°ããããå¿ èŠããããŸãã åŸã§èŠãããã«ããã©ãã¯ãšåçãåæããã«ã¯æéå·®ãèæ ®ããå¿ èŠããããŸãã ãããŠãããªããããªããã°ãªããªãä¿®æ£ãå°ãªããã°å°ãªãã»ã©ãäœæ¥ãå®äºãããããªããŸãã
ã«ã¡ã©ã®èšå®ãããäžåºŠç¢ºèªããŸãããã1ã³ãæ®åœ±ã®ã¿ã€ã ã©ãã¹åçã¢ãŒãããªã³ã«ããå¿ èŠããããŸãã ããã¯GoProã¢ããªã§ç°¡åã«è¡ããŸãããGoProèªäœã§è¡ãããšãã§ããŸãã æºåž¯é»è©±ã§æ®åœ±ããŠãããã®ã«äŒŒããã¥ãŒãåŸãããã«ã5MBãäžãçãéžæããŸããã åçã®çŠç¹è·é¢ïŒ35 mmã«ã¡ã©ã®å ŽåïŒã¯çŽ20 mmã§ãã GoProã®ããã©ã«ãèšå®ã§ã¯ãèŠçãåºããå åŠæªã¿ã倧ãããããä»åã®æ è¡ã§ã¯ãã®ã¢ãŒããæåŠããŸããã Mapillaryã®åçãåºè§4Kãããªã¹ããªãŒã ããæ®åœ±ãããšããå¥ã®èšäºã§å¥ã®ã·ããªãªã説æããäºå®ã§ãã é£ããã£ãã®ã§ããšãããã話ãé£ã°ããŠãã ããã
1ç§ããã1ãã¬ãŒã ãéžæããèšå®ã§ã¯ãåçéã®è·é¢ã¯40ã80 km / hã®é床ã§10ã20ã¡ãŒãã«ã«ãªããŸãã 2ç§ããšã«1ãã¬ãŒã çšåºŠã®Mapillaryã®æšå¥šäºé ã¯èªè»¢è»ã«é©ããŠããŸããããã¡ãããèªè»¢è»ãããéãåãããšãèšç»ããŠããŸãïŒ
GPSãã©ãã¯ãèšé²ããããã®ã¢ããªã±ãŒã·ã§ã³ãèµ·åããŸãã ãã®å Žåã geopaparazziããã°ã©ã ã䜿çšããŸãã ã ãã®ã¢ããªã±ãŒã·ã§ã³ã«ã¯ãèšé²ãéå§ãããã¿ã³ããããŸãã ãã®ãã¿ã³ãæŒããŠãææ¡ããããã¡ã€ã«åã確èªããŠãã©ãã¯ãä¿åããŸããã ããã£ã ããã§ãã¹ãŠæºåå®äºã§ãã æ®åœ±ãéå§ããŠè¡ãã ãã§ãïŒ
転ãããšãã«ã¡ã©ãšGPSåä¿¡æ©ã§ã®èšé²ãåæ¢ããŸãã ããã§å®éã®äœæ¥ãå§ãŸããŸãïŒ ãããªã¢ã«ãMapillaryã«ã¢ããããŒãããåã«ããžãªãªãã¡ã¬ã³ã¹ãå®è¡ããå¿ èŠããããŸãã Geopaparazziã§ã¯ããã©ãã¯ãGPXãã¡ã€ã«ã«ãšã¯ã¹ããŒãããã¡ãŒã«ã§èªåã«éä¿¡ããŸããã GoProãããã«ãŒããåãåºããŠåçãã©ãããããã«ã³ããŒããŸããã
ç§ãæåã«ããããã£ãããšã¯ãç§ã®æ è¡ãã©ã®ããã«èŠããããèŠãããšã§ããã ã³ãã³ããå®è¡ããŸããïŒ
geotag -g vÀla_to_billesholm.gpx \ -o vÀla_to_billesholm.png \ -D 1 -s 2048x2048
ãã®çµæããã¹ãããå šäœã®é«è§£å床ã®ç»åãåŸãããŸãã -Dãªãã·ã§ã³ã䜿çšããŠããããäžã®ããŒã«ãŒéã®ééã倧ããããããšã«æ³šæããŠãã ããã ããã¯ããžãªã¿ã°ããããšãã°é«éèªè»¢è»ã«ä¹ããããªçããã©ãã¯ã«å¯ŸããŠããã©ã«ãã§èšå®ãããŠããããã«å¿ èŠã§ãã çµæã®ç»åã¯ãæ è¡ã®ããŒãã€ã³ãã®æéãšäœçœ®ã瀺ããŠããŸãã ã«ã¡ã©ãšGPSåä¿¡æ©ã®æå»ã®äžèŽãæåã§ç¢ºèªãããããã®éã®ã¯ããã¯èª€å·®ãããæ£ç¢ºã«æ±ºå®ã§ããããã€ãã®ç¹åŸŽçãªå Žæã§ã¹ã±ãŒã«ãæ¡å€§ããå¿ èŠããããŸãã åæ段éã§ããã®éããä¿®æ£ããããšãã§ããŸãããããæ£ããå€æããããšãéèŠã§ãã
ã³ãã³ããå®è¡ããŸããïŒ
ãã®ç»åãçæããŸããïŒgeotag -R 20140505T12:39:00+02-20140505T12:41:00+02 \ -g vÀla_to_billesholm.gpx \ -o krop.png -D 0.1
æ©ã®äžã«å ¥ã£ããšããã®åçãèŠã€ããŠãæèšã確èªã§ããŸãã
ãã®åçã®EXIFããŒã¿ã¯ã12ïŒ39ïŒ11ã«æ®åœ±ãããããšã瀺ããŠããŸãã å°å³ãèŠããšã12ïŒ39ïŒ14ã«ãã³ãã«ãééããããšãããããŸãã ãããã£ãŠããšã©ãŒã¯3ç§ã§ãã ãžãªãªãã¡ã¬ã³ã¹ããã»ã¹ã§ãã®å€ã䜿çšã§ããŸãããæåã«å¥ã®åçã確èªããããšããå§ãããŸãã
建ç©ã亀差ç¹ãªã©ã®ãªããžã§ã¯ããèå¥ã§ãããããMörarpãéããã¹ã®ããããçæããŸããã åæ¢ãã亀差ç¹ïŒç§ã®å³æãªã©ïŒã¯äœ¿çšããªãã§ãã ããã 移åäžã«è¿ãã«ããã©ã³ãããŒã¯ãæ¢ããŠãã ããã å°å³ã®äžéšã®å³åŽã®æåã®éè·¯ãæ¢ããŠãããšããã12ïŒ46ïŒ10ã«æ®åœ±ãããåçãèŠã€ãããŸããã
ç§ã¯ããããã©ãã«ããããæ£ç¢ºã«ç¥ã£ãŠããããã€ãã®ã©ã³ãããŒã¯ã«æ³šæããŸããïŒäžå€®ã®èŠåæšèã亀差ç¹ã®çœãããŒãã³ã°ãè¡è·¯ç §æã®ããŒã«ã
ãã§ãã¯ããå¥ã®èå³æ·±ãæ¹æ³ã䜿çšã§ããŸããGoogleã¹ããªãŒããã¥ãŒã®åçãããå Žæã«ããå Žåã¯ã2ã€ã®ç»åãæ¯èŒã§ããŸãã
Googleã®ã¹ããªãŒããã¥ãŒã®ã·ã§ããã«ã¯ãéè·¯æšèã亀差ç¹ã®ããŒãã³ã°ãæšãé»æ±ã衚瀺ãããŠããŸãã ãããããã§ã³ã¹ã¯ãããŸãããã¯ãªã¹ãã¹ããªãŒã¯ãã®å Žæã§æé·ããŸãã Googleè»ããã®å Žæãé転ããåŸã«å»ºèšãå§ãŸã£ãããšã¯æããã§ãã Googleã¯ãåçã¯2011幎9æ-çŽ2.5幎å-ã«æ®åœ±ããããšèšãã
GPXãã©ãã¯ã®ããŒã¿ããMerarpãèŠããšã亀差ç¹ã12:46:13ã«ééããããšãããããŸããããã¯ãã«ã¡ã©ãåçã«èšé²ããæéãã3ç§é ããŠããŸãã ãŸãã3ç§ã®ãšã©ãŒããããŸãã åã°ããããšã«ããšã©ãŒã¯ãã©ãã¯å šäœã§åãã§ããããšãããããŸããã 次ã®ã³ãã³ãã䜿çšããŠã1,500æã®åçãã¹ãŠãç¶è¡ããŠåæã§ããŸãã
geotag -g vÀla_to_billesholm.gpx \ 20140505_TimeLapse/*JPG -t 3 -v
ã-t -3ããªãã·ã§ã³ã䜿çšããŠæéãªãã»ãããèšå®ããã-vããªãã·ã§ã³ã䜿çšããŠããã»ã¹ãç£èŠããŸããã ã¹ã¯ãªããã¯exif_fileã³ãã³ãã©ã€ã³ããã°ã©ã ã®ã©ãããŒã§ãããããè€æ°ã®ããã»ã¹ãåãã¡ã€ã«ã®åŠçãéå§ããŸãã ããã«ã¯æéãããããŸãããæåŸã«ã¯ãã¹ãŠã®åçã«GPXããååŸããå°çåç §æ å ±ãå«ãŸããŸãã
åçã«ãªã³ã¯ããå°çæ å ±ãå®æããããmapillary.comã«åçãã¢ããããŒãã§ããŸãã ãµã€ããå ¥åããååãã¯ãªãã¯ãããç»åãã¢ããããŒãããéžæããŠãããã¡ã€ã«ãéžæããã¿ã³ãã¯ãªãã¯ããŸãã ãã¹ãŠã®ãã¡ã€ã«ãéžæããåŸãããŒãžãäžã«ã¹ã¯ããŒã«ãããã¢ããããŒãã®éå§ããã¿ã³ãã¯ãªãã¯ããŸãã ãµã€ãã®é è²ã¯ãããŠã³ããŒããéå§ããããã©ãããåžžã«æ確ã§ã¯ãªããããªãã®ã§ãã ããŒãžãäžã«ã¹ã¯ããŒã«ããã ãã§ãåç»åã®äžã«èµ€ãããŒãã£ã³ã°ã€ã³ãžã±ãŒã¿ã衚瀺ãããŸãã
æåŸã«ãããŠã³ããŒããå®äºããããååãã¯ãªãã¯ããŠãããã€ã¢ããããŒãããéžæããŸãã 'ãã©ãã¯ã®æ°ããç»åã衚瀺ãããŸãã
Mapillaryã§åçã衚瀺ããã«ã¯ãææ°ã®ã¢ããããŒããã¯ãªãã¯ããŠãã ããïŒ
åçã®å®å šãªåŠçã«ã¯æéããããå Žåããããããããã«å©çšã§ããªãå Žåã§ãå¿é ããªãã§ãã ããã ãããã«å°ãåŸã§æ»ããŸãã
ãããŠä»-ã¹ããŒã¢ãŒã·ã§ã³ãããª
èšèŒãããŠããæ®åœ±æ¹æ³ã®GoProã§ã®èšå®ã¯ããã¿ã€ã ã©ãã¹ã-ãã¹ããŒã¢ãŒã·ã§ã³ããšåŒã°ããç¡é§ã§ã¯ãããŸããã åçããæ ç»ãäœãããšãã§ããŸãã æ¯ç§1ãã¬ãŒã ãæ®åœ±ãããããæ¯ç§25ãã¬ãŒã ã®é »åºŠã§ãããªãäœæãããšã25åã®å éãåŸãããŸãã ããã¯ãããïŒ ç§ãåŸããã®ãèŠãïŒ
ãã®ãããªã¯æ¬¡ã®ããã«äœæãããŸãã::
- ãã¹ãŠã®åçã®ååãå€æŽããŠããã¡ã€ã«åã«0000ã§å§ãŸãçªå·ãä»ããŸããfoo-0000.jpegã®ãããªååãä»ããŸããã ç掻ã楜ã«ããããã«ãå¿
èŠãªååã§ããŒããªã³ã¯ãäœæããã«ããŒã¹ã¯ãªãããäœæããŸããã ãã®åŸãffmpegã³ãã³ãã䜿çšããŠãããªãã³ã³ãã€ã«ã§ããŸãã
ffmpeg -f image2 -i foo-%04d.jpeg \ -r 25 -s 1280x960 ../myvid.mp4
- ãã®ã³ãã³ãã¯ã7ã¡ã¬ãã¯ã»ã«4ïŒ3圢åŒã®åçã960p HDã ãŒããŒã«å§çž®ããŸãã
- 次ã«ãOpenShotãããªãšãã£ã¿ãŒã䜿çšããŠã16ïŒ9ã«ããªãã³ã°ãããµãŠã³ããè¿œå ããã«ãŒããè¿œå ãã720p解å床ã§å§çž®ããŠäžçšåºŠã®å質ã§Webã«ãã°ããããŠã³ããŒãããŸããã
Gpx2exifã€ã³ã¹ããŒã«
ãã®èšäºã§ã¯ããžãªã¿ã°ããŒã ãåºã䜿çšãããŠããŸãã ãã®ã³ãã³ãã¯ãruby gem "gpx2exif"ã«å«ãŸããŠããŸãã ãã®èšäºã§ã¯ãããŒãžã§ã³0.3.6ã§äœ¿çšå¯èœãªæ©èœã䜿çšããŸããã ãã ããèšäºã®å ¬éæã«ã¯ãããŒãžã§ã³0.3.1ãå©çšå¯èœã§ããã ãããã£ãŠãææ°ããŒãžã§ã³ã®ã€ã³ã¹ããŒã«æ¹æ³ã説æããŸãã
Ubuntuã«Rubyãã€ã³ã¹ããŒã«ãã
æåã«å¿ èŠãªã®ã¯Rubyã§ãã ã€ã³ã¹ããŒã«ã¯ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã«ãã£ãŠç°ãªããŸãã Ubuntu 14.04ãšRVMã䜿çšããŠããŸããããã§ã¯ãOSã«é©ããæé ã瀺ããŸãã ãŸãããã©ãããã©ãŒã ã«é©ããã¢ããã€ã¹ãåŸãããã«ruby-lang.orgãšrvm.ioã®ãµã€ãã«è¡ãããšããå§ãããŸãã
sudo apt-get install curl curl -sSL https://get.rvm.io | sudo bash -s stable --ruby sudo usermod -g rvm craig # logout and login to get RVM group source /etc/profile.d/rvm.sh
PNGç»åãäœæããããã°ã©ã ã®éšåã¯ããã®äœæ¥ã«ImageMagickã䜿çšããŸãã Ubuntuã®å Žåãããã¯æåã«ããã€ãã®äŸåé¢ä¿ãã€ã³ã¹ããŒã«ããå¿ èŠãããããšãæå³ããŸãã
sudo apt-get install imagemagick imagemagick-doc libmagickwand-dev gem install rmagick # Requires libmagickwand-dev to compile
rubygems.orgããã®ã€ã³ã¹ããŒã«
rubyãã€ã³ã¹ããŒã«ãããããgemãã€ã³ã¹ããŒã«ããã ãã§ãïŒ
gem install gpx2exif
次ã«ãgem listã³ãã³ãã䜿çšããŠãªã¹ããåºåããçµæãšããŠã€ã³ã¹ããŒã«ãããããŒãžã§ã³ãèŠã€ããŸãã 0.3.5ããå€ãå Žåã¯ã以äžã®æé ã«åŸã£ãŠãã ããã
githubã䜿çšããã€ã³ã¹ããŒã«
gitãã€ã³ã¹ããŒã«ããŠããã³ãã³ããå®è¡ããŸãïŒ
git clone https://github.com/craigtaverner/gpx2exif cd gpx2exif bundle install rake build gem install pkg/gpx2exif-0.3.6.gem
ãã¹ãŠãããŸãããã°ãRuby Gemã®ææ°ããŒãžã§ã³ããã«ãããŠã€ã³ã¹ããŒã«ããŸããã
翻蚳è ããã®ã³ã¡ã³ã ïŒ
1ïŒMapillaryãšã¯äœã§ããïŒ Zverikãèšã£ãããã«ããã¹ãããã·ã§ããã®Mapillaryã¯ããããã®OpenStreetMapã®ãããªãã®ã§ããã èŠããã«ãããã¯ã¯ã©ãŠããœãŒã·ã³ã°ã®åçã«åãçµãã§ããGoogleã®ã¹ããªãŒããã¥ãŒãšYandexã®ããã©ãã«é¡äŒŒããŠããŸãã ãŠãŒã¶ãŒã¯ãå°çåç §ãããåçãã¢ããããŒãããŸããåçã¯ã移åããç·ãšãšãã«å°å³äžã«è¡šç€ºãããŸãã ã³ã³ãã³ãã©ã€ã»ã³ã¹ã§ã¯ãOpenStreetMapã®åçããååŸããæ å ±ã䜿çšã§ããŸãã
2ïŒå°çåç §åçã«ã¯ã次ã®ãããªPythonã¹ã¯ãªããããããŸãïŒ https : //github.com/mapillary/mapillary_tools/blob/master/python/geotag_from_gpx.py
3ïŒãã©ã°ã©ã1ãš2ã§èšåããããã¹ãŠã«ã€ããŠãç§ã¯ãŠãŒã¶ãŒZverikã®ããã°ã®èšäºã People's Panoramas ãããåŠã³ãŸããã
4ïŒæèšã®äžäžèŽãèšé²ããæã䟿å©ãªæ¹æ³ã¯ãGPSããã€ã¹ã§æèšãæ®åœ±ããããšã§ãã