I have a code that is running smoothly in Pygame. Basically I have created a webcam on Pygame and am able to take pictures with it on multiple time frames. As I am new to PsychoPy, I am not able to create such webcam results on it. I wanted to know if it is possible to insert the whole Pygame code in Psychopy? Or the other way around?
Also, if not, is there any way to install and run a webcam that records the subject’s behaviour and emotions while responding to my experiments?
I have tried to run the code of webcam given on Psychopy website, but it is showing multiple errors. And when I tried installing webcam on Pygame, it worked perfectly. Is there any easier way to do such on Psychopy or insert that Pygame code in Psychopy?
Any help will be much appreciated. Thanks in advance!