[Py] Improve the the geotag of the photo from flight record (DJI Spark)

The location difference between geotags from the photos (red dot) and flight record from DJI Go 4 app (blue solid line). DJI Spark is an entry-class drone with affordable price; however, after several field trip, I found that the geotag of the photo marked by the drone is actually not precise enough for building a digital model. Two figure shows the difference can reach 10 to 20 meters. I wrote a small python script to substitute the GPS tag of the photo.
(中文在下面)
Symbol:
Red Dots: original geotag of the photo.
Green Diamond: modified geotag of the photo
Blue Line: Flight Record (GPS track)
Gray Line: Comparison between old and new location of specific photo.
 
大疆的Spark是比較負擔的起的空拍機,家父很久以前買了一台被我搶來用了。在野外飛過幾次以後,因為要建立數值模型或是正射影像,發現像片的地理座標精度很差,網路上也有這樣的說法。於是研究了一下,寫了個小小的程式用時間對比飛行記錄軌跡,並替換像片的GPS座標。下面兩張圖可以看出原像片與軌跡記錄的差距大概是十到二十公尺。
 
圖例:
紅圓點:原記錄。
綠方點:對比軌跡後新位置。
藍線:飛行軌跡記錄。
灰線:同張像片新舊位置。

請多多指教!

這個網站採用 Akismet 服務減少垃圾留言。進一步瞭解 Akismet 如何處理網站訪客的留言資料