Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.4 KB

README.md

File metadata and controls

44 lines (28 loc) · 1.4 KB

Dr.Trash-HW

Dr.Trash Hardware is a python script for capture image, encode to jpeg, and upload to deep learning model from Dr.Trash.

Capture and encoding are processed via OpenCV and transmission is processed by Kafka.

License GitHub commit activity

Requirements

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.

Installation

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

Run

To run Dr.Trash-HW:

$ env $(cat .env | xargs) python main.py

Now, you can use our Dr.Trash-FE application.