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.

The Cronut Turns 10

Dominique Ansel’s pastry, a cross between a croissant and a doughnut, sent people spinning when it debuted. Here, a look back on how the flaky, cream-filled delight changed the pastry game.

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.

The Best Giant Foods You Can Buy Online Right Now

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

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.

Don't Miss the Our Place Food Lover's Sale Happening Now

Save up to 25 percent sitewide — just in time for Valentine's Day.

On TV

Guy's Ranch Kitchen

8:30am | 7:30c

Guy's Ranch Kitchen

9:30am | 8:30c

Ciao House

10:30am | 9:30c

Ciao House

11:30am | 10:30c

Chopped

1pm | 12c

Chopped

2pm | 1c

Chopped

3pm | 2c

Chopped

4pm | 3c

Chopped

5pm | 4c

Chopped

6pm | 5c

Chopped

7pm | 6c

Chopped

8pm | 7c
On Tonight
On Tonight

Chopped

10pm | 9c

Chopped

11pm | 10c

Chopped

1am | 12c

Chopped

2am | 1c

Chopped

3am | 2c

What's New