Ruined a Photo By Blinking? Facebook Can Fix It With AI

iStock
iStock

Next time you blink in an otherwise flawless photo, don't be so quick to hit the "delete" button on your phone. As The Verge reports, Facebook is testing a new feature that uses artificial intelligence to make closed eyes look naturally open.

Facebook engineers Brian Dolhansky and Cristian Canton Ferrer described the technology behind the AI in a paper published June 18. They used a type of machine learning called generative adversarial network or GAN. It works by looking at a database of pictures and using that information to generate new imagery where there wasn't any before.

This type of AI has been used to design clothing and video game levels in the past. To get it to work with faces, Facebook engineers showed the system photos taken of people when their eyes were open. After "learning" the subject's eye shape, size, and color, the AI used that data to superimpose a new set of eyes over the blinking lids. The feature still has some trouble working with glasses, long bangs, and pictures taken at an angle, but when it does what it's supposed to, it's hard to tell the photo was ever retouched.

Facebook

Facebook isn't the first company to use AI to salvage photographs with closed eyes. In 2017, Adobe added an "Open Closed Eyes" feature to Photoshop Elements that also uses AI to generate a pair of eyes that match those of the blinking subject. For it to work, users first have to show the system several photos of the subject with their eyes open.

Facebook, which already holds a database of pictures of many of its users, seems like a perfect fit for this type of technology. The social media site is still testing it out, but based on the success of early experiments, they may consider making it available to users in the not-too-distant future. And because Facebook owns Instagram, it's possible that the eye-opening feature will eventually be applied to Instagram posts and Stories as well.

[h/t The Verge]

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!

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!