Hello everyone,
I am now playing an mp4 video with this instruction.
Screen('OpenMovie’wnd,movieFileName);
Screen(‘PlayMovie’,movieFileName,rate,1,1.0);
Screen(‘CloseMovie’);
I would like to stream this using a USB WebCam instead of mp4 video,
Does anyone know how to do this?
I would be happy to have sample code.
The development environment is Windows 10 (Pro) and MATLAB (R2019b).
The parameters of the camera connected to the PC can be obtained with the following instruction.
devices = Screen(‘VideoCaptureDevices’);
Thank you