ODM processing issue on 1)Ubuntu 14.04 and 2)Docker

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ODM processing issue on 1)Ubuntu 14.04 and 2)Docker

Debell, Leon

How do,


I've made several attempts at processing a data set using ODM on an Ubuntu 14.04 distro.


The git clone and install all went without a hitch, but when I process the images I get this error appearing;


" - source files - Mon May 23 14:25:05  2016
Traceback (most recent call last):
  File "/home/leond/OpenDroneMap/run.py", line 986, in <module>
    prepare_objects()
  File "/home/leond/OpenDroneMap/run.py", line 415, in prepare_objects
    fileObject["ccd"] = float(ccdWidths[fileObject["id"]])
KeyError: u'RICOH IMAGING COMPANY, LTD. GR II' "

I've managed to circumvent this issue by using --force-focal and --force-ccd, however, the final outputs are terrible, an example would be the orthophoto only being just over a 100kb and completely pixelated. The point cloud isn't as bad but has large chunks of data missing.

I know there's nothing wrong with the data set as I have a very nice output from Agisoft. I've also ran one of the test datasets that are provided and that worked without issue.

Trying to run the build from a docker container, my first issue here is following the instructions on the wiki for a git clone docker build, I get;

export IMAGES=/run/media/leond/PhD/ODMOptimise/
[leond@mandy OpenDroneMap]$ docker build -t opendronemap:latest
docker: "build" requires 1 argument.
See 'docker build --help'.

Usage: docker build [OPTIONS] PATH | URL | -

Build an image from a Dockerfile "

I've then tried to use the dbrgn/opendronemap docker container and I get similar to running natively on Ubuntu;

Traceback (most recent call last):
  File "/code/run.py", line 986, in <module>
    prepare_objects()
  File "/code/run.py", line 415, in prepare_objects
    fileObject["ccd"] = float(ccdWidths[fileObject["id"]])
KeyError: u'RICOH IMAGING COMPANY, LTD. GR II' "

I'd also read on the mailing list about using the /tree/dev version available on git but I'm unable to clone that url.

I appreciate there's probably more than one unrelated issue here (and a couple that are). I'd really like to try and get ODM working and with usable outputs, so any advice would be welcomed.

Cheers,


Leon


_______________________________________________
OpenDroneMap-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/opendronemap-users
Reply | Threaded
Open this post in threaded view
|

Re: ODM processing issue on 1)Ubuntu 14.04 and 2)Docker

Dakota Benjamin

The problem you are facing is that your camera is not in the ccdWidths file. You can quickly fix that by finding your cameras sensor width (usually can be found pretty easily online) and then using "--force-ccd n" where n is the width. You can append this to the docker command. 


BTW, it was a simple missing "." in your docker build, it should be "docker build -t opendronemap:latest ."


But I would recommend using the new "official" docker build:

export IMAGES=/absolute/path/to/your/project
docker run -v $IMAGES:/images opendronemap/opendronemap:latest




From: OpenDroneMap-users <[hidden email]> on behalf of Debell, Leon <[hidden email]>
Sent: Monday, May 23, 2016 11:35:32 AM
To: [hidden email]
Subject: [OpenDroneMap-users] ODM processing issue on 1)Ubuntu 14.04 and 2)Docker
 

How do,


I've made several attempts at processing a data set using ODM on an Ubuntu 14.04 distro.


The git clone and install all went without a hitch, but when I process the images I get this error appearing;


" - source files - Mon May 23 14:25:05  2016
Traceback (most recent call last):
  File "/home/leond/OpenDroneMap/run.py", line 986, in <module>
    prepare_objects()
  File "/home/leond/OpenDroneMap/run.py", line 415, in prepare_objects
    fileObject["ccd"] = float(ccdWidths[fileObject["id"]])
KeyError: u'RICOH IMAGING COMPANY, LTD. GR II' "

I've managed to circumvent this issue by using --force-focal and --force-ccd, however, the final outputs are terrible, an example would be the orthophoto only being just over a 100kb and completely pixelated. The point cloud isn't as bad but has large chunks of data missing.

I know there's nothing wrong with the data set as I have a very nice output from Agisoft. I've also ran one of the test datasets that are provided and that worked without issue.

Trying to run the build from a docker container, my first issue here is following the instructions on the wiki for a git clone docker build, I get;

