Skip to content

πŸ€–πŸ“‘ REST api setup for industrial robot work zone estimation and control. Include face detection/recognition module, object detection module and zone estimation module.

License

Notifications You must be signed in to change notification settings

rahowa/workzone

Repository files navigation

workzone

REST api setup for industrial robot work zone estimation and control. Include face detection/recognition module, object detection module and zone estimation module.

Features

Setup

Install from source

Clone repo and recursively update submodules

Download weights

  • Download weight from Google Drive
  • Move weights to the 'weights' folder inside parent folder

Setup database with docker

MongoDB used to store face descriptors for face recognition subsystem

Download MongoDB docker image

$ docker run --name mongo -d mongo:tag

And then start it

$ docker run -d -p 27017:27017 mongo

Start server

To start server use Flask CLI

$ flask run

or use python

$ python run.py

Setup robot workzone estimation subsystem

First update submodules

$ git submodule update --init --recursive

Move to robot_work_zone_estimation directory

$ cd robot_work_zone_estimation

Follow instructions from submodule README.md

Setup face recognition subsystem

  • Provide faces for face recognition subsystem

Use the following directory structure:

β”œβ”€β”€ workzone                        # Parent directory
    β”œβ”€β”€ face_database               # Directory with all persons
    β”‚   β”œβ”€β”€ person_name_1           # Each person should have it's own folder
    β”‚   β”‚    β”œβ”€β”€ img1.jpg       
    β”‚   β”‚    β”œβ”€β”€ img2.jpg
    β”‚   β”‚    β”œβ”€β”€ img3.jpg
    β”‚   β”‚    └── ...
    β”‚   β”œβ”€β”€ person_name_2           
    β”‚   β”‚    β”œβ”€β”€ img1.jpg
    β”‚   β”‚    β”œβ”€β”€ img2.jpg
    β”‚   β”‚    β”œβ”€β”€ img3.jpg
    β”‚   β”‚    └── ...
    β”‚   └── ...
    └── ...

Available routes

Scenarios

Start scenario

Add new scenarios

License

About

πŸ€–πŸ“‘ REST api setup for industrial robot work zone estimation and control. Include face detection/recognition module, object detection module and zone estimation module.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •