It can figure out the toppings, and the order they were added.
Cooking with AI
MIT researchers have taught a new artificial intelligence how to reverse engineer pizza — specifically, they've trained an AI to look at a photo of pizza and determine both the toppings on it and the order in which they were placed.
It sounds whimsical, but eventually the research could lead to a system that could process any photo of food and produce a recipe for it — an exciting new example of AI's potential to disrupt the food sector.
To create the pizza AI, which they call PizzaGAN, the researchers started by feeding it approximately 5,500 clipart-style images of pizzas, each with up to 10 toppings labeled. After that, they fed it 9,213 images of real pizzas sourced from Instagram.
From this dataset, they were able to train their system to look at a pizza and determine the toppings on it and the order in which they were placed. The pizza AI could then produce an image showing what the pizza would look like the addition or subtraction of a specific topping, as well as how it would look before or after cooking.
As expected from its name, PizzaGAN only works on one type of food right now.
But according to the MIT team's paper, its ability to identify and manipulate layers could eventually extend to other foods, such as burgers or salads — or maybe even the fashion industry, where it could enable a digital shopping assistant to combine various layers of clothing to create an outfit.
READ MORE: MIT’s neural network aims to create the perfect pizza [ZDNet]