Skip to main content

Deepomatic CLI

Project description

deepomatic-command-line-interface

Deepomatic Command Line Interface.

This command line interface has been made to help you interact with our services via the command line.

Build Status

CLI Documentation

Find the complete documentation at docs.deepomatic.com/deepomatic-cli/

Installation

pip install deepomatic-cli

If you need rpc support, prefer:

# requires deeomatic-rpc package to be installed
pip install deepomatic-cli[rpc]

Autocompletion

To activate the autocompletion the easiest way is to add the following line to your shell config file:

eval "$(register-python-argcomplete deepo)"

For example if you use bash:

cat <<"EOF" >> ~/.bashrc

# activate deepomatic-cli autocomplete
eval "$(register-python-argcomplete deepo)"
EOF

(If it slows down your shell startup too much, you can pre-generate the completion into a static file then source it in your .bashrc: that doesn't change when deepo-cli is updated (except when updating argcomplete itself).)

For more information, checkout the documentation of argcomplete

FAQ

opencv-python (-headless) installation takes forever

Depending on your pip version, it might rebuild it from source. 19.3 is the minimum supported version

  • Check version with pip -V
  • Update with pip install 'pip>=19.3'

Window output doesn't work. I get a cv2.error.

deepomatic-cli ships with opencv-python-headless as most of the features don't need a GUI. This also avoids requiring libGL on the system (it is for example usually not there in docker containers). If you want to use the GUI features, we recommend installing opencv-python after installing deepomatic-cli:

pip install deepomatic-cli
opencv_install=$(pip3 freeze | grep opencv-python-headless | sed 's/-headless//g')
pip uninstall opencv-python-headless
pip install $opencv_install

Bugs

Please send bug reports to support@deepomatic.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deepomatic-cli-0.7.0.tar.gz (41.7 kB view hashes)

Uploaded Source

Built Distribution

deepomatic_cli-0.7.0-py2.py3-none-any.whl (69.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page