MP ID Cards recognition using photoresistors
A hardware hack using an Arduino Pro Mini, LED, two resistors and a photoresistor/LDR .
The images are pulled from the web of the Members of Parliament, these are then converted to monochrome and saved before being printed onto ID cards ready for recognition.
You need to adjust the Arduino serial port in run.rb to the one on your system.
Follow the instructions then displayed.
How does it work?
A blank piece of white paper is used to get the ambient light, the value for white light. When an MP's photo is placed on the photoresistor the difference in light level is calculated which is equivalent to the amount of black color in the MP's image.
This project was constructed in 24 hours at #NHTG14 (rewired state). The code will not be perfect.