robmarkcole / deepstack-python

Unofficial python API for DeepStack
https://deepstack.cc/
GNU General Public License v3.0
12 stars 11 forks source link

Support custom models #28

Closed robmarkcole closed 3 years ago

robmarkcole commented 3 years ago

These are exposed at dedicated endpoints

Example request:

$ curl -X POST -F image=@mask2.jpg 'http://localhost:80/v1/vision/custom/mask'

{"success":true,"predictions":[{"confidence":0.94608647,"label":"mask","y_min":111,"x_min":248,"y_max":177,"x_max":332}]}
robmarkcole commented 3 years ago

Working on in branch https://github.com/robmarkcole/deepstack-python/tree/support-custom-models

robmarkcole commented 3 years ago

done in https://github.com/robmarkcole/deepstack-python/pull/30