Skip to content

SeoulGreenJacket/Dr.Trash-HW

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published