All Projects → robmarkcole → deepstack-ui

robmarkcole / deepstack-ui

Licence: GPL-3.0 license
UI for working with Deepstack

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to deepstack-ui

pigallery
PiGallery: AI-powered Self-hosted Secure Multi-user Image Gallery and Detailed Image analysis using Machine Learning, EXIF Parsing and Geo Tagging
Stars: ✭ 35 (-69.57%)
Mutual labels:  image-classification, face-recognition, face-detection
Face recognition
🍎 My own face recognition with deep neural networks.
Stars: ✭ 328 (+185.22%)
Mutual labels:  image-classification, face-recognition, face-detection
ailia-models
The collection of pre-trained, state-of-the-art AI models for ailia SDK
Stars: ✭ 1,102 (+858.26%)
Mutual labels:  image-classification, face-recognition, face-detection
FaceRecog
Realtime Facial recognition system using Siamese neural network
Stars: ✭ 47 (-59.13%)
Mutual labels:  face-recognition, face-detection
aio-rek
Face recognition based attendance system
Stars: ✭ 19 (-83.48%)
Mutual labels:  face-recognition, face-detection
FaceIDLight
A lightweight face-recognition toolbox and pipeline based on tensorflow-lite
Stars: ✭ 17 (-85.22%)
Mutual labels:  face-recognition, face-detection
Detect-Facial-Features
Code example demonstrating how to detect eyes, nose, lips, and jaw with dlib, OpenCV, and Python
Stars: ✭ 42 (-63.48%)
Mutual labels:  face-recognition, face-detection
timeline
Timeline - A photo organizer
Stars: ✭ 39 (-66.09%)
Mutual labels:  face-recognition, face-detection
FaceRecognitionCpp
Large input size REAL-TIME Face Detector on Cpp. It can also support face verification using MobileFaceNet+Arcface with real-time inference. 480P Over 30FPS on CPU
Stars: ✭ 40 (-65.22%)
Mutual labels:  face-recognition, face-detection
InsightFace-REST
InsightFace REST API for easy deployment of face recognition services with TensorRT in Docker.
Stars: ✭ 308 (+167.83%)
Mutual labels:  face-recognition, face-detection
GenderRecognizer
Plain Face Detector & Gender Recognizer
Stars: ✭ 57 (-50.43%)
Mutual labels:  face-recognition, face-detection
SensorsAndAi
SensorAndAi is an android application which will give you the complete information about all the sensors and some basic information about artificial intelligence.This application will tell you about the use and implementation of the sensor and artificial intelligence.This app will show you how sensor and artificial intelligence is used in any an…
Stars: ✭ 29 (-74.78%)
Mutual labels:  face-recognition, face-detection
Face-Recognition-Attendance-System
Face Detection | Recognition | Attendance
Stars: ✭ 289 (+151.3%)
Mutual labels:  face-recognition, face-detection
deep utils
An open-source toolkit which is full of handy functions, including the most used models and utilities for deep-learning practitioners!
Stars: ✭ 73 (-36.52%)
Mutual labels:  face-recognition, face-detection
bob
Bob is a free signal-processing and machine learning toolbox originally developed by the Biometrics group at Idiap Research Institute, in Switzerland. - Mirrored from https://gitlab.idiap.ch/bob/bob
Stars: ✭ 38 (-66.96%)
Mutual labels:  face-recognition, face-detection
ViewFaceCore
C# 超简单的离线人脸识别库。( 基于 SeetaFace6 )
Stars: ✭ 345 (+200%)
Mutual labels:  face-recognition, face-detection
Face-Recognition-Jetson-Nano
Recognize 2000+ faces on your Jetson Nano with database auto-fill and anti-spoofing
Stars: ✭ 63 (-45.22%)
Mutual labels:  face-recognition, face-detection
facenet
Face recognition using Tensorflow
Stars: ✭ 17 (-85.22%)
Mutual labels:  face-recognition, face-detection
DeepFaceRecognition
Face Recognition with Transfer Learning
Stars: ✭ 16 (-86.09%)
Mutual labels:  face-recognition, face-detection
Face-Recognition-Raspberry-Pi-64-bits
Recognize 2000+ faces on your Raspberry Pi 4 with database auto-fill and anti-spoofing
Stars: ✭ 48 (-58.26%)
Mutual labels:  face-recognition, face-detection

deepstack-ui

UI for working with Deepstack. Allows uploading an image and performing object detection or face recognition with Deepstack. Also faces can be registered with Deepstack. The effect of various parameters can be explored, including filtering objects by confidence, type and location in the image.

Run deepstack

Run deepstack object detection:

docker run -e VISION-DETECTION=True -p 80:5000 deepquestai/deepstack:latest

You will need the ip address of the machine running deepstack, which in my case is 192.168.1.133.

Run deepstack-ui with Docker

The deepstack-ui is designed to be run in a docker container. The UI picks up the information about your deepstack instance from environment variables which are passed into the container using the -e VARIABLE=value approach. All environment variables that can be passed are listed below:

- DEEPSTACK_IP : the IP address of your deepstack instance, default "localhost"
- DEEPSTACK_PORT : the PORT of your deepstack instance, default 80
- DEEPSTACK_API_KEY : the API key of your deepstack instance, if you have set one
- DEEPSTACK_TIMEOUT : the timeout to wait for deepstack, default 30 seconds
- DEEPSTACK_CUSTOM_MODEL : the name of a custom model, if you wish to use one
- DEEPSTACK_UI_DEBUG_MODE : options `True` or `False` (default). Lowers the minimum confidence threshold to 1%

From the root dir, build the deepstack-ui container from source and then run the UI, passing the DEEPSTACK_IP environment variable:

    docker build -t deepstack-ui .
    OR
    docker pull robmarkcole/deepstack-ui:latest

    docker run -p 8501:8501 -e DEEPSTACK_IP='192.168.1.133' deepstack-ui

The UI is now viewable at http://localhost:8501 (not whatever ip address is shown in the logs, this is the internal docker ip)

Alternatively if you are running deepstack with non default parameters, an example would be:

docker run -p 8501:8501 \
-e DEEPSTACK_IP='192.168.1.133' \
-e DEEPSTACK_PORT=80 \
-e DEEPSTACK_TIMEOUT=20 \
-e DEEPSTACK_CUSTOM_MODEL=mask \
deepstack-ui

Docker-compose

An example docker-compose file is provided. For run commands see here but the main one you need is docker-compose up.

FAQ

Q1: I get the error: TypeError: cannot unpack non-iterable DeepstackException object

A1: You probably didn't pass the required environment variables (DEEPSTACK_IP etc.)


Development

  • Create and activate a venv: python3 -m venv venv and source venv/bin/activate
  • Install requirements: pip3 install -r requirements.txt
  • Export required environment variables: export DEEPSTACK_CUSTOM_MODEL='mask'
  • Run streamlit from app folder: streamlit run deepstack-ui.py
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].