Install and Run


Quickest installation

Installing

  1. Install Python 3.6 from [python.org](https://www.python.org/)
  2. Install pypi from [pypi.org](https://pypi.org/)
  3. Install PythonVideoAnnotator from Pypi:
pip install python-video-annotator

Running

  1. Execute pythonvideoannotator:
start-video-annotator

For developers

Installing

1. Download & install [Anaconda](https://www.anaconda.com/download/) or [Miniconda](https://conda.io/miniconda.html).

2. Download & install the environment configuration file:

for ubuntu:

conda install wget
wget https://raw.githubusercontent.com/UmSenhorQualquer/pythonVideoAnnotator/master/utils/environment-ubuntu17.yml --no-check-certificate
conda env create -f environment-ubuntu17.yml
source activate videoannotator

for mac:

conda install wget
wget https://raw.githubusercontent.com/UmSenhorQualquer/pythonVideoAnnotator/master/utils/environment-macosx.yml --no-check-certificate
conda env create -f environment-macosx.yml
source activate videoannotator

for windows:

Note

Make sure you are using the Anaconda prompt to execute the next commands.

conda install -c menpo wget
wget https://raw.githubusercontent.com/UmSenhorQualquer/pythonVideoAnnotator/master/utils/environment-windows.yml --no-check-certificate
conda env create -f environment-windows.yml
conda activate videoannotator

3. Activate the environment, download the source code and install it:

for ubuntu, mac and windows:

git clone --recursive https://github.com/UmSenhorQualquer/pythonVideoAnnotator.git
cd pythonVideoAnnotator/utils
python install.py

Running

Run this command:

start-video-annotator

Or these commands:

source activate videoannotator
python -m pythonvideoannotator

Install DeepLabCut

for windows and mac:

Run the following commands:

pip install deeplabcut
pip install -U wxPython
pip install --ignore-installed tensorflow==1.10

for linux:

There you will have to choose your linux distribution and the wheel for Python 3.6.
Then run the commands under, but replace the middle command with whatever fits your linux distribution.

For example, if you have ubuntu 18.04, you will have to run the following commands:
pip install deeplabcut
pip install https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04/wxPython-4.0.4-cp36-cp36m-linux_x86_64.whl
pip install --ignore-installed tensorflow==1.10