This repository was archived by the owner on Nov 4, 2019. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Builds an environment that runs the
1+ # Builds an environment that runs the image analysis direct georeferecing tool set.
22
33FROM continuumio/anaconda3:latest
4- LABEL Name=directgeoref Version=0.0.1
5- EXPOSE 3000
4+ LABEL Name=imageanalysis Version=0.1
65
76ENV PATH /opt/conda/bin/
87SHELL ["/bin/bash" , "-c" ]
@@ -16,8 +15,8 @@ VOLUME [ "/data" ]
1615RUN conda update conda
1716
1817# Install all the required packages
19- RUN conda install -c conda-forge opencv && \
20- pip install navpy piexif geojson panda3d opencv-contrib-python pylint rope matplotlib
18+ RUN pip install opencv-python opencv-utils opencv-contrib-python==3.4.2.17 && \
19+ pip install navpy piexif geojson panda3d pylint rope matplotlib
2120
2221# Download the required props package
2322ADD https://github.com/AuraUAS/aura-props/archive/master.zip /app/
@@ -35,4 +34,8 @@ CMD cd /app
3534
3635# To run, use the following commands:
3736# docker run -d --name imageanalysis -v location/on/your/computer:/data imageanalysis
38- # docker exec -it imageanalysis /bin/bash
37+ # docker exec -it imageanalysis /bin/bash
38+
39+ # When in the container, you can navigate to the project runner dir and run with the following:
40+ # cd scripts
41+ # python project_runner.py --project /data --camera /app/cameras/DJI_FC330.json --pix4d /data/pix4d.csv
Original file line number Diff line number Diff line change @@ -162,4 +162,22 @@ Wish list items:
162162## installation hints
163163
164164 - sudo pip3 install opencv-contrib-python
165- - sudo pip3 install --pre --extra-index-url https://archive.panda3d.org/ panda3d
165+ - sudo pip3 install --pre --extra-index-url https://archive.panda3d.org/ panda3d
166+
167+ ## Run with Docker
168+
169+ When you clone the repo, you can then build the docker image and run from inside of the docker image with the following commands:
170+
171+ ```` {.shell}
172+ docker run -d --name imageanalysis -v location/on/your/computer:/data imageanalysis
173+ docker exec -it imageanalysis /bin/bash
174+ ````
175+
176+ Ensure that you change ``` location/on/your/computer ``` to a location that holds all of your images, and the pix4d.csv file
177+
178+ When in the container, you can navigate to the project runner dir and run with the following:
179+
180+ ```` {.shell}
181+ cd scripts
182+ python project_runner.py --project /data --camera /app/cameras/DJI_FC330.json --pix4d /data/pix4d.csv
183+ ````
You can’t perform that action at this time.
0 commit comments