Raspberry Pi Scans Fridge for Food and Recommends Recipes

The Raspberry Pi is obviously one of the most deliciously named boards of our time, but this Raspberry Pi project might be the tastiest use case we’ve ever seen. It was created by a maker and developer known as Simon over at Hackster. Using our favorite SBC, he’s developed a system that scans his refrigerator for food and recommends recipes based on what’s inside.

According to Simon, he trained his project using YOLOv5 to recognize potential ingredients from the contents of his fridge. The food is scanned using a simple camera module and processed using image recognition. The Pi is programmed to organize the information and research for possible recipes and cooking videos related to its findings.

The recipes are selected using ChatGPT with Open AI. A script sends a list of detected food with a prompt to suggest recipes using the ingredients. Once a list of possible recipes is put together, the Pi then notifies the user using Telegram. These messages include recipes and tutorial videos related to the recipes it’s gathered—saving you tons of time spent manually researching for a possible dinner menu.

There are actually two Raspberry Pis used in this project. A Raspberry Pi 4B is the main board handling most of the processing but a WIZnet W5100S-EVB-Pico is thrown into the mix, as well, connecting to the Pi 4 via UART. Simon is using a Raspberry Pi Camera Module but any camera should work fine in its stead.

The software for this project involves a few layers of software, all of which is detailed in the project page at Hackster for anyone who wants to check it out for themselves. OpenAI handles the ChatGPT portion while some Python helps integrate the Telegram API. MicroPython is used to program the WIZnet W5100S-EVB-Pico board.

Visit the Raspberry Pi fridge scanner project page at Hackster to get a closer look at how this Raspberry Pi project goes together and be sure to follow Simon for future updates.

Tác giả: Đỗ Thảo

Đang làm bảo vệ với vị trí giữ xe. Sở thích "em yêu khoa học" và yêu nhiều thứ khác. Làm thêm viết báo thuê cho cunghoctin.com

Exit mobile version