Current state: You press a button and the face recognition starts.
This has to be changed, that when a user is at least x away from ultrasonic sensor, the face recognition starts.
Normal status: LED = White
Person is 50cm away from the sensor: LED = Red
Facerecognition starts
Face get's detected: LED = Green
Face doesn't get detected: LED = Red
Current state: You press a button and the face recognition starts. This has to be changed, that when a user is at least x away from ultrasonic sensor, the face recognition starts.
Normal status: LED = White Person is 50cm away from the sensor: LED = Red Facerecognition starts Face get's detected: LED = Green Face doesn't get detected: LED = Red