Hello all,
I have been using pix4d for a couple of years now but am looking for shift over to OpenDroneMap. I can run the ODM aukerman test data just fine locally but when I try a pretty straight-forward small test dataset, I get a crash in ODM. pix4d runs this data just fine. Which means distortions are a minimum and overlap is good. Can someone help me figure what is going on? Below is the output from my run:
[INFO] Initializing OpenDroneMap app - Sat Apr 21 23:04:01 2018
[INFO] Running ODM Load Dataset Cell
[DEBUG] Loading dataset from: /code/images
[DEBUG] /code/images
[DEBUG] Tag not set
[DEBUG] Loaded IMG_00046.JPG | camera: canon eos 6d | dimensions: 5472 x 3648 | focal: 35.0 | ccd: 35.8 | lat: 39.4492766667 | lon: -90.885435 | alt: 1011.0
[DEBUG] Tag not set
[DEBUG] Loaded IMG_00019.JPG | camera: canon eos 6d | dimensions: 5472 x 3648 | focal: 35.0 | ccd: 35.8 | lat: 39.45192 | lon: -90.8901816667 | alt: 995.9
[DEBUG] Tag not set
[DEBUG] Loaded IMG_00014.JPG | camera: canon eos 6d | dimensions: 5472 x 3648 | focal: 35.0 | ccd: 35.8 | lat: 39.449338913 | lon: -90.8948402405 | alt: 1020.25
[DEBUG] Tag not set
[DEBUG] Loaded IMG_00015.JPG | camera: canon eos 6d | dimensions: 5472 x 3648 | focal: 35.0 | ccd: 35.8 | lat: 39.448310852 | lon: -90.8949241638 | alt: 1017.5
[DEBUG] Tag not set
[DEBUG] Loaded IMG_00011.JPG | camera: canon eos 6d | dimensions: 5472 x 3648 | focal: 35.0 | ccd: 35.8 | lat: 39.4538266667 | lon: -90.8949183333 | alt: 1015.8
[DEBUG] Tag not set
[DEBUG] Loaded IMG_00050.JPG | camera: canon eos 6d | dimensions: 5472 x 3648 | focal: 35.0 | ccd: 35.8 | lat: 39.4501016667 | lon: -90.8806233333 | alt: 1000.7
[DEBUG] Tag not set
[DEBUG] Loaded IMG_00049.JPG | camera: canon eos 6d | dimensions: 5472 x 3648 | focal: 35.0 | ccd: 35.8 | lat: 39.448955 | lon: -90.8806783333 | alt: 1001.3
[DEBUG] Tag not set
[DEBUG] Loaded IMG_00016.JPG | camera: canon eos 6d | dimensions: 5472 x 3648 | focal: 35.0 | ccd: 35.8 | lat: 39.447916031 | lon: -90.8901634217 | alt: 1002.5
[DEBUG] Tag not set
[DEBUG] Loaded IMG_00052.JPG | camera: canon eos 6d | dimensions: 5472 x 3648 | focal: 35.0 | ccd: 35.8 | lat: 39.4529838562 | lon: -90.8804931641 | alt: 999.0
[DEBUG] Tag not set
[DEBUG] Loaded IMG_00045.JPG | camera: canon eos 6d | dimensions: 5472 x 3648 | focal: 35.0 | ccd: 35.8 | lat: 39.450756073 | lon: -90.8855056763 | alt: 1004.9
[DEBUG] Tag not set
[DEBUG] Loaded IMG_00017.JPG | camera: canon eos 6d | dimensions: 5472 x 3648 | focal: 35.0 | ccd: 35.8 | lat: 39.4490470885 | lon: -90.8901596069 | alt: 1002.40002441
[DEBUG] Tag not set
[DEBUG] Loaded IMG_00051.JPG | camera: canon eos 6d | dimensions: 5472 x 3648 | focal: 35.0 | ccd: 35.8 | lat: 39.4518260956 | lon: -90.8805351257 | alt: 999.75
[DEBUG] Tag not set
[DEBUG] Loaded IMG_00044.JPG | camera: canon eos 6d | dimensions: 5472 x 3648 | focal: 35.0 | ccd: 35.8 | lat: 39.4517440796 | lon: -90.8855781555 | alt: 1002.15
[DEBUG] Tag not set
[DEBUG] Loaded IMG_00018.JPG | camera: canon eos 6d | dimensions: 5472 x 3648 | focal: 35.0 | ccd: 35.8 | lat: 39.4507616667 | lon: -90.8901716667 | alt: 999.4
[DEBUG] Tag not set
[DEBUG] Loaded IMG_00012.JPG | camera: canon eos 6d | dimensions: 5472 x 3648 | focal: 35.0 | ccd: 35.8 | lat: 39.4523448944 | lon: -90.8948478699 | alt: 1019.35
[DEBUG] Tag not set
[DEBUG] Loaded IMG_00047.JPG | camera: canon eos 6d | dimensions: 5472 x 3648 | focal: 35.0 | ccd: 35.8 | lat: 39.4477863311 | lon: -90.8854904175 | alt: 1014.34997553
[DEBUG] Tag not set
[DEBUG] Loaded IMG_00048.JPG | camera: canon eos 6d | dimensions: 5472 x 3648 | focal: 35.0 | ccd: 35.8 | lat: 39.4472332 | lon: -90.88073349 | alt: 1001.65
[DEBUG] Tag not set
[DEBUG] Loaded IMG_00013.JPG | camera: canon eos 6d | dimensions: 5472 x 3648 | focal: 35.0 | ccd: 35.8 | lat: 39.4508566667 | lon: -90.89479 | alt: 1022.2
[INFO] Found 18 usable images
[INFO] Running ODM Load Dataset Cell - Finished
[INFO] Running ODM OpenSfM Cell
[DEBUG] Altitude data detected, enabling it for GPS alignment
[DEBUG] running PYTHONPATH=/code/SuperBuild/install/lib/python2.7/dist-packages /code/SuperBuild/src/opensfm/bin/opensfm extract_metadata /code/opensfm
2018-04-21 23:04:04,867 Extracting focal lengths for image IMG_00046.JPG
2018-04-21 23:04:05,079 Extracting focal lengths for image IMG_00019.JPG
2018-04-21 23:04:05,281 Extracting focal lengths for image IMG_00014.JPG
2018-04-21 23:04:05,472 Extracting focal lengths for image IMG_00015.JPG
2018-04-21 23:04:05,661 Extracting focal lengths for image IMG_00011.JPG
2018-04-21 23:04:05,853 Extracting focal lengths for image IMG_00050.JPG
2018-04-21 23:04:06,051 Extracting focal lengths for image IMG_00049.JPG
2018-04-21 23:04:06,247 Extracting focal lengths for image IMG_00016.JPG
2018-04-21 23:04:06,448 Extracting focal lengths for image IMG_00052.JPG
2018-04-21 23:04:06,641 Extracting focal lengths for image IMG_00045.JPG
2018-04-21 23:04:06,837 Extracting focal lengths for image IMG_00017.JPG
2018-04-21 23:04:07,037 Extracting focal lengths for image IMG_00051.JPG
2018-04-21 23:04:07,232 Extracting focal lengths for image IMG_00044.JPG
2018-04-21 23:04:07,426 Extracting focal lengths for image IMG_00018.JPG
2018-04-21 23:04:07,621 Extracting focal lengths for image IMG_00012.JPG
2018-04-21 23:04:07,810 Extracting focal lengths for image IMG_00047.JPG
2018-04-21 23:04:08,010 Extracting focal lengths for image IMG_00048.JPG
2018-04-21 23:04:08,209 Extracting focal lengths for image IMG_00013.JPG
[DEBUG] running PYTHONPATH=/code/SuperBuild/install/lib/python2.7/dist-packages /code/SuperBuild/src/opensfm/bin/opensfm detect_features /code/opensfm
2018-04-21 23:04:08,812 Extracting ROOT_HAHOG features for image IMG_00046.JPG
2018-04-21 23:04:08,952 Extracting ROOT_HAHOG features for image IMG_00019.JPG
2018-04-21 23:04:09,098 Extracting ROOT_HAHOG features for image IMG_00014.JPG
2018-04-21 23:04:09,290 Extracting ROOT_HAHOG features for image IMG_00015.JPG
2018-04-21 23:04:09,474 Extracting ROOT_HAHOG features for image IMG_00011.JPG
2018-04-21 23:04:09,704 Extracting ROOT_HAHOG features for image IMG_00050.JPG
2018-04-21 23:04:09,921 Extracting ROOT_HAHOG features for image IMG_00049.JPG
2018-04-21 23:04:10,156 Extracting ROOT_HAHOG features for image IMG_00016.JPG
2018-04-21 23:05:39,957 Found 65861 points in 90.8277568817s
2018-04-21 23:05:45,047 Found 63682 points in 95.7925691605s
2018-04-21 23:05:45,674 Found 64107 points in 96.2569019794s
2018-04-21 23:05:45,736 Found 66391 points in 95.8556070328s
2018-04-21 23:05:46,186 Found 63948 points in 96.5587158203s
2018-04-21 23:05:46,586 Found 62744 points in 96.4662539959s
2018-04-21 23:05:46,622 Found 67016 points in 96.0246229172s
2018-04-21 23:05:47,746 Found 62854 points in 97.4080929756s
2018-04-21 23:05:48,869 Extracting ROOT_HAHOG features for image IMG_00052.JPG
2018-04-21 23:05:53,800 Extracting ROOT_HAHOG features for image IMG_00045.JPG
2018-04-21 23:05:54,486 Extracting ROOT_HAHOG features for image IMG_00017.JPG
2018-04-21 23:05:54,846 Extracting ROOT_HAHOG features for image IMG_00051.JPG
2018-04-21 23:05:55,421 Extracting ROOT_HAHOG features for image IMG_00044.JPG
2018-04-21 23:05:55,436 Extracting ROOT_HAHOG features for image IMG_00018.JPG
2018-04-21 23:05:55,878 Extracting ROOT_HAHOG features for image IMG_00012.JPG
2018-04-21 23:05:56,523 Extracting ROOT_HAHOG features for image IMG_00047.JPG
2018-04-21 23:07:18,254 Found 63816 points in 88.8222668171s
2018-04-21 23:07:21,232 Found 66405 points in 86.2311809063s
2018-04-21 23:07:23,133 Found 66261 points in 88.8034100533s
2018-04-21 23:07:23,594 Found 65347 points in 87.2127220631s
2018-04-21 23:07:24,121 Found 65810 points in 88.2112870216s
2018-04-21 23:07:24,490 Found 65020 points in 88.4205591679s
2018-04-21 23:07:24,538 Found 63197 points in 89.242292881s
2018-04-21 23:07:26,176 Extracting ROOT_HAHOG features for image IMG_00048.JPG
2018-04-21 23:07:26,508 Found 68106 points in 89.4645638466s
2018-04-21 23:07:29,456 Extracting ROOT_HAHOG features for image IMG_00013.JPG
2018-04-21 23:08:08,014 Found 64630 points in 38.086714983s
2018-04-21 23:08:08,072 Found 64309 points in 41.3642458916s
[DEBUG] running PYTHONPATH=/code/SuperBuild/install/lib/python2.7/dist-packages /code/SuperBuild/src/opensfm/bin/opensfm match_features /code/opensfm
2018-04-21 23:08:13,153 Matching 6 image pairs
2018-04-21 23:08:13,370 Matching IMG_00046.JPG - 1 / 18
2018-04-21 23:08:13,514 Matching IMG_00049.JPG - 2 / 18
2018-04-21 23:08:13,724 Matching IMG_00018.JPG - 3 / 18
2018-04-21 23:08:13,891 Matching IMG_00045.JPG - 4 / 18
2018-04-21 23:08:14,046 Matching IMG_00014.JPG - 5 / 18
2018-04-21 23:08:14,208 Matching IMG_00016.JPG - 6 / 18
2018-04-21 23:08:14,445 Matching IMG_00051.JPG - 7 / 18
2018-04-21 23:08:14,698 Matching IMG_00050.JPG - 8 / 18
2018-04-21 23:08:14,699 Matching IMG_00012.JPG - 9 / 18
2018-04-21 23:08:14,699 Matching IMG_00019.JPG - 10 / 18
2018-04-21 23:08:14,699 Matching IMG_00044.JPG - 11 / 18
2018-04-21 23:08:14,700 Matching IMG_00052.JPG - 12 / 18
2018-04-21 23:08:14,700 Matching IMG_00015.JPG - 13 / 18
2018-04-21 23:08:14,703 Matching IMG_00017.JPG - 14 / 18
2018-04-21 23:08:14,707 Matching IMG_00011.JPG - 15 / 18
2018-04-21 23:08:14,713 Matching IMG_00013.JPG - 16 / 18
2018-04-21 23:08:14,717 Matching IMG_00048.JPG - 17 / 18
2018-04-21 23:08:14,723 Matching IMG_00047.JPG - 18 / 18
2018-04-21 23:08:37,118 IMG_00049.JPG - IMG_00050.JPG has 15009 candidate matches
2018-04-21 23:08:37,122 Robust matching time : 0.00413489341736s
2018-04-21 23:08:37,122 Full matching 14985 / 15009, time: 23.6079080105s
2018-04-21 23:08:37,908 IMG_00014.JPG - IMG_00015.JPG has 13481 candidate matches
2018-04-21 23:08:37,910 Robust matching time : 0.00232696533203s
2018-04-21 23:08:37,911 Full matching 13467 / 13481, time: 23.8647708893s
2018-04-21 23:08:38,061 IMG_00018.JPG - IMG_00019.JPG has 11737 candidate matches
2018-04-21 23:08:38,063 Robust matching time : 0.00167107582092s
2018-04-21 23:08:38,063 Full matching 11727 / 11737, time: 24.3392410278s
2018-04-21 23:08:39,486 IMG_00044.JPG - IMG_00045.JPG has 9639 candidate matches
2018-04-21 23:08:39,487 Robust matching time : 0.00150108337402s
2018-04-21 23:08:39,488 Full matching 9609 / 9639, time: 24.788091898s
2018-04-21 23:08:39,596 IMG_00016.JPG - IMG_00017.JPG has 10348 candidate matches
2018-04-21 23:08:39,598 Robust matching time : 0.00158095359802s
2018-04-21 23:08:39,598 Full matching 10336 / 10348, time: 25.3904619217s
2018-04-21 23:08:40,335 IMG_00051.JPG - IMG_00052.JPG has 9341 candidate matches
2018-04-21 23:08:40,336 Robust matching time : 0.00145316123962s
2018-04-21 23:08:40,336 Full matching 9316 / 9341, time: 25.8908410072s
[DEBUG] running PYTHONPATH=/code/SuperBuild/install/lib/python2.7/dist-packages /code/SuperBuild/src/opensfm/bin/opensfm create_tracks /code/opensfm
2018-04-21 23:08:40,844 reading features
2018-04-21 23:08:44,444 Merging features onto tracks
2018-04-21 23:08:44,871 Good tracks: 69440
[DEBUG] running PYTHONPATH=/code/SuperBuild/install/lib/python2.7/dist-packages /code/SuperBuild/src/opensfm/bin/opensfm reconstruct /code/opensfm
2018-04-21 23:08:46,834 Starting incremental reconstruction
2018-04-21 23:08:48,697 0 partial reconstructions in total.
[DEBUG] running PYTHONPATH=/code/SuperBuild/install/lib/python2.7/dist-packages /code/SuperBuild/src/opensfm/bin/opensfm mesh /code/opensfm
Traceback (most recent call last):
File “/code/SuperBuild/src/opensfm/bin/opensfm”, line 34, in
command.run(args)
File “/code/SuperBuild/src/opensfm/opensfm/commands/mesh.py”, line 22, in run
reconstructions = data.load_reconstruction()
File “/code/SuperBuild/src/opensfm/opensfm/dataset.py”, line 368, in load_reconstruction
with open(self.__reconstruction_file(filename)) as fin:
IOError: [Errno 2] No such file or directory: ‘/code/opensfm/reconstruction.json’
Traceback (most recent call last):
File “/code/run.py”, line 47, in
plasm.execute(niter=1)
File “/code/scripts/opensfm.py”, line 131, in process
(context.pyopencv_path, context.opensfm_path, tree.opensfm))
File “/code/opendm/system.py”, line 34, in run
raise Exception(“Child returned {}”.format(retcode))
Exception: Child returned 1