Using GCP's in Open drone map


Hi All,

I am exploring the option of using GCP’s feature in ODM.

As given in the documentation I gave the path of gcp file for --gcp parameter :

sudo ./ --images ‘/home/garlac/ODM_input_datsets/kak21’ --orthophoto-resolution 2.57 --opensfm-depthmap-min-consistent-views 2 --matcher-distance 400 --mesh-size 1000000 --gcp ‘/home/garlac/gcp_list.txt’ --depthmap-resolution 1000 --ignore-gsd --min-num-features 12000 --mesh-point-weight 0 --texturing-nadir-weight 32 --texturing-skip-visibility-test --mesh-octree-depth 12 --opensfm-depthmap-method “BRUTE_FORCE” --use-3dmesh --crop 0 --resize-to -1 --texturing-data-term ‘area’ --time --project-path ‘/home/garlac/ODM_dev_version/ODMprojects’ kak21_gcp

But, I get an error :

[INFO] Running ODM Load Dataset Cell - Finished
[INFO] Running ODM OpenSfM Cell
[DEBUG] Altitude data detected, enabling it for GPS alignment
Traceback (most recent call last):
File “/home/garlac/ODM_dev_version/”, line 47, in
File “/home/garlac/ODM_dev_version/scripts/”, line 101, in process
io.copy(tree.odm_georeferencing_gcp, tree.opensfm)
File “/home/garlac/ODM_dev_version/opendm/”, line 38, in copy
shutil.copytree(src, dst)
File “/usr/lib/python2.7/”, line 171, in copytree
names = os.listdir(src)
OSError: [Errno 2] No such file or directory: ‘\xe2\x80\x98/home/garlac/gcp_list.txt\xe2\x80\x99’

I failed to use gcp_list.txt with the help of docker too. OSError: [Errno 16] Device or resource busy: '/code/smvs'

I want to know if I am doing something wrong or is there a different method to pass GCP’s.

Thank you.