[open] Continous Rating - Mousewheel
Hi,
for an experiment I want to implement a continous rating seen at the side of a video.
I was thinking about editing the VLC plugin so that at the side there is some traffic light rating scale that can be manipulated by the mousewheel.
I found this post so far on the forum:
http://www.cogsci.nl/forum/index.php?p=/discussion/1233/open-mouse-function-register-online-pain-score-in-the-form-of-visual-analogue-scale/p1
But it is a slightly different approach.
I was thinking on accessing the mousewheel using xpyriment or pygame, maybe some of you have had a similar approach or can point me to the best solution in accessing the mousewheel and continously writing the data ?
As there are approaches such as the eyetribe tracker continous data should be possible ?
Best,
Daniel
Comments
Hi Daniel,
The easiest solution depends on what you want to do exactly. If your video doesn't have any sound, I would recommend using
opencvas described here:This will be easier, but it's quite limited in that you have to control the frame rate yourself and it doesn't support sound. But as the example shows it's quite easy to combine video playback with custom drawings.
The alternative would be to build on the
media_player_vlc. This works, but is quite complicated and also has some issues of its own.Scrolling with the mouse is identical to collecting button presses. The only difference is the button number, as described here:
There is no parallel process running when the EyeTribe is connected. Not within OpenSesame at least. Serial only!
Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!