Hello,
i have a problem processing drone images at work with WebODM. I bought the Installer Version and installed WebODM on Windows 7.
I have different flight paths to process and so far only one path out of many went through without any problems.
When i try to process the other pictures i get the same error every time. A part of the error message contains “ZeroDivisionError: float division by zero”, so i tried to change some options before processing which cointained a “0” as default. Sadly this didn´t help.
I would really appreciate some help.
Sorry for my bad english.
You can find the full log below:
Marv
Log:
[INFO] Initializing OpenDroneMap app - Fri Mar 16 09:47:15 2018
[INFO] Running ODM Load Dataset Cell
[DEBUG] Loading dataset from: /var/www/data/0b34dfe8-c4e4-4834-a4fb-d0d8b7fd21e6/images
[DEBUG] /var/www/data/0b34dfe8-c4e4-4834-a4fb-d0d8b7fd21e6/images
[WARNING] Could not find ccd_width in file. Use --force-ccd or edit the sensor_data.json file to manually input ccd width
[DEBUG] Loaded YUN00259.jpg | camera: yuneec cgo3p | dimensions: 2048 x 1534 | focal: None | ccd: None | lat: -24.0386895 | lon: 31.1719059 | alt: 119.0
[WARNING] Could not find ccd_width in file. Use --force-ccd or edit the sensor_data.json file to manually input ccd width
[DEBUG] Loaded YUN00258.jpg | camera: yuneec cgo3p | dimensions: 2048 x 1534 | focal: None | ccd: None | lat: -24.0387848 | lon: 31.1718017 | alt: 119.0
[WARNING] Could not find ccd_width in file. Use --force-ccd or edit the sensor_data.json file to manually input ccd width
[DEBUG] Loaded YUN00257.jpg | camera: yuneec cgo3p | dimensions: 2048 x 1534 | focal: None | ccd: None | lat: -24.0390046 | lon: 31.1715047 | alt: 119.0
[WARNING] Could not find ccd_width in file. Use --force-ccd or edit the sensor_data.json file to manually input ccd width
[DEBUG] Loaded YUN00260.jpg | camera: yuneec cgo3p | dimensions: 2048 x 1534 | focal: None | ccd: None | lat: -24.0387949 | lon: 31.1720717 | alt: 119.0
[WARNING] Could not find ccd_width in file. Use --force-ccd or edit the sensor_data.json file to manually input ccd width
[DEBUG] Loaded YUN00254.jpg | camera: yuneec cgo3p | dimensions: 2048 x 1534 | focal: None | ccd: None | lat: -24.0386689 | lon: 31.1710921 | alt: 119.0
[WARNING] Could not find ccd_width in file. Use --force-ccd or edit the sensor_data.json file to manually input ccd width
[DEBUG] Loaded YUN00256.jpg | camera: yuneec cgo3p | dimensions: 2048 x 1534 | focal: None | ccd: None | lat: -24.0389015 | lon: 31.1713806 | alt: 119.0
[WARNING] Could not find ccd_width in file. Use --force-ccd or edit the sensor_data.json file to manually input ccd width
[DEBUG] Loaded YUN00255.jpg | camera: yuneec cgo3p | dimensions: 2048 x 1534 | focal: None | ccd: None | lat: -24.0387848 | lon: 31.1712372 | alt: 119.0
[WARNING] Could not find ccd_width in file. Use --force-ccd or edit the sensor_data.json file to manually input ccd width
[DEBUG] Loaded YUN00261.jpg | camera: yuneec cgo3p | dimensions: 2048 x 1534 | focal: None | ccd: None | lat: -24.0389276 | lon: 31.1722479 | alt: 120.0
[INFO] Found 8 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 /var/www/data/0b34dfe8-c4e4-4834-a4fb-d0d8b7fd21e6/opensfm
2018-03-16 09:47:16,496 Extracting focal lengths for image YUN00259.jpg
2018-03-16 09:47:16,603 Extracting focal lengths for image YUN00258.jpg
2018-03-16 09:47:16,703 Extracting focal lengths for image YUN00257.jpg
2018-03-16 09:47:16,808 Extracting focal lengths for image YUN00260.jpg
2018-03-16 09:47:16,904 Extracting focal lengths for image YUN00254.jpg
2018-03-16 09:47:17,007 Extracting focal lengths for image YUN00256.jpg
2018-03-16 09:47:17,120 Extracting focal lengths for image YUN00255.jpg
2018-03-16 09:47:17,256 Extracting focal lengths for image YUN00261.jpg
[DEBUG] running PYTHONPATH=/code/SuperBuild/install/lib/python2.7/dist-packages /code/SuperBuild/src/opensfm/bin/opensfm detect_features /var/www/data/0b34dfe8-c4e4-4834-a4fb-d0d8b7fd21e6/opensfm
2018-03-16 09:47:18,580 Extracting ROOT_HAHOG features for image YUN00259.jpg
2018-03-16 09:47:19,098 Extracting ROOT_HAHOG features for image YUN00258.jpg
2018-03-16 09:47:26,430 Found 9804 points in 7.12616682053s
2018-03-16 09:47:27,318 Extracting ROOT_HAHOG features for image YUN00257.jpg
2018-03-16 09:47:28,231 Extracting ROOT_HAHOG features for image YUN00260.jpg
2018-03-16 09:47:36,161 Found 9779 points in 7.75575399399s
2018-03-16 09:47:36,886 Extracting ROOT_HAHOG features for image YUN00254.jpg
2018-03-16 09:47:37,970 Extracting ROOT_HAHOG features for image YUN00256.jpg
2018-03-16 09:47:45,548 Found 9981 points in 7.39916086197s
2018-03-16 09:47:49,152 Extracting ROOT_HAHOG features for image YUN00255.jpg
2018-03-16 09:47:50,682 Extracting ROOT_HAHOG features for image YUN00261.jpg
2018-03-16 09:47:57,923 Found 9768 points in 7.07590007782s
[DEBUG] running PYTHONPATH=/code/SuperBuild/install/lib/python2.7/dist-packages /code/SuperBuild/src/opensfm/bin/opensfm match_features /var/www/data/0b34dfe8-c4e4-4834-a4fb-d0d8b7fd21e6/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/match_features.py”, line 29, in run
pairs = match_candidates_from_metadata(images, exifs, data)
File “/code/SuperBuild/src/opensfm/opensfm/commands/match_features.py”, line 150, in match_candidates_from_metadata
data.invent_reference_lla()
File “/code/SuperBuild/src/opensfm/opensfm/dataset.py”, line 394, in invent_reference_lla
w = 1.0 / d[‘gps’].get(‘dop’, 15)
ZeroDivisionError: float division by zero
Traceback (most recent call last):
File “/code/run.py”, line 47, in
plasm.execute(niter=1)
File “/code/scripts/opensfm.py”, line 108, 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