ODM path defining for starting python run.py in terminal to process images


From @pahpad on Wed Sep 28 2016 06:37:22 GMT+0000 (UTC)

hi. I am beginer in ubuntu and ODM. I installed ODM in OpenDroneMap in home directory. its path is " /home/administrator/OpenDroneMap " and there are some files like run.py there. I created a folder in this folder with name “40m” and then I create a folder with name “images” and copied my images that captured by phantom 3 pro in to this folder. then , I opened terminal and I went to OpenDroneMap directory " administrator@administrator-VGN-BZ560P:~/OpenDroneMap$ " , now , how can I write script to start run.py to procces my iages in 40m folder ?
thank you for attentions

Copied from original issue: https://github.com/OpenDroneMap/OpenDroneMap/issues/385


From @dakotabenjamin on Wed Sep 28 2016 13:06:58 GMT+0000 (UTC)

Have you followed the readme? https://github.com/OpenDroneMap/OpenDroneMap

Please tell me where you got stuck.


From @pahpad on Wed Sep 28 2016 18:34:54 GMT+0000 (UTC)

I download the zip file and extract it in home page of ubuntu 15.
then I opened OpenDroneMap folder from home and copied this script in terminal :
git clone https://github.com/OpenDroneMap/OpenDroneMap.git .
export PYTHONPATH=$PYTHONPATH:pwd/SuperBuild/install/lib/python2.7/dist-packages:pwd/SuperBuild/src/opensfm
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:pwd/SuperBuild/install/lib
bash configure.sh
mkdir build && cd build && cmake … && make && cd …
after install , I create a folder by name of “40m” in OpenDroneMap/img folder then I create a folder and rename it “images” and copied images into it.
for running run.py , how can I write scripte by these directories that I create?
my images are in folder : home/OpenDroneMap/img/40m/images
is this script true ? : python run.py home/OpenDroneMap/img/40m/images home/OpenDroneMap/img/40m is it true ?


From @dakotabenjamin on Wed Sep 28 2016 18:55:08 GMT+0000 (UTC)

Try this instead:

python run.py --project-path /home/OpenDroneMap/img/40m


From @pahpad on Thu Sep 29 2016 06:18:27 GMT+0000 (UTC)

hi dear. I write this script according to my directory on ubuntu :
" administrator@administrator-VGN-BZ560P:~/OpenDroneMap/OpenDroneMap$ python run.py --project-path /home/administrator/OpenDroneMap/OpenDroneMap/img/40m "

but a message appeared swiftly :

Traceback (most recent call last):
File “run.py”, line 8, in
import ecto
File “/home/administrator/OpenDroneMap/OpenDroneMap/SuperBuild/install/lib/python2.7/dist-packages/ecto/init.py”, line 30, in
from ecto.ecto_main import _cell_base, _cell_cpp, getitem_list, getitem_slice, getitem_str, getitem_tuple, lookup
ImportError: libecto.so.0.6: cannot open shared object file: No such file or directory

then stoped to command line :


please tell me the problem .


From @pahpad on Fri Sep 30 2016 09:47:02 GMT+0000 (UTC)

is there any person to help me solve this problem ?