continue_playback and keyboard response
Hi everyone,
For my segmentation task, I want to play a video clip and I want to collect all responses during the video while it keep on playing. When I run the task, the video pause anytime I response. What can I do? I don't know how to set a continue_playback for my video object. I'm still learning phyton, so can you guys help me?
Thanks!
Comments
Hi,
I'm not sure how the video plugin works exactly, but I think you can run an inline_script in the background in which you can collect responses without each of them triggering the video to stop. (check out this part of the documentation: https://osdoc.cogsci.nl/3.3/manual/python/keyboard/). If you can't run an inline_script in the background, you would probably have to code video playback in an inline_script as well. But that isn't that hard with python packges like Opencv: https://osdoc.cogsci.nl/3.3/manual/python/keyboard/
Hope this helps,
Eduard