Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.19 KB

SETUP.md

File metadata and controls

40 lines (28 loc) · 1.19 KB

Setup

The code is written in Python 2.7 against OpenCV 2.4. Install OpenCV for your platform and this should bring in the only other dependency, numpy.

  1. Download spot_larva and its library

    You'll need to obtain both the script spot_larva.py and the lib/ directory. The easiest way to do that is with git, in a shell interpreter (eg. bash).

    $ git clone https://github.com/plredmond/larva-tracker.git

    This command will create a folder in your current working directory called larva-tracker which has the the code repository.

  2. Install OpenCV for your platform

    1. Mac OSX

      Use Mac OSX homebrew to install the opencv package.

      $ brew install homebrew/science/opencv
    2. Arch Linux

      Use pacman to install the opencv and numpy packages.

      $ pacman -Syu opencv python2-numpy