AI Algorithm Tells You the Ingredients in Your Meal Based on a Picture

iStock
iStock

Your food photography habit could soon be good for more than just updating your Instagram. As Gizmodo reports, a new AI algorithm is trained to analyze food photos and match them with a list of ingredients and recipes.

The tool was developed by researchers at MIT’s Computer Science and Artificial Intelligence Laboratory (CSAIL). To build it, they compiled information from sites like All Recipes and Food.com into a database dubbed Recipe1M, according to their paper. With more than a million annotated recipes at its disposal, a neural network then sifted through each one, learning about which ingredients are associated with which types of images along the way.

The result is Pic2Recipe, an algorithm that can deduce key details about a food item just by looking at its picture. Show it a picture of a cookie, for example, and it will tell you it likely contains sugar, butter, eggs, and flour. It will also recommend recipes for something similar pulled from the Recipe1M database.

Pic2Recipe is still a work in progress. While it has had success with simple recipes, more complicated items—like smoothies or sushi rolls, for example—seem to confuse the system. Overall, it suggests recipes with an accuracy rate of about 65 percent.

Researchers see their creation being used as a recipe search engine or as a tool for situations where nutritional information is lacking. “If you know what ingredients went into a dish but not the amount, you can take a photo, enter the ingredients, and run the model to find a similar recipe with known quantities, and then use that information to approximate your own meal,” lead author Nick Hynes told MIT News.

Before taking the project any further, the team plans to present its work at the Computer Vision and Pattern Recognition Conference in Honolulu later this month.

[h/t Gizmodo]

Amazon's Best Cyber Monday Deals on Tablets, Wireless Headphones, Kitchen Appliances, and More

Amazon
Amazon

This article contains affiliate links to products selected by our editors. Mental Floss may receive a commission for purchases made through these links.

Cyber Monday has arrived, and with it comes some amazing deals. This sale is the one to watch if you are looking to get low prices on the latest Echo Dot, Fire Tablet, video games, Instant Pots, or 4K TVs. Even if you already took advantage of sales during Black Friday or Small Business Saturday, Cyber Monday still has plenty to offer, especially on Amazon. We've compiled some the best deals out there on tech, computers, and kitchen appliances so you don't have to waste your time browsing.

Computers and tablets

Amazon

- Amazon Fire HD 10 Tablet 64GB; $120 (save $70)

- Amazon Fire HD 8 Tablet 64GB; $84 (save $35)

- HP Pavilion x360 14 Convertible 2-in-1 Laptop; $646 (save $114)

- HP Pavilion Desktop, 10th Gen Intel Core i3-10100 Processor; $469 (save $81)

- Acer Nitro 5 Gaming Laptop; $973 (save $177)

Headphones and speakers

Beats/Amazon

- Bose QuietComfort 35 II Wireless Bluetooth Headphones; $200 (save $100)

- Sony Bluetooth Noise-Canceling Wireless Headphones; $278 (save $72)

- JBL LIVE Wireless Headphones; $100 (save $30)

- JBL Charge 4 - Waterproof Portable Bluetooth Speaker; $120 (save $10)

- Bose SoundLink Color Bluetooth Speaker II; $79 (save $50)

- Powerbeats Pro Wireless Earphones; $200 (save $50)

Video Games

Sony

- Watch Dogs Legion; $30 (save $30)

- Marvel's Avengers; $27 (save $33)

- Ghost of Tsushima; $40 (save $20)

- The Last of Us Part II; $30 (save $30)

TECH, GADGETS, AND TVS

Samsung/Amazon

- Amazon Fire TV Stick; $30 (save $20)

- Echo Show 8; $65 (save $65)

- Nixplay Digital Picture Frame; $115 (save $65)

- eufy Smart Doorbell; $90 (save $30)

- Samsung 75-Inch Class Crystal 4K Smart TV; $898 (save $300)

home and Kitchen

Ninja/Amazon

- T-fal 17-Piece Cookware Set; $124 (save $56)

- Le Creuset Enameled Cast Iron Curved Round Chef's Oven; $180 (save $136)

- Ninja Foodi 10-in-1 Convection Toaster Oven; $195 (save $105)

- Roborock E4 Robot Vacuum Cleaner; $189 (save $111)

- Instant Pot Max Pressure Cooker 9 in 1; $80 (save $120)

- Shark IZ362H Cordless Anti-Allergen Lightweight Stick Vacuum; $170 (save $110)

Sign Up Today: Get exclusive deals, product news, reviews, and more with the Mental Floss Smart Shopping newsletter!

You Can Still Get an Extra 40 Percent Off This Bundle of 12 Mac Apps for Cyber Monday

Photo by Anna Shvets from Pexels
Photo by Anna Shvets from Pexels

This article contains affiliate links to products selected by our editors. Mental Floss may receive a commission for purchases made through these links. If you haven't received your voucher or have a question about your order, contact the Mental Floss shop here.

Cyber Monday may be over, but you still have time to save big on this bundle of Mac apps that features Parallels Pro and Luminar 4, plus 10 other products at an additional 40-percent discount. All you have to do is use the coupon code CMSAVE40 at checkout to take advantage.

This batch of 12 apps will help you do everything from schedule meetings to edit photos more efficiently. With the included Parallels Desktop Pro, you can even score the efficiency of Windows apps on your Mac. The Parallels product can optimize the latest Windows 10 updates so you can run thousands of apps like Microsoft Office, Internet Explorer, and graphics-intense games with impressive performance.

The tools in this bundle also include apps that do some of your work for you, like Luminar 4, which uses artificial intelligence to streamline your photo editing workflow. A single click can take care of complex edits like revealing depth with AI Structure, applying looks handcrafted by photo artists, and improving appearance with the AI Skin and Portrait Enhancer.

If that AI assistance is appealing, you’ll also dig the assistance you’ll get editing PDFs with the PDFpenPro 12 application. You’ll be able to change forms, add signatures, and export various formats of the PDFs you’ve struggled to adjust.

Check out the full list of apps and snag your 40-percent discount with the coupon code CMSAVE40 while this sale lasts.

Prices subject to change.

Sign Up Today: Get exclusive deals, product news, reviews, and more with the Mental Floss Smart Shopping newsletter!