Closed bartkrekelberg closed 2 years ago
I have no problem with this. Only thing I would suggest is naming it something more like cam
, because video
would likely be interpreted as a plugin to play videos.
I guess if this is superior to the webcam
one, you could modify that plugin's help to direct users to use this one where appropriate?
This is a new plugin to record video using any of the devices supported by the Matlab Image Acquisition Toolbox. No changes except in the new video.m file therefore fully backward compatible.
The code is functional, and much of the processing load can be pushed to the ITI, but I've not yet tested the interaction between PTB and the Webcam in terms of framedrops etc.
This is an alternative to the webcam plugin that @duijnhouwer created. Keeping that for users that don't have the IMAQ toolbox.