export IMAGES=/run/media/leond/PhD/ODMOptimise/
[leond@mandy OpenDroneMap]$ docker build -t opendronemap:latest
docker: "build" requires 1 argument.
See 'docker build --help'.

Usage: docker build [OPTIONS] PATH | URL | -

Build an image from a Dockerfile "

I've then tried to use the dbrgn/opendronemap docker container and I get similar to running natively on Ubuntu;

Traceback (most recent call last):
  File "/code/run.py", line 986, in <module>
    prepare_objects()
  File "/code/run.py", line 415, in prepare_objects
    fileObject["ccd"] = float(ccdWidths[fileObject["id"]])
KeyError: u'RICOH IMAGING COMPANY, LTD. GR II' "

I'd also read on the mailing list about using the /tree/dev version available on git but I'm unable to clone that url.

I appreciate there's probably more than one unrelated issue here (and a couple that are). I'd really like to try and get ODM working and with usable outputs, so any advice would be welcomed.

Cheers,


Leon


_______________________________________________
OpenDroneMap-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/opendronemap-users
Reply | Threaded
Open this post in threaded view
|

Re: ODM processing issue on 1)Ubuntu 14.04 and 2)Docker

Debell, Leon

Hi Dakota,


Thanks for this, really appreciate the reply and info.


Cheers,


Leon




From: Dakota Benjamin <[hidden email]>
Sent: 31 May 2016 14:52
To: Debell, Leon; [hidden email]
Subject: Re: [OpenDroneMap-users] ODM processing issue on 1)Ubuntu 14.04 and 2)Docker
 

The problem you are facing is that your camera is not in the ccdWidths file. You can quickly fix that by finding your cameras sensor width (usually can be found pretty easily online) and then using "--force-ccd n" where n is the width. You can append this to the docker command. 


BTW, it was a simple missing "." in your docker build, it should be "docker build -t opendronemap:latest ."


But I would recommend using the new "official" docker build:

export IMAGES=/absolute/path/to/your/project
docker run -v $IMAGES:/images opendronemap/opendronemap:latest




From: OpenDroneMap-users <[hidden email]> on behalf of Debell, Leon <[hidden email]>
Sent: Monday, May 23, 2016 11:35:32 AM
To: [hidden email]
Subject: [OpenDroneMap-users] ODM processing issue on 1)Ubuntu 14.04 and 2)Docker
 

How do,


I've made several attempts at processing a data set using ODM on an Ubuntu 14.04 distro.


The git clone and install all went without a hitch, but when I process the images I get this error appearing;


" - source files - Mon May 23 14:25:05  2016
Traceback (most recent call last):
  File "/home/leond/OpenDroneMap/run.py", line 986, in <module>
    prepare_objects()
  File "/home/leond/OpenDroneMap/run.py", line 415, in prepare_objects
    fileObject["ccd"] = float(ccdWidths[fileObject["id"]])
KeyError: u'RICOH IMAGING COMPANY, LTD. GR II' "

I've managed to circumvent this issue by using --force-focal and --force-ccd, however, the final outputs are terrible, an example would be the orthophoto only being just over a 100kb and completely pixelated. The point cloud isn't as bad but has large chunks of data missing.

I know there's nothing wrong with the data set as I have a very nice output from Agisoft. I've also ran one of the test datasets that are provided and that worked without issue.

Trying to run the build from a docker container, my first issue here is following the instructions on the wiki for a git clone docker build, I get;

export IMAGES=/run/media/leond/PhD/ODMOptimise/
[leond@mandy OpenDroneMap]$ docker build -t opendronemap:latest
docker: "build" requires 1 argument.
See 'docker build --help'.

Usage: docker build [OPTIONS] PATH | URL | -

Build an image from a Dockerfile "

I've then tried to use the dbrgn/opendronemap docker container and I get similar to running natively on Ubuntu;

Traceback (most recent call last):
  File "/code/run.py", line 986, in <module>
    prepare_objects()
  File "/code/run.py", line 415, in prepare_objects
    fileObject["ccd"] = float(ccdWidths[fileObject["id"]])
KeyError: u'RICOH IMAGING COMPANY, LTD. GR II' "

I'd also read on the mailing list about using the /tree/dev version available on git but I'm unable to clone that url.

I appreciate there's probably more than one unrelated issue here (and a couple that are). I'd really like to try and get ODM working and with usable outputs, so any advice would be welcomed.

Cheers,


Leon


_______________________________________________
OpenDroneMap-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/opendronemap-users