Thanks to Science, You Can Now Turn Food Porn Into Recipes

Artificial intelligence can now help you get the recipe for a dish just by uploading a photo of it.
Thanks to Science, You Can Now Turn Food Porn Into Recipes

two friends taking photo of their food with smartphones

Have you ever seen a photo of a dish someone has posted to social media and thought, “Gee, I’d like to make that” — or Instagrammed a photo of a meal at a restaurant and wondered about ingredients?

Thanks to researchers at the Massachusetts Institute of Technology’s Computer Science and Artificial Intelligence Laboratory (CSAIL) you may be able to get the recipe for a dish just by uploading a photo of it.

Using images and recipes gathered on food websites including, the researchers have compiled an expansive database of more 1 million recipes and 800,000 images. Dubbed Recipe1M, it is purported to be the largest collection of recipe data available to the public. In conjunction with a “neural network” developed by the researchers, the database can be used to provide recipes that match the visual information detected in an image.

The researchers have also created a user-friendly online version of their model — a demo of a forthcoming app called Pic2Recipe — that aims to allow people to test it out. (Alas, we couldn’t get it to work, but here’s a video that shows how it does.)

The team is still refining its food-focused artificial intelligence system, tweaking the network so it can distinguish, for instance, similar looking ingredients common to a specific dish as well as how an ingredient has been prepared (sliced vs. diced). But they foresee a range of uses for their model — from gleaning nutritional information about a meal when the ingredients are unknown to sleuthing the intel necessary to replicate a restaurant meal.

“You can imagine people using this to track their daily nutrition, or to photograph their meal at a restaurant and know what’s needed to cook it at home later,” Christoph Trattner, an assistant professor at MODUL University Vienna in the New Media Technology Department, who was not involved in the paper, said in a release. “The team’s approach works at a similar level to human judgment, which is remarkable.”

And really cool, too.

Photo courtesy of iStock

Next Up

The Comfort Food Recipes Food Network Staffers Always Turn To

Because is there really anything better than comforting classics?

How to Turn Fried Food Recipes Into Air Fryer Recipes

This is how you can make deep-fried classics in the air fryer.

Food Network Kitchen’s Holiday Sale Starts Now

Our gift to you! Get everything you need for holiday cooking with Food Network Kitchen Premium for just $0.99/month for the first 12 months.

Turn Brisket Into Breakfast with These Brand-New Recipes

Because leftover brisket should never go to waste.

12 of the Biggest Trends In Food Right Now

From lazy cooking to vintage-inspired glassware.

Now There’s Phoodle – A Food-Themed Wordle-Like Game

Five-letter word solutions are 'ingredients,' 'appliances' and 'famous chefs.'

Your Favorite Fast Food Dessert Is Now a Cereal

Get the taste of a Wendy's Frosty without having to go to the drive-thru.

Food Network's Favorite Wine Gadget Is On Sale Right Now!

Save up to 30% on this wine tools while it's still in stock.

The Pantry Meals Food Network Staffers Are Making Right Now

You’re never far away from hearty pastas, creamy soups and a great breakfast dish.

The Best Giant Foods You Can Buy Online Right Now

Giant burgers, cupcakes, doughnuts and more take supersized food to the next level.

On TV

What's New