Dr.Trash Hardware is a python script for capture image, encode to jpeg, and upload to deep learning model from Dr.Trash.
To run it, you need to set up Dr.Trash first.
$ git clone https://github.com/SeoulGreenJacket/Dr.Trash
$ cd Dr.Trash
$ docker-compose up -d
You also need a raspberry pi or other device with a camera to run this script.
We use a raspberry pi 3B+ with a camera module v2.
This requires you to have Git and Python installed.
To set up a development environment to edit or run Dr.Trash-HW:
$ git clone https://github.com/SeoulGreenJacket/Dr.Trash-HW
$ cd Dr.Trash-HW
$ python -m pip install -r requirements.txt
To run Dr.Trash-HW:
$ env $(cat .env | xargs) python main.py
Now, you can use our Dr.Trash-FE application.