Awesome
<p align="center"> <img src="https://github.com/5sControl/5s-webserver/assets/131950264/fb306932-66fe-4a59-8cf4-878cf0ad6dc6" alt="5sControl" height = "320" /> </p>5sControl is a video monitoring system with AI analysis and ERP Integration (Open Source) that helps companies improve productivity, eliminate waste, and enhance workplace safety using computer vision (CV) and machine learning (ML).
The platform generates detailed reports to provide insights on how processes can be optimized.
Plug-in your ML-algorithms or some of the Official 5s algorithms and get a ready-to-use software for manufacturing monitoring.
Project repositories
The connections between the project repositories are illustrated by the following diagram.
<p align="center"> <img src="https://github.com/5sControl/5s-user-documentation/blob/main/assets/5S%20scheme%20(1).png" alt="5controlS-diagram" /> </p>Please note that to ensure system stability and perfomance you can use one of the Official 5S algorithms instead of Your Algorithm.
5controlS Platform:
Official Algorithms:
Algorithms Servers:
To install, do the following
The first thing to do is to clone the repository:
git clone https://github.com/5sControl/5s-backend.git
cd 5s-backend
Create a virtual environment to install dependencies in and activate it:
python3 -m venv venv
source venv/bin/activate
Note the (venv)
in front of the prompt. This indicates that this terminal
session operates in a virtual environment set up by venv
.
Then install the dependencies:
pip install -r requirements.txt
Create .env file in 5s-backend root folder:
touch .env
All variables and how they should look can be seen in the file .env.example
Your secret key should be in .env file like this:
SECRET_KEY = asddsad231jsfjp32ojrjpfjsdoivzoidvhoxic
Debug mode enabled DEBUG=True
DEBUG=True
Create an IP variable. This is the IP address of your machine in the network
IP=192.168.1.101
SERVER_URL=http://192.168.1.101
PRODUCTION=False
LICENSE_ACTIVE=False
Add connection parameters to the DB:
DB_ENGINE=django.db.backends.postgresql
DB_NAME=your name db
DB_USER=your username db
DB_PASSWORD=your password db
DB_HOST=your host db
DB_PORT=your port db
ONVIF_SERVICE_URL=onvif-service
ONVIFFINDER_SERVICE_URL=onviffinder-service
ALGORITHMS_CONTROLLER_SERVICE_URL=algorithms-controller-service
DJANGO_SERVICE_URL=django-service
NGROK_URL=https://ngrok-free.app/
Execute the command that will create migrations in the DB, superuser and start the server
make all
If the command is executed successfully, you will see in the terminal navigate to http://127.0.0.1:8000/
You can go to the address
http://127.0.0.1:8000/api/swagger/
Swagger will open where you will see a list of available URLs.
Documentation
Contributing
Thank you for considering contributing to 5sControl. We truly believe that we can build an outstanding product together!
We welcome a variety of ways to contribute. Read below to learn how you can take part in improving 5controlS.
Code of conduct
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Code contributing
If you want to contribute, read our contributing guide to learn about our development process and pull requests workflow.
We also have a list of good first issues that will help you make your first step to beсoming a 5S contributor.
License
<br> <div align="center"> <a href="https://5scontrol.com/" style="text-decoration:none;"> <img src="https://github.com/5sControl/Manufacturing-Automatization-Enterprise/blob/3bafa5805821a34e8b825df7cc78e00543fd7a58/assets/Property%201%3DVariant4.png" width="10%" alt="" /></a> <img src="https://github.com/5sControl/5s-backend/assets/131950264/d48bcf5c-8aa6-42c4-a47d-5548ae23940d" width="3%" alt="" /> <a href="https://github.com/5sControl" style="text-decoration:none;"> <img src="https://github.com/5sControl/Manufacturing-Automatization-Enterprise/blob/3bafa5805821a34e8b825df7cc78e00543fd7a58/assets/github.png" width="4%" alt="" /></a> <img src="https://github.com/5sControl/5s-backend/assets/131950264/d48bcf5c-8aa6-42c4-a47d-5548ae23940d" width="3%" alt="" /> <a href="https://www.youtube.com/@5scontrol" style="text-decoration:none;"> <img src="https://github.com/5sControl/Manufacturing-Automatization-Enterprise/blob/ebf176c81fdb62d81b2555cb6228adc074f60be0/assets/youtube%20(1).png" width="5%" alt="" /></a> </div>5sControl uses third party libraries that are distributed under their own terms (see LICENSE-3RD-PARTY.md).<br>