klabhub / neurostim

Design and run visual neuroscience experiments using Matlab and the Psychophysics Toolbox.
MIT License
4 stars 3 forks source link

Video plugin #189

Closed bartkrekelberg closed 2 years ago

bartkrekelberg commented 2 years ago

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.

adammorrissirrommada commented 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.

adammorrissirrommada commented 2 years ago

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?