--resize-to -1 seems to produce an error


#1

Hello,

I have a fresh installation of Ubuntu 16.04 and ODM. I tried to disable resizing using the --resize-to -1 but the ODM is complaining:

[ERROR] Resize parameter must be greater than 0

Am I doing something wrong?


#2

I think resize-to is now disabled by default.


#3

oh, but how we disable resizing? I am seeing ODM going ahead and resizing the images to 2400 pxl.


#4

What version are you running?


#5

The latest 0.3.1 retrieved from https://github.com/OpenDroneMap/OpenDroneMap/releases
The ubuntu 16.04 installation is also fresh.


#6

Well, I used a second system and performed again a clean Ubuntu 16.04 installation and OpenDroneMap 301. The ODM finished without reporting any problem, but the issue persists. The system spits out the same error with the --resize-to -1 selection.

Is there anyone to confirm that the --resize-to -1 is still the way to go to disable resizing? If yes then we might have a bug. If not then how we do it?

Thanks in advance!


#7

In version 0.3.1 unfortunately you cannot disable resizing. A workaround of course is to set the resize to the size of the largest side.

I recommend trying the master branch which does not resizing of the images.

Sorry for the confusion!