OpenDroneMap / ODM

A command line toolkit to generate maps, point clouds, 3D models and DEMs from drone, balloon or kite images. 📷
https://opendronemap.org
GNU Affero General Public License v3.0
4.81k stars 1.09k forks source link

ERROR RUNNING ODM WITH DJI FC330 images #488

Closed Davidlapalma closed 7 years ago

Davidlapalma commented 7 years ago

Hello, Have someone the same error?, and how can I fix the fail? the code is the next: davidgc@davidgc-MacBookPro:~$ cd /home/davidgc/Escritorio/OpenDroneMap davidgc@davidgc-MacBookPro:~/Escritorio/OpenDroneMap$ python run.py --project-path /home/davidgc/Escritorio/OpenDroneMap/project [INFO] Initializing OpenDroneMap app - Fri Feb 17 13:08:06 2017 [INFO] Running ODM Load Dataset Cell [DEBUG] Loading dataset from: /home/davidgc/Escritorio/OpenDroneMap/project/images Traceback (most recent call last): File "run.py", line 50, in plasm.execute(niter=1) File "/home/davidgc/Escritorio/OpenDroneMap/scripts/dataset.py", line 63, in process path_files File "/usr/lib/python2.7/multiprocessing/pool.py", line 251, in map return self.map_async(func, iterable, chunksize).get() File "/usr/lib/python2.7/multiprocessing/pool.py", line 567, in get raise self._value IOError: /home/davidgc/Escritorio/OpenDroneMap/project/images/._Captura de pantalla 2017-02-16 a las 21.28.11.png: The file contains data of an unknown image type

ChrisKayAyling commented 7 years ago

Not an expert, but I would assume the following

JPG and not PNG The period before the _Captura would seem to note a file type of some sort?

Davidlapalma commented 7 years ago

I have resolve that error but now it appear the next: Traceback (most recent call last): File "/home/davidgc/Escritorio/OpenDroneMap/SuperBuild/src/opensfm/bin/opensfm", line 34, in command.run(args) File "/home/davidgc/Escritorio/OpenDroneMap/SuperBuild/src/opensfm/opensfm/commands/mesh.py", line 22, in run reconstructions = data.load_reconstruction() File "/home/davidgc/Escritorio/OpenDroneMap/SuperBuild/src/opensfm/opensfm/dataset.py", line 336, in load_reconstruction with open(self.__reconstruction_file(filename)) as fin: IOError: [Errno 2] No such file or directory: '/home/davidgc/Escritorio/OpenDroneMap/project/opensfm/reconstruction.json' [ERROR] quitting cause: PYTHONPATH=/home/davidgc/Escritorio/OpenDroneMap/SuperBuild/install/lib/python2.7/dist-packages /home/davidgc/Escritorio/OpenDroneMap/SuperBuild/src/opensfm/bin/run_all /home/davidgc/Escritorio/OpenDroneMap/project/opensfm returned with code 256.

An error occurred. Check stdout above or the logs.

Davidlapalma commented 7 years ago

I think that the error happen because the images are taken to different heights

dakotabenjamin commented 7 years ago

OpenSfM can fail to reconstruct for various reasons. What % overlap did you fly for your images?

Davidlapalma commented 7 years ago

100%

Davidlapalma commented 7 years ago

I think that this is the problem that there are images that are 100% of others

dakotabenjamin commented 7 years ago

Maybe. Can you share your images? You can either post the link here or privately: dmb2[at]clevelandmetroparks[dot]com

Davidlapalma commented 7 years ago

yes sure

Davidlapalma commented 7 years ago

img_0009 ![Uploading IMG_0010.jpg…]() ![Uploading IMG_0011.jpg…]() ![Uploading IMG_0012.jpg…]() ![Uploading IMG_0006.jpg…]() ![Uploading IMG_0007.jpg…]() ![Uploading IMG_0008.jpg…]()

Davidlapalma commented 7 years ago

![Uploading IMG_0006.jpg…]()

Davidlapalma commented 7 years ago

i'm having problems so I'n going to send via email to you

dakotabenjamin commented 7 years ago

OK

dakotabenjamin commented 7 years ago

Here's what I recommend:

  1. Fly again in a criss-crossing pattern to get different angles for reconstruction to find matches
  2. Use this calibration tool to remove distortion from the images. Note that you can run on Windows but the exif data will not be copied over (have to do so manually)
Davidlapalma commented 7 years ago

ok thanks