Adra · Engineering
How food recognition runs on the phone.
Adra recognizes meals, reads nutrition labels and looks up food with no server involved. Running on the device is the design, and it brings privacy, offline use and repeatable results with it. This page describes what runs, what it does and how the parts fit together.
What ships inside the app
| Asset | Job | Size |
|---|---|---|
| EfficientDet-Lite0 | Finds food regions in the photo | about 4 MB |
| Food segmenter | Estimates what the plate is made of | about 10 MB |
| CLIP ViT-B/32, ONNX | Turns each region into a vector | about 85 MB |
| Concept embeddings | Vectors for 7,395 food concepts | about 140 MB |
| PP-OCRv5 | Reads nutrition labels | about 22 MB |
| USDA data | 5,432 recipes with their ingredients | about 6 MB |
| Food catalog | 247,065 foods with nutrition data | about 675 MB |
The models are the small part: the AI that recognizes your food takes about 120 MB. Most of the space holds the catalog, which is why search works everywhere.
What happens to one photo
- A barcode or a nutrition label in the frame goes first, because a printed value is the best source there is.
- Otherwise, detection finds the food regions, and CLIP embeds each one on the phone.
- Each vector is compared with the food concepts by cosine similarity, which checks it against text descriptions and real dish photos at the same time.
- A calibrated selection step picks the dish, using the segmenter's view of the plate as a second opinion.
- The dish opens as its recipe, with nutrition data per ingredient. The portion starts from what you usually log, and you confirm the result.
Your corrections are stored on the phone and adjust later matches. The learned dishes page has more detail.
The ingredient list comes from a recipe database, so the same dish always returns the same ingredients.
Why Adra matches images, not names
Adra's matching draws on a public dataset of 1.72 million menu items from around the world. Matching those dishes by name does not work across languages. More than half of the names are in non-Latin scripts, and their text vectors sit so close together that one Hawaiian coconut dessert, haupia, attracted 47,368 dishes.
So Adra ignores the names. CLIP places images and text in the same space, which lets each menu photo match the text of a food concept directly. A picture of a dish means the same thing in any language, and that is why recognition holds up across cuisines.
What on-device brings
-
Repeatable results.
Repeated runs of Adra's evaluation set returned identical results (Adra evaluation harness, September 27, 2026). No remote model changes underneath you.
-
Works anywhere.
Recognition needs no signal, so it works offline in a basement gym or on a plane.
-
Private by construction.
Your photos are processed where they were taken. More on privacy
-
It gets personal.
Save a dish from your own kitchen once, and Adra can recognize it from your next photo.
FAQ
Does Adra send photos to a cloud AI service?
No. Photos are processed on the phone. The only network request is a barcode lookup for a product outside the catalog, and it carries the barcode number.
Are the results from a photo exact?
They are a starting estimate. Adra shows you the dish and its ingredients, and you confirm or adjust every value before it is saved, including the portion, which a photo cannot measure.
Does Adra use a large language model?
No. Adra uses a vision model to match your photo and a recipe database for the ingredients. No generative model writes your results.
How much storage does Adra need?
About 460 MB to download and about 2 GB on the phone, measured on a Pixel 7 on November 1, 2026. That covers every model and all 247,065 foods, so nothing has to load later.
Is Adra open source?
No. Adra is proprietary software from Matz Works. The alternatives table lists open-source trackers.
Asset sizes measured from the installed app on a Pixel 7 (version 1.3.182), November 1, 2026. They change between releases.