Jonathan Earp Research
Research / 2023—2026 Lawrence Berkeley National Lab UPenn

Research

Most of this is one project: a cheap camera over a stove that works out what's cooking, and a lot of checking where it gets that wrong.

Focus AI Sensing / IAQ
Partners LBNL · UPenn
Status Active — ISES 2026
Output Sensor · dataset · paper
01 Featured Lawrence Berkeley National Lab

An AI sensor that reads the stove.

StoveCam

A small camera that watches the stove and works out when someone's cooking, what is in the pan, and how it's being cooked. That record is what air-quality researchers need, and the parts cost a fraction of what lab instruments do.

40k+
RGB + thermal pairs
across three homes
8.1/10
Mean human-graded
identification accuracy
$0.018
AI cost per
analyzed pair
3-stage
Pipeline, cheapest
check first
What it is

A Raspberry Pi above the stove with two cameras, one normal and one thermal. It photographs the cooktop every minute.

How it works

Three AI stages: throw away dark frames for free, screen for cooking cheaply, then have a top model write down food, method, burner, and cookware.

Why it matters

Cooking is one of the biggest indoor air pollutants. Exposure researchers need a record of it, and lab-grade gear costs too much to put in many homes.

01

The problem

Cooking is one of the biggest sources of indoor air pollution, and it's surprisingly hard to track. To model it, researchers need to know how often a home cooks, on which burner, how, and for how long. Asking people to write it down doesn't really work, and the lab-grade gear that measures it properly is way too expensive to put in a lot of homes. StoveCam started as a side question from our earlier air-quality work at LBNL: could a cheap camera and an AI model just figure the cooking out by watching?

02

The sensor: two cameras, one stove

Each unit is a Raspberry Pi 5 sitting above the stove with two cameras: a normal RGB camera and an Adafruit thermal camera. Every 60 seconds it takes a picture with both and saves the pair. The two cameras are doing different jobs on purpose. The normal photo shows what's on the stove. The thermal photo shows what the normal one can't: heat under a lid, a pan that's been left on, and the actual temperatures.

RGB capture: French toast cooking in a skillet
RGB French toast cooking in a stainless skillet. The model reads the cookware, the food and the front-right burner.
Thermal capture: hot pan with cooler toast
Thermal The same instant in IR. The pan core reads 113.9°C while the toast stays cooler where it absorbs heat.

The most common thing the model saw across the whole dataset was a covered pot. That's the case the thermal camera is there for. The food is hidden and the heat isn't.

03

A three-stage pipeline

Running a top-end AI model on every photo would cost a fortune. So each capture goes through three steps, and only the photos that matter make it as far as the expensive one.

Stage 1
Brightness gate

A quick check on the device itself throws out dark photos (lights off, nobody home) before any AI runs. This alone drops most of the captures.

$0 · on-device
Stage 2
Cooking screening

A small vision model on LBNL's CBorg service answers one yes/no question: is anyone actually cooking?

cheap · cooking / not
Stage 3
Full identification

Only the photos that pass step two reach the best model (Gemini), which writes down the food, how it's cooked, the cookware, the burner, and how sure it is.

premium · rich labels

Step three writes one record per cooking session, and more than one when several burners are going at once. It covers the method (boil, simmer, sauté, pan-fry, deep-fry, bake, broil), which burner, and the cookware.

04

Worked examples

Two real captures that scored a perfect 10/10 when we graded them. Each one shows the two photos that went in and the record the model wrote out, including the notes it left for itself.

Result · ID 2309 10/10
French toast in a skillet
RGB
Thermal of the hot skillet
Thermal
Food
French toast
Method
Pan-fry
Cookware
Skillet
Burner
Front right
Confidence
1.00

"French toast is actively cooking in a skillet on the front right burner. The thermal image confirms high heat under the pan, with cooler spots where the bread absorbs the heat."

Result · ID 2385 10/10
A lid being lifted off a pot of chicken
RGB
Thermal showing active and residual heat
Thermal
Food
Chicken
Method
Boil
Cookware
Pot
Burner
Right
Confidence
0.95

"A person is handling the lid of a large pot on the right burner. Raw chicken is visible inside. The thermal image confirms a strong, ring-shaped active heat signature under this pot. The left burner shows residual heat but is empty in the RGB image, so it is excluded."

