I’m very new to this lovely ODM community, so forgive me if I’m asking a stupid question.
TLDR
I’m getting these two errors when running ODM through Docker:
[WARNING] GCP file does not exist: E:/project/Uint16/gcp_list.txt
AttributeError: ‘NoneType’ object has no attribute ‘gcp_path’
Context
I am trying to create an orthomosaic from a batch of single band black and white aerial photographs from the 1960s (16-bit tif, one band). The dataset is not georeferenced so I created a .txt GCP file, the first few lines are as follows:
+proj=utm +zone=50 +ellps=WGS84 +datum=WGS84 +units=m +no_defs
114.110670774979 22.2258409817862 NA 779.5 1714.4 1963_1963-8757_cropped.tif
114.110670774979 22.2258409817862 NA 1751.82 1734.34 1963_1963-8756_cropped.tif
114.110670774979 22.2258409817862 NA 2653.2 1727.3 1963_1963-8755_cropped.tif
114.110670774979 22.2258409817862 NA 2085 934.8 1963_1963-8795_cropped.tif
114.110670774979 22.2258409817862 NA 1167.2 915.4 1963_1963-8796_cropped.tif
114.110670774979 22.2258409817862 NA 246.6 950.5 1963_1963-8797_cropped.tif
114.12317750048 22.1812293161165 NA 1724.5 1343.6 1963_1963-8762_cropped.tif
114.12317750048 22.1812293161165 NA 2645 1253.2 1963_1963-8761_cropped.tif
114.12317750048 22.1812293161165 NA 688.8 1291.2 1963_1963-8763_cropped.tif
114.12317750048 22.1812293161165 NA 1922.6 2421.8 1963_1963-8744_cropped.tif
114.12317750048 22.1812293161165 NA 1115.3 2419.8 1963_1963-8745_cropped.tif
My directory has the following structure:
E:/project/Uint16/images << my images
E:/project/Uint16/gcp_list.txt << my GCPs
I saw two related post on the issue (here and here), but I can’t seem to successfully mount the GCP file after hours of playing around with the structure of the code.
docker run -ti --rm -v E:/project:/project opendronemap/odm --project-path /project Uint16 --fast-orthophoto --gcp E:/project/Uint16/gcp_list.txt --skip-3dmodel --min-num-features 12000 --orthophoto-resolution 100
I’ve tried running this on webODM but it gave me an even more nebulous “cannot process dataset” 10 seconds in.
Any suggestions would be greatly appreciated.