kopia lustrzana https://github.com/OpenDroneMap/ODM
Final touches
rodzic
cbf33f9f7c
commit
b645b2077c
|
@ -34,7 +34,7 @@ installreqs() {
|
||||||
|
|
||||||
python3.8 -m pip install virtualenv
|
python3.8 -m pip install virtualenv
|
||||||
|
|
||||||
if [ ! -e ./venv ]; then
|
if [ ! -e ${RUNPATH}/venv ]; then
|
||||||
python3.8 -m virtualenv venv
|
python3.8 -m virtualenv venv
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ install() {
|
||||||
echo "Compiling SuperBuild"
|
echo "Compiling SuperBuild"
|
||||||
cd ${RUNPATH}/SuperBuild
|
cd ${RUNPATH}/SuperBuild
|
||||||
mkdir -p build && cd build
|
mkdir -p build && cd build
|
||||||
cmake .. && make -j$processes && make -j$processes opensfm
|
cmake .. && make -j$processes
|
||||||
|
|
||||||
cd /tmp
|
cd /tmp
|
||||||
pip download GDAL==3.5.1
|
pip download GDAL==3.5.1
|
||||||
|
|
|
@ -24,6 +24,7 @@ https://github.com/OpenDroneMap/windows-deps/raw/main/rasterio-1.2.3-cp38-cp38-w
|
||||||
https://github.com/OpenDroneMap/windows-deps/raw/main/GDAL-3.2.3-cp38-cp38-win_amd64.whl ; sys_platform == 'win32'
|
https://github.com/OpenDroneMap/windows-deps/raw/main/GDAL-3.2.3-cp38-cp38-win_amd64.whl ; sys_platform == 'win32'
|
||||||
repoze.lru==0.7
|
repoze.lru==0.7
|
||||||
scikit-learn==1.1.1
|
scikit-learn==1.1.1
|
||||||
|
Pywavelets==1.3.0
|
||||||
scikit-image==0.19.3
|
scikit-image==0.19.3
|
||||||
scipy==1.8.1
|
scipy==1.8.1
|
||||||
xmltodict==0.12.0
|
xmltodict==0.12.0
|
||||||
|
|
3
run.sh
3
run.sh
|
@ -1,6 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
RUNPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
RUNPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
if [ -e $RUNPATH/venv ]; then
|
||||||
|
source $RUNPATH/venv/bin/activate
|
||||||
|
fi
|
||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$RUNPATH/SuperBuild/install/lib
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$RUNPATH/SuperBuild/install/lib
|
||||||
export DYLD_LIBRARY_PATH=$RUNPATH/SuperBuild/install/lib
|
export DYLD_LIBRARY_PATH=$RUNPATH/SuperBuild/install/lib
|
||||||
python3 $RUNPATH/run.py "$@"
|
python3 $RUNPATH/run.py "$@"
|
||||||
|
|
Ładowanie…
Reference in New Issue