1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/deepstack/README.md

43 lines
1.7 KiB
Markdown
Raw Normal View History

2021-10-11 07:48:48 +02:00
deepstack
=========
![](https://deepquest.sfo2.digitaloceanspaces.com/deepstackcc/static/img/deepstacklogo.png)
[DeepStack][1] is an Open-Source AI API engine that serves pre-built models and
custom models on multiple edge devices locally or on your private cloud.
2021-10-11 08:50:19 +02:00
## up and running
```bash
2022-02-14 11:52:54 +02:00
$ mkdir -p data/{datastore,modelstore}
$ wget -P data/modelstore \
https://github.com/odd86/deepstack_licenceplate_model/raw/main/models/licence-plate.pt \
https://github.com/OlafenwaMoses/DeepStack_OpenLogo/releases/download/v1/openlogo.pt \
https://github.com/OlafenwaMoses/DeepStack_ExDark/releases/download/v1/dark.pt \
https://github.com/OlafenwaMoses/DeepStack_ActionNET/releases/download/v2/actionnetv2.pt \
https://github.com/MikeLud/DeepStack-Security-Camera-Models/raw/main/Models/animal.pt \
https://github.com/avatar42/RMRR.fire/raw/main/fire.pt \
https://github.com/avatar42/RMRR.birds/raw/main/birds.pt
2021-10-11 08:50:19 +02:00
$ docker-compose up -d
2022-02-14 11:52:54 +02:00
# Face Detection
$ http --form http://127.0.0.1:5000/v1/vision/face image@photo.jpg
{"success": true, "predictions": [...]}
# Face Recognition
$ http --form http://127.0.0.1:5000/v1/vision/face/register userid=kevin image1@photo1.jpg image2@photo2.jpg
{"success": true, "message": "face added"}
$ http --form http://127.0.0.1:5000/v1/vision/face/recognize image@photo.jpg
{"success": true, "predictions": [...]}
# Object Detection
$ http --form http://127.0.0.1:5000/v1/vision/detection image@photo.jpg
{"success": true, "predictions": [...]}
# Custom Models
$ http --form http://127.0.0.1:5000/v1/vision/custom/animal image@photo.jpg
{"success": true, "predictions": [...]}
2021-10-11 08:50:19 +02:00
```
2021-10-11 07:48:48 +02:00
[1]: https://deepstack.cc/