GCP line ignored, image not found

I am using webODM Lightning v 1.2.2 on a Windows 10 computer.

Acquired images from a landfill in two separate flights with a DJI Phantom 4 Pro 2. Set and surveyed five ground control targets with a Trimble GPS unit. Acquired a total of 1934 images.

Processed each dataset separately, without use of GCP data, webODM output good orthophoto and DSM. The datasets overlap. Ground control targets are located around perimeter. Ran pooled images and obtained orthophoto, DSM - no issues.

Created GCP file using the online interface. Downloaded the file and entered GCP elevations in meters. Identified targets in about 50+ images. Wittled it down to four image per ground control point. Specified EGPS:4326.

Created project, supplied both the pooled 1,934 images and gcp list file (below). Retained all default parameters. Processing terminated upon completion of image upload error message:

[WARNING] GCP line ignored (image not found): -75.02131104 40.82630065 187.16 2632.82771 2464.52575 Southslope_(181).JPG GCP01

for each GCP specified in the file. Re-created the gcp_list and attempted re-running the data. Same outcome. Tried running the data on different computers - same outcome.

Provided below are the output of the error message and the GCP. I could upload the images if required.

GCP_LIST.TXT

EPSG:4326 -75.02131104 40.82630065 187.16 2632.82771 2464.52575 Southslope_(181).JPG GCP01 -75.02131104 40.82630065 187.16 2580.46885 3207.38674 Southslope_(182).JPG GCP01 -75.02131104 40.82630065 187.16 3601.91931 3362.64194 Southslope_(635).JPG GCP01 -75.02131104 40.82630065 187.16 4005.91621 3273.12333 Southslope_(26).JPG GCP01 -75.02112865 40.83227436 126.28 3985.57950 1677.67283 Ortho_1(403).JPG GCP02 -75.02112865 40.83227436 126.28 1958.72754 2075.65543 Ortho_1(394).JPG GCP02 -75.02112865 40.83227436 126.28 4099.12333 1210.88718 Ortho_1(402).JPG GCP02 -75.02112865 40.83227436 126.28 2304.61010 1629.42143 Ortho_1(393).JPG GCP02 -75.01759887 40.83037308 134.36 2879.00737 1897.46260 Ortho_1(866).JPG GCP03 -75.01759887 40.83037308 134.36 2937.30660 1477.51957 Ortho_1(865).JPG GCP03 -75.01759887 40.83037308 134.36 2823.11747 2331.62521 Ortho_1(867).JPG GCP03 -75.01759887 40.83037308 134.36 1954.55986 1498.63801 Ortho_2(96).JPG GCP03 -75.01518488 40.82701352 155.94 2756.84956 2987.26466 Southslope_(561).JPG GCP04 -75.01518488 40.82701352 155.94 2900.69359 2500.64094 Southslope_(560).JPG GCP04 -75.01518488 40.82701352 155.94 2185.65337 2526.34039 Southslope_(400).JPG GCP04 -75.01518488 40.82701352 155.94 2026.40284 3584.97591 Southslope_(402).JPG GCP04 -75.01469672 40.82687477 157.27 3071.15439 3545.45035 Southslope_(564).JPG GCP05 -75.01469672 40.82687477 157.27 3217.49294 3012.60519 Southslope_(563).JPG GCP05 -75.01469672 40.82687477 157.27 3272.14799 3191.75490 Southslope_(428).JPG GCP05 -75.01469672 40.82687477 157.27 3375.14747 3514.10729 Southslope_(421).JPG GCP05 -75.01469672 40.82687477 157.27 3382.54926 2943.80978 Southslope_(420).JPG GCP05

CONSOLE OUTPUT (error message)

