Shinobi/plugins/deepstack-object
Moe a0b3dc14ae update Socket.IO to version 4 for plugins 2022-06-27 12:50:03 -07:00
..
.gitignore DeepStack Object Detection Plugin by Elad Bar 2021-05-19 11:33:51 -07:00
Dockerfile Docker image for DeepStack Plugin 2021-05-27 00:02:05 -07:00
INSTALL.sh DeepStack Object Detection Plugin by Elad Bar 2021-05-19 11:33:51 -07:00
README.md Add Tensorflow plugin Docker Image 2021-05-27 00:38:20 -07:00
conf.sample.json DeepStack Object Detection Plugin by Elad Bar 2021-05-19 11:33:51 -07:00
init.sh Docker image for DeepStack Plugin 2021-05-27 00:02:05 -07:00
package-lock.json DeepStack Object Detection Plugin by Elad Bar 2021-05-19 11:33:51 -07:00
package.json update Socket.IO to version 4 for plugins 2022-06-27 12:50:03 -07:00
pm2.yml Docker image for DeepStack Plugin 2021-05-27 00:02:05 -07:00
shinobi-deepstack-object.js have plugins return frame for re-use when triggered 2021-05-30 22:27:05 -07:00

README.md

Shinobi Video plugin for DeepStack Object Detection

How to Install DeepStack Object Detection on GPU

This document has been rewritten over on ShinobiHub Articles.

Docker Installation

Install Shinobi Plugin with Docker

Image is based on node:12.22.1-buster-slim.

  1. Enter plugin directory. Default Shinobi installation location is /home/Shinobi.
cd /home/Shinobi/plugins/deepstack-object
  1. Build Image.
docker build --tag shinobi-deepstack-object-image:1.0 .
  1. Launch the plugin.
  • -e ADD_CONFIG='{"key":"123mypluginkey","host":"172.16.100.238","port":8080,"deepStack":{"host":"172.16.100.238","port":5000,"isSSL":false,"apiKey":"123"}}' Adds any configuration parameters to the plugin's conf.json file.
  • -p '8082:8082/tcp' is an optional flag if you decide to run the plugin in host mode.
docker run -d --name='shinobi-deepstack-object' -e ADD_CONFIG='{"key":"123mypluginkey","host":"172.16.100.238","port":8080,"deepStack":{"host":"172.16.100.238","port":5000,"isSSL":false,"apiKey":"123"}}' shinobi-deepstack-object-image:1.0

** Logs **

docker logs /shinobi-deepstack-object

** Stop and Remove **

docker stop /shinobi-deepstack-object && docker rm /shinobi-deepstack-object

Options (Environment Variables)

Option Description Default
ADD_CONFIG The plugin's name. DeepStack-Object

Additional Information

Docker - Get docker

DeepStack - Getting started

Run DeepStack CPU docker image:

sudo docker run -e VISION-FACE=True -e VISION-DETECTION=True -v localstorage:/datastore -p 80:5000 deepquestai/deepstack

GPU installation guide

More installation options

Windows (CPU / GPU support)

nVidia Jetson

Raspberry PI