Project for nwHacks2018
An image recognition and hardware hack used to help teach individuals to sort their garbage from recyclables and compostable material. https://devpost.com/software/trashcam
- Node.js backend server
- Raspberry Pi interface
- Bootstrap frontend
- Amazon Reckognition
- Raspberry pi is running python and is connected to a webcam that takes a photo about twice a second and runs opencv functions to find the largest object in the frame.
- If the object is larger than a threshold value, the image is posted to a lightsail server running server.js.
- The server puts the image into an s3 bucket and runs AWS Rekognition on it to get a list of tags for the image.
- If a tag with high enough confidence matches one of our known tags, we respond to the post request with numbers that correspond to either trash, recycling, or compost. If our server doesn't recognize the tags, we send a number that corresponds to opening all 3 bins.
- The selection is recorded for the front-end statistics page.
- The rPie gets the response and opens the correct bin(s).