Update README.md

pull/21/head
Robin Cole 2020-07-14 07:39:55 +01:00
parent ec23d0ed46
commit 09ca31e861
1 changed files with 7 additions and 6 deletions

View File

@ -1,5 +1,5 @@
# deepstack-ui # deepstack-ui
UI for working with [Deepstack](https://python.deepstack.cc/). Allows uploading an image and performing object detection with deepstack. The effect of various parameters can be explored, including filtering the classes of object detected, filtering by minimum confidence (%), and spatial filtering using a regoin of interest (ROI). UI for working with [Deepstack](https://python.deepstack.cc/). Allows uploading an image and performing object detection with Deepstack. The effect of various parameters can be explored, including filtering the classes of object detected, filtering by minimum confidence (%), and spatial filtering using a region of interest (ROI).
<p align="center"> <p align="center">
<img src="https://github.com/robmarkcole/deepstack-ui/blob/master/usage.png" width="1000"> <img src="https://github.com/robmarkcole/deepstack-ui/blob/master/usage.png" width="1000">
@ -15,10 +15,11 @@ docker run \
-p 5000:5000 \ -p 5000:5000 \
-e API-KEY="" \ -e API-KEY="" \
--name deepstack \ --name deepstack \
deepquestai/deepstack:noavx deepquestai/deepstack:cpu-x3-beta
``` ```
Alternatively if you have a GPU use the `deepquestai/deepstack:gpu-x3-beta` image.
You will need the ip address of the machine running deepstack, which is passed to the streamlit app. You will need the ip address of the machine running deepstack, which is passed to the Streamlit app.
## Run with Docker ## Run with Docker
From the root dir, build from source: From the root dir, build from source:
@ -48,12 +49,12 @@ Above examples for using with docker-compose:
deepstack: deepstack:
container_name: deepstack container_name: deepstack
restart: unless-stopped restart: unless-stopped
image: deepquestai/deepstack:noavx image: deepquestai/deepstack:cpu-x3-beta
ports: ports:
- '5000:5000' - '5000:5000'
environment: environment:
- VISION-DETECTION=True - VISION-DETECTION=True
- API-KEY="my_key" - API-KEY=""
volumes: volumes:
- /srv/docker/deepstack:/datastore - /srv/docker/deepstack:/datastore
deepstack_ui: deepstack_ui:
@ -63,7 +64,7 @@ Above examples for using with docker-compose:
environment: environment:
- DEEPSTACK_IP=deepstack - DEEPSTACK_IP=deepstack
- DEEPSTACK_PORT=5000 - DEEPSTACK_PORT=5000
- DEEPSTACK_API_KEY='my_key' - DEEPSTACK_API_KEY=""
- DEEPSTACK_TIMEOUT=20 - DEEPSTACK_TIMEOUT=20
ports: ports:
- '8501:8501' - '8501:8501'