Launching... please wait! This can take up to 5 minutes. [INFO] 3d_tiles: False [INFO] auto_boundary: True [INFO] boundary: {} [INFO] build_overviews: False [INFO] camera_lens: auto [INFO] cameras: {} [INFO] cog: True [INFO] copy_to: None [INFO] crop: 3 [INFO] debug: False [INFO] dem_decimation: 1 [INFO] dem_euclidean_map: False [INFO] dem_gapfill_steps: 3 [INFO] dem_resolution: 2.0 [INFO] depthmap_resolution: 640 [INFO] dsm: True [INFO] dtm: False [INFO] end_with: odm_postprocess [INFO] fast_orthophoto: False [INFO] feature_quality: high [INFO] feature_type: sift [INFO] force_gps: False [INFO] gcp: /var/www/data/c076242d-946a-4c4b-900b-8279ca13f1e3/gcp/gcp_list.txt [INFO] geo: None [INFO] gps_accuracy: 10 [INFO] ignore_gsd: False [INFO] matcher_neighbors: 0 [INFO] matcher_type: flann [INFO] max_concurrency: 64 [INFO] merge: all [INFO] mesh_octree_depth: 11 [INFO] mesh_size: 200000 [INFO] min_num_features: 10000 [INFO] name: c076242d-946a-4c4b-900b-8279ca13f1e3 [INFO] no_gpu: False [INFO] optimize_disk_space: True [INFO] orthophoto_compression: DEFLATE [INFO] orthophoto_cutline: False [INFO] orthophoto_kmz: False [INFO] orthophoto_no_tiled: False [INFO] orthophoto_png: False [INFO] orthophoto_resolution: 2.0 [INFO] pc_classify: False [INFO] pc_copc: False [INFO] pc_csv: False [INFO] pc_ept: True [INFO] pc_filter: 2.5 [INFO] pc_geometric: False [INFO] pc_las: False [INFO] pc_quality: high [INFO] pc_rectify: False [INFO] pc_sample: 0.01 [INFO] pc_tile: False [INFO] primary_band: auto [INFO] project_path: /var/www/data [INFO] radiometric_calibration: none [INFO] rerun: None [INFO] rerun_all: False [INFO] rerun_from: None [INFO] resize_to: 2048 [INFO] rolling_shutter: False [INFO] rolling_shutter_readout: 0 [INFO] sfm_algorithm: incremental [INFO] skip_3dmodel: False [INFO] skip_band_alignment: False [INFO] skip_orthophoto: False [INFO] skip_report: False [INFO] sm_cluster: None [INFO] smrf_scalar: 1.25 [INFO] smrf_slope: 0.15 [INFO] smrf_threshold: 0.5 [INFO] smrf_window: 18.0 [INFO] split: 999999 [INFO] split_image_groups: None [INFO] split_overlap: 150 [INFO] texturing_data_term: gmi [INFO] texturing_keep_unseen_faces: False [INFO] texturing_outlier_removal_type: gauss_clamping [INFO] texturing_skip_global_seam_leveling: False [INFO] texturing_skip_local_seam_leveling: False [INFO] texturing_tone_mapping: none [INFO] tiles: False [INFO] time: False [INFO] use_3dmesh: False [INFO] use_exif: False [INFO] use_fixed_camera_params: False [INFO] use_hybrid_bundle_adjustment: False [INFO] verbose: False [INFO] ============== [INFO] Running dataset stage [INFO] Loading dataset from: /var/www/data/c076242d-946a-4c4b-900b-8279ca13f1e3/images [INFO] Loading 1934 images [INFO] Wrote images database: /var/www/data/c076242d-946a-4c4b-900b-8279ca13f1e3/images.json [INFO] Found 1934 usable images [INFO] Parsing SRS header: EPSG:4326 [INFO] Parsing SRS header: WGS84 UTM 18N [INFO] Parsing SRS header: WGS84 UTM 18N [WARNING] GCP line ignored (image not found): -75.02131104 40.82630065 187.16 2632.82771 2464.52575 Southslope_(181).JPG GCP01 [WARNING] GCP line ignored (image not found): -75.02131104 40.82630065 187.16 2580.46885 3207.38674 Southslope_(182).JPG GCP01 [WARNING] GCP line ignored (image not found): -75.02131104 40.82630065 187.16 3601.91931 3362.64194 Southslope_(635).JPG GCP01 [WARNING] GCP line ignored (image not found): -75.02131104 40.82630065 187.16 4005.91621 3273.12333 Southslope_(26).JPG GCP01 [WARNING] GCP line ignored (image not found): -75.02112865 40.83227436 126.28 3985.5795 1677.67283 Ortho_1(403).JPG GCP02 [WARNING] GCP line ignored (image not found): -75.02112865 40.83227436 126.28 1958.72754 2075.65543 Ortho_1(394).JPG GCP02 [WARNING] GCP line ignored (image not found): -75.02112865 40.83227436 126.28 4099.12333 1210.88718 Ortho_1(402).JPG GCP02 [WARNING] GCP line ignored (image not found): -75.02112865 40.83227436 126.28 2304.6101 1629.42143 Ortho_1(393).JPG GCP02 [WARNING] GCP line ignored (image not found): -75.01759887 40.83037308 134.36 2879.00737 1897.4626 Ortho_1(866).JPG GCP03 [WARNING] GCP line ignored (image not found): -75.01759887 40.83037308 134.36 2937.3066 1477.51957 Ortho_1(865).JPG GCP03 [WARNING] GCP line ignored (image not found): -75.01759887 40.83037308 134.36 2823.11747 2331.62521 Ortho_1(867).JPG GCP03 [WARNING] GCP line ignored (image not found): -75.01759887 40.83037308 134.36 1954.55986 1498.63801 Ortho_2(96).JPG GCP03 [WARNING] GCP line ignored (image not found): -75.01518488 40.82701352 155.94 2756.84956 2987.26466 Southslope_(561).JPG GCP04 [WARNING] GCP line ignored (image not found): -75.01518488 40.82701352 155.94 2900.69359 2500.64094 Southslope_(560).JPG GCP04 [WARNING] GCP line ignored (image not found): -75.01518488 40.82701352 155.94 2185.65337 2526.34039 Southslope_(400).JPG GCP04 [WARNING] GCP line ignored (image not found): -75.01518488 40.82701352 155.94 2026.40284 3584.97591 Southslope_(402).JPG GCP04 [WARNING] GCP line ignored (image not found): -75.01469672 40.82687477 157.27 3071.15439 3545.45035 Southslope_(564).JPG GCP05 [WARNING] GCP line ignored (image not found): -75.01469672 40.82687477 157.27 3217.49294 3012.60519 Southslope_(563).JPG GCP05 [WARNING] GCP line ignored (image not found): -75.01469672 40.82687477 157.27 3272.14799 3191.7549 Southslope_(428).JPG GCP05 [WARNING] GCP line ignored (image not found): -75.01469672 40.82687477 157.27 3375.14747 3514.10729 Southslope_(421).JPG GCP05 [WARNING] GCP line ignored (image not found): -75.01469672 40.82687477 157.27 3382.54926 2943.80978 Southslope_(420).JPG GCP05 Traceback (most recent call last): File "/code/run.py", line 59, in retcode = app.execute() File "/code/stages/odm_app.py", line 130, in execute raise e File "/code/stages/odm_app.py", line 94, in execute self.first_stage.run() File "/code/opendm/types.py", line 328, in run self.process(self.args, outputs) File "/code/stages/dataset.py", line 163, in process reconstruction.georeference_with_gcp(tree.odm_georeferencing_gcp, File "/code/opendm/types.py", line 94, in georeference_with_gcp raise RuntimeError("A GCP file was provided, but no valid GCP entries could be used. Note that the GCP file is case sensitive (\".JPG\" is not the same as \".jpg\").") RuntimeError: A GCP file was provided, but no valid GCP entries could be used. Note that the GCP file is case sensitive (".JPG" is not the same as ".jpg").

When I’ve encountered that error it has been due to one of two things:

  • the image file name does not match the image file name in the GCP file.
  • the images haven’t loaded to the processing node. This has happened when I’ve cancelled the task while it was uploading the images to the node, then I’ve tried to re-run it.

I wonder if in your case it doesn’t like the “()” characters in the filename. You could probably check that by renaming one of the GCP-referenced images and the corresponding GCP file entry and re-run, and see if that GCP entry is accepted.

That was it!
I removed the parenthesis from the files, re-created the gcp_list.txt file - and have passed the critical step.

Thank you very much for the recommendation. Hopefully, tomorrow I can report the successful completion of processing the dataset.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.