Awesome
Show Facebook Computer Vision Tags Chrome Extension
Since April 2016, Facebook has been automatically adding alt
tags to images
you upload that are populated with keywords representing the content of your images:
<img csrc="https://facebook.com/some-url.jpg"
alt="Image may contain: golf, grass, outdoor and nature"
width="316" height="237">
They are labeling your images using a Deep ConvNet built by Facebook's FAIR team.
On one hand, this is really great. It improves accessibility for blind users who depend on screen readers which are only capable of processing text.
But I think a lot of internet users don't realize the amount of information that is now routinely extracted from photographs. Facebook (and Google, Apple, Amazon, etc) can easily tell from your photographs if you have a pet dog, if you collect cameras, if you play golf, if you have children, or if you are just really into sunglasses. There's nothing stopping them from using this information to show you relevant ads just based on photos of you - even if another user uploaded the photo and didn't even directly tag you!
This is a very simple Chrome Extension that I hacked together in a few minutes to make it easy to see the tags that Facebook is automatically applying to you and your friends' photos. Once you install it, all the photos you see on your Facebook timeline will automatically be overlaid with their tags, like this:
<img width="524" src="https://cloud.githubusercontent.com/assets/896692/21574687/3443b268-ceac-11e6-85ee-45f59408f9bb.png">The goal is simply to make everyone aware of the kind of information that is routinely extracted from your own images today. This isn't some technology that is 'coming soon', but this is something in wide-spread production use now by every major internet company. You can even learn how to implement this kind of system yourself using widely available open-source software.
Here's some examples of the kinds of things that Facebook detects in your photos:
Objects in your photos
It's possible to tell what kinds of objects are in your photos and identify your interests based on that.
Activities you are doing
Whether you are eating, running, or playing golf, it's possible for an algorithm to tell what you are doing in your photographs.
<img width="523" alt="" src="https://cloud.githubusercontent.com/assets/896692/21574724/f5055da8-ceac-11e6-9ec0-14629f42deca.png">When and where a photo was taken
You can tell if a photo was taken inside or outside, what the time of day was, what physical landmarks (mountains, trees, water, etc) were around, and so on.
<img width="623" alt="screen shot 2016-12-30 at 4 30 36 pm" src="https://cloud.githubusercontent.com/assets/896692/21574743/5de83548-cead-11e6-9211-3e75a588523d.png">Events you are attending
It's even possible to tell which kind of sporting event you are attending.
<img width="949" alt="screen shot 2016-12-30 at 4 35 31 pm" src="https://cloud.githubusercontent.com/assets/896692/21574780/24767440-ceae-11e6-9ee1-b5e065f89c93.png">These are just a few examples. See what kinds of things Facebook has found in your own photos!
Installing this Chrome Extension
Option 1: From the Chrome Web Store
- Update: Sorry, this is extension not currently available in the Chrome Web Store. Facebook filed a Trademark complaint due to the name of the extension having the word "Facebook" in it, so I had to remove it.
Option 2: From Source
- Clone this repo so you have a copy in a folder locally.
- Open
chrome://extensions
in the location or go toTools
>Extensions
- Enable
Developer mode
by checking the checkbox in the upper-right corner. - Click on the button labelled
Load unpacked extension...
. - Select the directory where you cloned this repo to.
- Visit Facebook!
Installing in Firefox
Option 1: From the Add-ons website:
Option 2: From Source
- Clone this repo so you have a copy in a folder locally.
- Open
about:debugging
URL - Click on the button labelled
Load Temporary Add-on
. - Select the directory where you cloned this repo to, and select
facebook.js
- Visit Facebook!
Caveats
- This only works for English-speaking Facebook users. I made no attempt to make this work for any other language. Sorry! But you could easily fork this and make it work for a different language. There's not a lot to this.
- Álvaro Sarasúa made a Spanish version of this extension here.
- Nicolas Raube made a German version of this extension here.
Press
- New York Magazine select/all - See What Facebook Thinks Is in Your Photos
- Nylon - You Can Now See What Information Facebook Gathers From Your Photos
- Mashable - Curious about what Facebook thinks is in your photos? This extension shows you.
- lifehacker - Show Facebook Computer Vision for Chrome Reveals Facebook's Hidden Photo Tags
- PetaPixel - This Chrome Add-On Shows You What Facebook ‘Sees’ In Your Photos
- DigitalTrends - Browser Extension Unveils the Hidden Tags Facebook Gives Your Photos
- The Daily Dot - This Chrome extension reveals Facebook's hidden image tags
- Metro UK - The amount of data Facebook detects in a single photo upload is terrifying
- DailyMail - Facebook's secret picture tags revealed: Plugin lets you see what the firm's AI thinks is in your snaps (and it's scarily accurate)
- t3n - Was Facebooks KI auf euren Fotos erkennt: Diese Erweiterung zeigt es euch
- BFM TV - Découvrez tout ce que Facebook sait de vous en analysant vos photos
- GQ France - Facebook affine son ciblage grâce à vos photos
- Meio Bit - Veja os objetos que a IA do Facebook reconhece em suas fotos
- CodigoFonte - Plugin para Firefox e Chrome exibe o que o Facebook vê em suas fotos
- 24h.com.vn - Facebook đang phân tích từng bức ảnh ra sao?
- ZDNet Korea - 브라우저에 페이스북의 눈을 달아보자
- unwire.hk - 表情動作場合都辨認到!加個插件即可看到 Facebook 圖像識別技術到底有幾犀利