VideoMSPro6CamCaptureDemo

>Psychtoolbox>PsychDemos

Demonstrate simple use of built-in front video camera of MS Surface Pro 6

VideoMSPro6CamCaptureDemo([fullscreen=1][, fullsize=1][, moviename])

VideoMSPro6CamCaptureDemo initializes the MS Surface Pro 6 front camera,
then shows its video image in a Psychtoolbox window.

A press of the ESCape key ends the demo.

Optional parameters:

‘fullscreen’ If set to non-zero value, the image is displayed in a
fullscreen window, as usual, otherwise a normal GUI window is used.

‘fullsize’ If set to 1, the cameras image is scaled up to full screen
resolution, ie. so it fills the maximum amount of display area, but
preserving the original aspect ratio.

‘moviename’ Name string for selection of filename of a target movie file
to which video should be recorded. Defaults to none,ie., no video
recording.

Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychDemos/VideoMSPro6CamCaptureDemo.m