Skip to content

Latest commit

 

History

History
 
 

python

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

To use the Python DeepDetect client, install python-requests.

Via pip:

pip install requests

or system-wide, e.g. on Ubuntu:

sudo apt-get install python-requests

Then either copy it into your Python code repository or point your PYTHONPATH to it:

export PYTHONPATH=/path/to/deepdetect/clients/python/:$PYTHONPATH

The DD client may post images through they base64 representation if those are not accessible to the deepdetect server. The base64 conversion is supported for images on the client filesystem or online (http/https), shall the url be only accessible to the client. A base64 flag (default to False) is available in the post_predict method.