The second one is the interesting case. There's motion blur, a hand in the shot, and a covered pot, but the model still puts the two photos together, using the normal photo to rule out the leftover heat the thermal camera picks up on the empty left burner.

05

Checking the AI against people

To see whether the labels were any good, we went through 506 random photo pairs by hand, scored each out of 10, and noted what kind of mistakes turned up. The model averaged 8.1/10, with 66% scoring 8 or higher and 32% we couldn't fault. When it does get it wrong, it usually thinks cooking is happening when it's really just leftover heat, and for an air-quality study that's the safer way to be wrong. And in all 506 pairs, it never once mixed up the burner or the cooking method.

Bar chart of 506 human grades: most captures score 9 or 10, mean 8.1, with a secondary cluster at 5
How the 506 hand-graded captures scored. The cluster at 5 is almost entirely false positives: 122 of those 125 are residual-heat calls.
06

How it reads a stove — and where it breaks

The model doesn't really "see" the way we do. It shrinks each photo, cuts it into small patches, and turns every patch into a list of numbers. Those numbers sit in the same space as words, so a round metal shape with a handle ends up near "skillet," and a bright ring in the thermal photo ends up near "hot burner." Because it was trained on huge piles of labelled food photos, overhead cooking clips and thermal images, it can even read the little temperature numbers printed on the IR frame.

Where it falls down. The model is matching patterns, not understanding physics, so a strange scene it hasn't seen before can fool it. It's also biased toward Western food: it nails a plate of salmon or French toast where everything sits separately, but a wok full of mixed, blurry stir-fry is much harder. It gets chicken right nearly every time; jackfruit, almost never.
Bar chart of mean grade by food: clearly visible dishes like salmon and french toast score 10, while unknown and covered pots score lowest
Mean grade by food (foods with four or more graded captures). Dishes the camera can actually see score perfect; the muted bars (covered pots and unknowns) sit at the bottom.
07

Where it goes

The point of the project is the method: building cheap sensors out of paired image and sensor data, for air-quality and building research. Once you have a record of what's being cooked, though, it's useful for other things too:

01Exposure science

Quantify cooking frequency, duration, and method to model indoor pollutant emissions without intrusive lab gear.

02Elderly care

A daily heartbeat summary: "Mom used the stove for 20 minutes this morning; it's now off."

03Compliance

Left in a commercial kitchen, it can help verify food is cooked to adequate temperatures.

04Energy

Compare ambient heat wasted by gas vs. electric stoves using the thermal channel.

05Macros

A heat-aware alternative to photo-only calorie apps, since the cooking itself is signal.

06Economics

Cooking habits as a ground-level indicator: the ratio of meat to vegetables, and when households cook.

08

Status & publications

Target venueISES 2026 — Int'l Society of Exposure Science (Vancouver), abstract due Apr 30 2026
Also exploringHealthy Buildings 2027 (Amsterdam)
TeamJonathan Earp & Noah Sohn — advised by David Lorenzetti & Michael Sohn (LBNL)
Built onRaspberry Pi 5 · Adafruit thermal camera · LBNL CBorg · Gemini vision
In progressSessionization — feeding prior frames as context so the model can track a dish over time
02 Archive Earlier research
2024UPenn ESAP

Nanotechnology & Device Fabrication

NanofabricationCleanroom ISO-5PhotolithographyMicrofluidicsQuantum dotsSEM / AFM

Three weeks at Penn's Singh Center for Nanotechnology, working in the Class 100 (ISO-5) cleanroom. The course covers the whole fabrication loop: pattern a wafer, build something on it, then measure whether what came out matches the design.

  • Patterned silicon by photolithography: spin-cast the photoresist, expose it through a mask, develop it, then etch and deposit thin films.
  • Built microfluidic devices from those patterns and ran dye through the channels under a microscope to see whether the flow behaved.
  • Synthesized CdSe quantum dots, where particle size is what sets the emission colour. One reaction, stopped at different points, fluoresces from blue through yellow.
  • Imaged the results on SEM and AFM, since the features sit well below what an optical microscope can resolve.
  • Built an adaptive audio control device with Professor Gyuseok Kim and graduate TAs, from prototype through demo.
Why the lithography bay is yellow. Photoresist is sensitive to UV and blue, so the room is lit only at wavelengths it cannot respond to. The colour is the reason an unexposed wafer survives the walk from the spinner to the mask aligner.