set webcamMode to True