
Objective
To create a mirror that grows dimmer as the subject moves closer to it.
Sensing
Camera captures an image of the subject’s face.
Computing
Computer calculates the area of the subject to determine the distance and generates a value for the brightness of its reflection.
Effecting
Reflection is dimmed when subject is close to the “mirror” while it is brighter when subject is away.
Process/Execution
Overview
Getting image from camera
Bounding box for face tracking
Calculate area of bounding box
Face size to brightness