从eetimes看到一个关于beaglebone的项目,感觉有意思,分享一下。作者分享了它的代码,如果想replicate,可以从
https://github.com/fridgehead/Dish-Detector找到相关的所有代码。
所谓的盘子检测器,就是检测水池中是否有盘子,作者目前项目做到的程度就是如果水槽中有盘子之类的就会报警。估计这个项目在我们个人没有什么用,但对于想食堂之类的这样大户,这个项目很有意思。感兴趣的可以看看,作者也谈到这个项目还有许多待改进的地方。
原文如下:
Few things in this world feel as daunting as a sink full of dirty dishes, especially if they aren't yours. Members of the London Hackerspace face this dreaded scenario often, because they have a community kitchen.
One of the members set out to help remind people to stay on top of the dish situation. He pointed a webcam into the sink. The webcam is attached to a BeagleBone Black that is using the HoughCircles function in OpenCV to detect circular things. What circular things might it be detecting? Dishes. Once the BeagleBone detects plates, cups, or bowls in the sink, it sends a signal to an Arduino, which displays an alert. The longer the dishes remain in the sink, the more urgent the alert gets.
There are some issues with the system. Since it can detect only circles, the dishes have to be perfectly flat and unobstructed. The system completely ignores anything else, so if you were to lay your empty drinking glass on its side, you'd escape undetected. However, there are plans to remedy this in the code and to add a second camera to capture the faces of the perpetrators.