Finland has been ranked number one among the countries that drink most coffee, and our Helsinki office is no exception. Our office practically runs on coffee and we take it very seriously. We brew a lot of coffee, around seven cups per person per day to be precise. In addition, our team is also particular about getting their coffee at its very best regarding optimum brew time and temperature.
The coffee supply had never been a bottleneck until we moved office to new premises little over a year ago. For, although our new office is otherwise a lot nicer than the old one, the downside was that most teams, consequently, lost direct visibility to the kitchen area and the two coffee makers. The problem was that in order to get the ‘current coffee availability status’, you had no other alternative than to walk to the kitchen and see for yourself. Besides taking unnecessary time and effort this frequently lead to disappointment and frustration as the coffee jug was often found empty.Now, one could (and rightly so) argue that this is not a real problem as getting up from your desk chair every once in a while is, as a matter of fact, better for your health than just sitting all day. However, if you keep in mind that we are dealing with a group of playful engineers and data scientists with attitude, you can understand why they immediately saw this as an opportunity to play around with AI. So, rather than just setting up a webcam and streaming a live feed of the coffee pots, our DevOps engineers and data scientists joined forces and applied AI to turn our run of the mill coffee machine into a fully-fledged ‘coffee bot’.
Why? Well, because we are a company that spends its days focused on the potential for AI and machine learning and this was an excellent way for the entire team to learn and fine-tune the process, while also being fun and useful.
The 'coffee bot' journey: from idea to reality

Otto Nyberg and Kimmo Kiiski are two of the masterminds behind the magic of the 'coffee bot'. They are also the first to admit that using a combination of AI and image recognition was not the easiest solution available for this specific problem. This is, however, the very reason that made the entire project enjoyable to them.
Here's how they progressed from idea to execution to solve the problem:
1. Just as with clients’ websites, they started by setting a goal: to know when there was fresh coffee without the need to leave their desks. They used a Raspberry Pi computer with a webcam to capture images of the coffee maker at regular intervals.
'All the necessary equipment (= Raspberry Pi and a webcam) cost them well under 100 euros. Also, they designed and 3D printed the camera holder rack.'

Read next: How machine learning fuels conversion optimisation? [Case XXL]