Skip to content

Latest commit

 

History

History
85 lines (57 loc) · 2.57 KB

README-DevInstall.md

File metadata and controls

85 lines (57 loc) · 2.57 KB

Install ImageAnalysis source code package for devel and testing purposes

This document is intended for those that are interested in running the native python scripts on their own computer. This doc a work and progress and initially focused on the windows platform. The essentials are similar for any other platform so this guide may still be helpful for Mac and Linux users (who may have many of these components already installed by default on their systems.) Note: I do all my development and testing on Linux.

The following install recipe ensures all the required prerequisites are in place for running the ImageAnalysis software:

Install Python3 (Anaconda Python 3.x version)

Download/install: https://www.anaconda.com/distribution

Go with all the defaults (unless you are a python setup expert and have a specific reason to do otherwise.)

Do not Install Microsoft VSCode (Skip!) unless you really want it for some other project not related to this one.

conda upgrade

Install git for windows

Download/install: https://git-scm.com/download/win

(My advice is to go with all the defaults choices the installer presents unless you have a specific reason to do something else.)

Open command shells

  • Open an Anaconda3 -> Anaconda Prompt (from the start menu)
  • Open a git bash shell (from the start menu)

Install required Python system packages

From the Anaconda Prompt:

anaconda3> conda uninstall sphinx // breaks pyinstaller
anaconda3> conda install scipy
anaconda3> conda install opencv
anaconda3> conda install matplotlib
anaconda3> pip install Panda3D
anaconda3> pip install geojson
anaconda3> pip install simplekml
anaconda3> pip install tqdm
anaconda3> pip install piexif

For packaging up the explorer.py script (probably a Curt only thing)

anaconda> pip install pyinstaller

Install additional required software packages

From the Bash prompt:

bash$ cd Desktop
bash$ mkdir Software
bash$ cd Software

Install NavPy:

bash$ cd Desktop/Software
bash$ git clone https://github.com/NavPy/NavPy.git
anaconda3> cd Desktop\Software\NavPy
anaconda3> python setup.py install

Install pyprops:

bash$ cd Desktop/Software
bash$ git clone https://github.com/AuraUAS/aura-props.git
anaconda3> cd Desktop\Software\aura-props\python
anaconda3> python setup.py install

Install Image Analysis

bash$ git clone https://github.com/UASLab/ImageAnalysis.git

Run the visualizer script

anaconda3> cd Desktop\Software\ImageAnalysis\scripts
anaconda3> python explorer.py