Weekend Projects – Dirty Dish Detector

Weekend Projects - Dirty Dish Detector

Hi, this is Wayne again with a topic “Weekend Projects – Dirty Dish Detector”.
Hi, i’m sam with make, does your makerspace suffer from a sink full of dirty dishes, or do you yourself require some discipline, keeping on top of your chores at home to automate your home office or workshop you’ll need a system that can recognize motion or objects? A small computer capable of running opencv is just the tool you need. The dirty dish. Detector combines a beaglebone black, a logitech, webcam and plenty of open source software to keep track of dirty dishes that are left in the sink, we’ll be using opencv free computer vision. Software that can recognize shapes faces and much more, it’s great for teaching computers to see.

Weekend Projects - Dirty Dish Detector

What’S going on around them, you can pick up all the parts needed for this project at your local radio. Shack you’ll also require the following tools: first update the beaglebone black to the most recent version of debian. This will ensure consistency with any software packages used in this project once the os is updated log in via serial over usb configuring, wi-fi to automatically connect to your wireless network at boot up can be tricky.

Weekend Projects - Dirty Dish Detector

Thankfully, the whole process is thoroughly documented over at the project. Page you’ll need to initiate a few commands from your preferred ssh client. The board will connect with your local area network 3d print an enclosure for your beaglebone black. If you don’t have your own 3d printer contact, your nearest makerspace for assistance, some libraries also now provide access to 3d printers. The enclosure used here was designed by logic supply and comes in two sections: a bottom and a lid. Take the lid from the enclosure and drill a hole in it.

Weekend Projects - Dirty Dish Detector

Remove any plastic burrs from the hole snap. The 4-port usb hub into the hole and secure the hub in place with a dollop of hot glue. Ensuring the hub is flush with the edge of the lid put the beaglebone black inside the enclosure and close the lid. The webcams articulating arm fits perfectly around the hub and enclosure body hold the webcam in place and secure it down with a long zip tie now to install the detector above.

The sink you’ll need to get creative here with the mechanism used to install the detector, depending on the layout of your kitchen and the space above. Your sink use. The velcro tie that comes attached to the webcam’s cable to neatly tie up any loose wires since the beaglebone now automatically connects to the wi-fi network and boot power it up and access the board using chrome or safari access. The cloud9 ide an online platform for development that provides support for python the language of the files powering the dirty dish. Detector. The next few steps will calibrate the detector using opencv, build the project using each block of code to better understand how they all work together. Copy the code required to run a test of the webcam, adjust the orientation of the webcam’s lens if needed, capture a clean image of your sync, which will calibrate opencv with the location and diameter of your sink’s drain. We don’t want to confuse dirty dishes with the sink’s fixture now go dirty up some dishes and put them in your sink.

The next block of code will compare the location of the drain against the location and shapes of any objects now placed in the sync. You will need to configure your preferred email, clients, smtp settings. Gmail is a popular service, but any provider will work, update the necessary lines in the next block of code, including your username and password, where necessary, with your dirty dishes. Still in the sink run. The next block of code – and you should receive a dishes – are dirty email from yourself. Lastly, update the code, so it only sends notifications with any change in status about dishes in the sink.

This way, the dirty dish, detector will only send emails when the sink goes from clean to dirty or likewise when it goes from dirty to clean. How would you take this project further, how about automatically photographing the perpetrator uploading their photo to social media for public, shaming, we’d love to see where you take the dirty dish? Detector share your mods on the project page .