Harfred Labs

Blog / Food & drink / HL-062 ·

Sandwich Court

Snap any food, pick a rule, and get a ruling on whether it's a sandwich. Settling the hot dog question once and for all, six different ways.

Open Sandwich Court ↗

Sandwich Court screenshot

What it is (a courtroom for lunch)

Sandwich Court answers the question that has ended friendships: is this a sandwich? Take a photo of any food, pick a rule, and the court hands down a verdict. A hot dog, a taco, a wrap, an ice-cream sandwich, a slice of toast with something on it: everything gets its day in court.

There are six rules to choose from, because nobody agrees on what a sandwich is. One is the dictionary. Three are real rulings: New York tax law and two actual court cases, from Massachusetts in 2006 and Indiana in 2024, where judges really did have to decide this. Some count open-faced toast and some don't. One sorts food by where the bread sits, so a taco and a hot dog land in the same family. One is a full alignment chart, from "sandwich purist" to "sandwich anarchist", and judges your food by which one you are. The same photo can be a sandwich under one rule and definitely not under another, which is the whole point.

Each verdict gets a share card, so the argument can move to the group chat where it belongs.

Who it's for (anyone who has lost this argument)

Friends, families, office lunch rooms and anyone who has said "technically" at a barbecue. It's free and there's no account.

How it was built

The first version tried to recognise food on the phone itself. It was cheap and private, but it called a cracker a croissant sandwich and froze some older phones, so that became the backup.

Now the photo goes to an AI model once, and the model only reports facts: what the food is and which sides have bread or something bread-like. It never decides the verdict. The app's own code applies each rule to those facts, so the same food always gets the same ruling, and the rules can be argued about in plain sight.

The AI judge sits behind a daily limit for each visitor, so a viral lunchtime can't become a surprise bill.

Lessons learned

More from the lab