Skip to main content

The Grime Guardian: Building Stateful Multi-camera applications with Groundlight

· 11 min read
Sunil Kumar
Sunil Kumar
Machine Learning Engineer

Groundlight has a Problem

Here at the Groundlight office we have a bit of a problem - sometimes we leave dirty dishes in the office sink. They pile up, and as the pile grows it becomes more and more tempting to simply add to the pile instead of cleaning it up. It was clear that the Groundlight office needed a “grime guardian” to save us from our messy selves. One day, I realized that this was the perfect problem to solve using Groundlight’s computer vision SDK. I could focus on developing the complex embedded application logic while Groundlight handled the computer vision. My design provided me with an opportunity to test out a handful of interesting design patterns, including deployment on a Raspberry Pi, multi-camera and multi-detector usage, a microservice-like architecture achieved via multithreading, and complex state handling.

The Groundlight office sink, where dishes accumulate faster than git commits.

Tales from the Binomial Tail: Confidence intervals for balanced accuracy

· 24 min read
Ted Sandler
Ted Sandler
Senior Applied Scientist at Groundlight
Leo Dirac
Leo Dirac
CTO and Co-founder at Groundlight

At Groundlight, we put careful thought into measuring the correctness of our machine learning detectors. In the simplest case, this means measuring detector accuracy. But our customers have vastly different performance needs since our platform allows them to train an ML model for nearly any Yes/No visual question-answering task. A single metric like accuracy is unlikely to provide adequate resolution for all such problems. Some customers might care more about false positive mistakes (precision) whereas others might care more about false negatives (recall).