Raspberry Pi smart fridge uses Chat GPT4 to keep track of your food

Raspberry Pi
(Image credit: Mimobeano)

When it comes to living with future technology, there's nothing quite like smart home devices. There are plenty of options on the market, from smart lights to smart toilets. But maker and developer Mimobeano is taking things to the kitchen with their latest creation. Using our favorite SBC, the Raspberry Pi, Mimobeano has created a Chat GPT-driven smart fridge that helps keep track of the food in your fridge.

According to Mimobeano, this originally began as a project for their master's degree during college. It was programmed to look for 12 specific items and used a model that Mimobeano trained using thousands of pictures. After a few years, the decision was made to change things up a bit with GPT4-Vision to see what it could handle on its own.

The current iteration works by capturing an image each time Mimobeano opens the refrigerator door. This image is then parsed through GPT4-Vision which analyzes it for food. Mimobeano uses Telegram to send specific requests. In the example screenshot, we can see a prompt for a list of ingredients which is compiled and shared through the Telegram channel.

Mimobeano didn't specify the exact model of Raspberry Pi they're using, but you could recreate this project using a Pi 4 or Pi 5. The Pi is connected to an HQ camera module and uses a wide-angle lens to capture images. The Pi is hosting a bot that interfaces with the OpenAI API to evaluate the requests from Telegram.

There are plans in the works to upgrade this project even further with a custom, 3D-printed mount that captures images at a better angle. Mimobeano also explained the original project would check for whether or not certain items were close to expiring, and plans to integrate similar functions with this iteration, as well.

To get a closer look at this Raspberry Pi project, check out the original thread shared to Reddit, and be sure to follow Mimobeano for future updates.

Ash Hill
Freelance News and Features Writer

Ash Hill is a Freelance News and Features Writer at Tom's Hardware US. She manages the Pi projects of the month and much of our daily Raspberry Pi reporting.