t0mer / deepstack-trainer

deepstack trainer is a Flask powerd, easy to use web app, hepls us to train and test Deepstack AI
GNU General Public License v3.0
24 stars 3 forks source link
deepstack docker face-detection face-recognition fastapi home-assistant home-automation machine-learning object-detection python

Please :star: this repo if you find it useful


PayPal

DeepStack Trainer

DeepStack is an AI server that empowers every developer in the world to easily build state-of-the-art AI systems both on premise and in the cloud. The promises of Artificial Intelligence are huge but becoming a machine learning engineer is hard. DeepStack is device and language agnostic. You can run it on Windows, Mac OS, Linux, Raspberry PI and use it with any programming language.

DeepStack’s source code is available on GitHub via https://github.com/johnolafenwa/DeepStack

DeepStack Trainer is a FastAPI powerd web application that helps us train and test Deepstack AI easelly as possible.

Features

Components used in Deepstack Trainer

Installation

Deepstack Installation

In order to use Deepstack Trainer we need to install Deepstack. We can do that by running the following command:

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

Basic Parameters:

We can also install Deepstack using docker-compose:

version: "3.7"
services:
  deepstack:
    image: deepquestai/deepstack:latest
    restart: unless-stopped
    container_name: deepstack
    ports:
      - "80:5000"
    environment:
      - TZ=Asia/Jerusalem
      - VISION-FACE=True
      - VISION-DETECTION=True
      - VISION-SCENE=True
    volumes:
      - ./deepstack:/datastore

Deepstack Trainer Installation

Deepstack Trainer installation is very easy using docker-compose:

version: "3.7"
services:
  deepstack_trainer:
    image: techblog/deepstack-trainer
    container_name: deepstack_trainer
    privileged: true
    restart: always
    environment:
      - DEEPSTACK_HOST_ADDRESS=
      - DEEPSTACK_API_KEY=
      - MIN_CONFIDANCE=
    ports:
      - "8080:8080" 
    volumes:
      - ./deepstack-trainer/db:/opt/trainer/db #Database storing the uploaded photos data (Filename, Person name, Date).
      - ./deepstack-trainer/uploads:/opt/trainer/photos/uploads #Phisical path for storing the images

Basic Parameters:

Working with Deepstack Trainer

After the docker is up and running, open your browser and navigate to your Deepstack Trainer url. you will be able to see four tabs:

Integrations and Community

The DeepStack ecosystem includes a number of popular integrations and libraries built to expand the functionalities of the AI engine to serve IoT, industrial, monitoring and research applications. A number of them are listed below