* used example from webcam-capture git by serxos