Forum

Author Topic: Automatic way via python to add gcps ?  (Read 4109 times)

sokratis

  • Newbie
  • *
  • Posts: 3
    • View Profile
Automatic way via python to add gcps ?
« on: March 16, 2023, 05:58:49 PM »
Hello ,

i have 20 + flights of same field and i would like to run orthomosaics via python and use gcps.

i have a csv of the gcp points, is there a way i can automate that ? how would the "hand pick" of a couple of images work in this case ?

Thank you,
Best!

Diogo

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Automatic way via python to add gcps ?
« Reply #1 on: March 29, 2023, 10:26:11 AM »
Hi Sokratis

If you've usen the targets provided by Metashape you can easily run
Code: [Select]
detectMarkers(). If your GSD is high enough then it should be able to detect your markers and you can then import your gcps by using
Code: [Select]
importReference(ignore_labels=True).

By using cross Targets or any other kind it is very difficult to find them and i've been rarely able to match them via metashape functions.

Best
Diogo