klionstreams.blogg.se

Psychopy opening outside monitor
Psychopy opening outside monitor










  1. #Psychopy opening outside monitor install#
  2. #Psychopy opening outside monitor full#
  3. #Psychopy opening outside monitor code#
  4. #Psychopy opening outside monitor windows#

Img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB) # The image uses BGR colors and PyGame needs RGB # Rotate the image because for some unknown reason it's projected rotated

#Psychopy opening outside monitor code#

# Some code to make sure we can scale the images to their right locations PathImg = exp.get_file(var.staticDistributive)

#Psychopy opening outside monitor full#

Prepare: # Full path to the video and image files We suppose it has to do with the 'cv2.waitKey(33)' call - could that be done any differently? For good measure, I'll include the code below:

psychopy opening outside monitor

We cannot quite figure out why that is the case. Then the very last thing I'm having issues with: the images/video are mirrored and the videos are slightly jittery. We have taken the cv2/numpy/pygame route to make it work :-) We can now properly render a video next to an image. experiment finished!Īlso that has been fixed now. Try importing psychopy.visualĪs the first library (before anything that uses scipy)Ģ.5449 WARNING pyo audio lib was requested but not loaded: ImportError('No module named pyo',) experiment finishedĠ.6400 ERROR avbin.dll failed to load. sampling freq = 48000, buffer size = 1024 Starting experiment as ExperimentProcess-24 Pic = visual.ImageStim(win, image="CUT\Apples4-1.jpg")Ĭould you maybe give a pointer in the right direction? What would you say would be necessary to achieve the black screen/two stills/one still one video scenario?Īnd could it be this is due to the following error? Which is odd, because the package is installed. Mov = visual.MovieStim3(win, "CUT\Apple.avi") The adapted code I'm using then is from psychopy import visual avi doesn't matter - in the center only the picture is rendered, the video is nowhere to be found. Taking inspiration from an earlier thread kinda helped: However, calling the MovieStim3 continuously overlaps the 'current' experiment window and takes on a different background colour. We are using the MovieStim3 package from PsychoPy to draw the screen. Sadly, however, playing a video on its own already seems to give some difficulties. Indeed, I went for Python 2.7 and now things are starting to work. And then continuously track what the eyes of the participants are doing. Thanks for the reply! For good measure, the idea is not to have text, but a black screen of five seconds, followed by two images (stills of videos, both the first frames) left and right of the center for three seconds after which one of the pictures starts animating (goes into a video) for three seconds.

psychopy opening outside monitor

System-wide I'm running Python 3.7.2 and pip 19.1. FWIW, I have re-installed OpenSesame 3 times by now, so I don't suppose that'll help fixing it.

psychopy opening outside monitor

The still could also be a video (but just 1 frame for 3 seconds) if that makes programming any easier. What would now be the best way to proceed? The goal is to have, for 3 seconds, a still next to a video.

#Psychopy opening outside monitor windows#

It therefore seems to be impossible at this time to run PsychoPy on Windows 10, is that correct? I'm using the pip that was installed by OpenSesame, not the most up to date version, if that matters.

#Psychopy opening outside monitor install#

If I then run something along the lines of '."C:\Program Files (x86)\OpenSesame\Scripts\pip" install psychopy' it ends up installing - but then I am greeted with the error as added to this post ('error.png'). This won't work, because the OpenSesame window is using it. If I follow the guide at and use this to install PsychoPy via the Debug Window, I always end up with the error 'PermissionError: Permission denied: 'C:\\Program Files (x86)\\OpenSesame\\Lib\\site-packages\\PyQt5\\Qt.pyd'' This is, apparently, because PsychoPy wants to replace the Qt-file. I'm using the 'opensesame_3.2.7-p圓.6-win64-2.exe' for good measure. As the computers used at the lab run Windows, I'm trying to run this in Windows myself as well. Now I found on these forums that PsychoPy would be preferable for coding this. Hi! I'm doing an experiment in which the plan is to show two stills on the display and subsequently animate one of the stills (with an.












Psychopy opening outside monitor