These servo glasses will try to fool facial recognition software whenever specific cam routers are detected
Things used in this project
Hardware components
Software apps and online services
Autodesk Fusion 360: https://www.hackster.io/autodesk/products/fusion-360?ref=project-ea5481
Story
Ibarrola
“A man sets himself the task of depicting the world. Year after year, he fills a space with images of provinces, kingdoms, mountains, bays, ships, islands, fishes, rooms, instruments, stars, horses, and people. Just before he dies, he discovers that out of this patient labyrinth of lines emerge the features of his own face.”
Jorge Luis Borges, The Maker
This fragment by Jorge Luis Borges was kind of prophetic. AI Face Recognition easily links features of a face with the owner’s world, including his crimes. What could go wrong? A few years ago, a man named Guillermo Federico Ibarrola was arrested in Buenos Aires by the Police after being pointed by a Russian made software from NTechLab as the author of an aggravated robbery. After 5 days of terror and just before going to jail, someone found the error: different second name.
Facial Recognition nightmare in Buenos Aires
How can face recognition software be fooled?
There are several projects about this. From Tshirts with patterns to jewelry and IR lights. I will try to contribute with these simple servo based glasses with automated cam detection.
TShirt to fool facial recognition
How does Face Recognition works?
“Facial recognition is a challenging pattern recognition problem in computing. Facial recognition systems attempt to identify a human face, which is three-dimensional and changes in appearance with lighting and facial expression, based on its two-dimensional image. To accomplish this computational task, facial recognition systems perform four steps. First face detection is used to segment the face from the image background. In the second step the segmented face image is aligned to account for face pose, image size and photographic properties, such as illumination and grayscale. The purpose of the alignment process is to enable the accurate localization of facial features in the third step, the facial feature extraction. Features such as eyes, nose and mouth are pinpointed and measured in the image to represent the face. The so established feature vector of the face is then, in the fourth step, matched against a database of faces.” (Wikipedia)
So, hiding or changing the position of the eyes, nose and mouth could work, right?
Close up detail
Let’s tryto disguise face features with some cheap servos mounted over old glasses. They will be controlled by an ESP board since I will also add anautomatic mode scanning WiFi SSID. Example: if you know that facial recognition cams are located in bus terminals, you can configure the device to trigger the servos, when specific WIFI routers found in the bus terminal are found.
Note: with en easy modification, VK16 GPS module can be used but consider that GPS signal is weak inside buildings.
Parts
ESP82662 servo SG901 battery 3.7v1 TP4056 chargerOld glasses3D parts1 fake toy nose - or 3d printed
Connections
Circuit
Servo to D7, D8, GND and 3.3v TP4056 Battery out to battery + and -. TP4056 + and – to ESP8266 VIN and GND. On board button is used but if your board does not have one, you can use an external button.
3d printed parts
There are 4 3d parts to print. 2 of them from the ESP8266 box. Then you have the left arm and right arm. Nose should be attached to the big arm.
Software
Download the software from Github https://github.com/ronibandini/Ibarrola
Edit settings, like name of the cam SSID to be recognized and upload with Arduino IDE.
int servo1Angle1=180;
int servo1Angle2=90;
int servo2Angle1=90;
int servo2Angle2=180;
int butPin=0;
int myDelayLoop=250;
int myDelayMove=1000;
String ssidDetect="XXXXXXX";
Demo
Schematics
Ibarrola circuits
Code
Ibarrola anti facial recon glasses
ESP8266 code
The article was first published in hackster, June 13, 2022
cr: https://www.hackster.io/roni-bandini/automatic-anti-facial-recognition-glasses-ea5481
author: Roni Bandini