background thread updated with face detection and fps