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