Edwin
About
- Username
- Edwin
- Joined
- Visits
- 90
- Last Active
- Roles
- Member, Moderator
Comments
-
The webcam-eyetracker is a separate project, and a toy one at that. You can find it here: https://github.com/esdalmaijer/webcam-eyetracker As indicated, you'd need to implement a proper calibration to translate pupil+gaze in the eye image to on-scre…
-
PyGaze is a library for dedicated eye trackers, and I also have a separate [webam-eyetracker](https://github.com/esdalmaijer/webcam-eyetracker) project. (Which I would not recommend you use in important tasks, as it's a toy project.)
-
Hi @Rachel , Yes, PyGaze has been compatible with Python 3 for quite a while now :) Cheers, Edwin
-
A slightly better specification of the problem would go a long way in debugging this: How did you install PyGaze? How did you verify that the installation worked? ("According to my MacBook" -> how did you ask it, and what was its respon…
-
In your constants.py file, is there a constant DUMMYMODE? It looks like it's set to True, but should be set to False. Obviously, if there isn't such a variable, add it: DUMMYMODE = False
-
Is there a pygaze_init item at the start of your experiment, and are there any pygaze_* items within the main sequence too? (Ideally they should be nested in trial sequences.)
-
Hi Figen, Interesting problem; wouldn't really know how to solve it without more debugging access. Perhaps a simpler fix would be to simply put in your own drift check by using an inline_script. You would use this inline_script instead of a drift_co…
-
Hi all, Could it be that you pip installed into a standalone Python installation instead of into OpenSesame's built-in Python? To check, run the following in the Debug Window: import pip pip.main(["install", "tobii-research"])
-
Hi @MikeN, Did you install the package into a Python installation on your computer, or into the Python installation that comes with OpenSesame? If you're not on Linux, there is a difference between the two. To install directly within OpenSesame, run…
-
@eduard PyGaze IS Python 3 compatible! As for the actual problem here, it's hard to debug without an error message! There are a few things you could do to get around the persistent grey screen issue: 1) Run scripts using Python directly, not within …
-
Not yet! I was working on this when the pandemic started, and now there's extra work and less time to do it in, so it's shelved for a bit.
-
Not directly, but you can get a handle to the active PyGame display surface by setting DISPTYPE="pygame" in a settings.py file, and then doing the following: Separate "settings.py" file: DISPTYPE = "pygame" TRACKERTYPE …
-
@sebastiaan I only update it when OpenGaze is updated and breaks my stuff; otherwise it should continue to work. Tom and I have been looking into this off the forum, and from what I can debug at a distance, it seems an OpenGaze-specific issue.
-
Almost there with Python 3 integration!
-
The Tobii Python modules shoudn't be copied into PyGaze sub-folders, but are a standalone module. Hence, they should be installed in the site-packages directory like any other module. (Follow Tobii's installation directions.)
-
Not that I'm directly aware of, but there are more general toolboxes out there for eye movement analysis. Good question! There's likely some filtering going on, i.e. some smoothing, and there's also the head model they seem to use to compute samples…
-
Hi Intan, There aren’t any pauses like that programmed into the source code on my end, and I doubt there are in the SMI SDK (on top of which the current PyGaze implementation is built). I don’t personally work with SMI trackers, but have heard from …
-
Is the tracker you use (and its license) compatible with the Tobii Pro SDK? It would also help if you could clarify whether you're using the "tobii" (=Tobii Pro SDK) or the "tobii-legacy" (=older version to support older trackers…
-
Thanks, both! I'll generate an example and email that to Johnny. (Thanks for your direct email; I'll get back to you as soon as I can!)
-
Could you clarfiy whether a text file is generated and does not contain any gaze data, or whether a text file is not generated at all?
-
As I said before, this stuff is really only for online event detection. I don't really see why you'd like to continuously try to detect events and log them to the data file. You can use much better event detection algorithms offline using the gaze s…
-
Heya! That error stems from not getting in any samples during a noise calibration, and thus having Xvar be 0. I should add a check to the code to see if any have come in, and if not to not divide by a len of 0. You can monkey-patch this in your own …
-
Hey, that's Bob Rosbag's GitHub handle! I know the guy, and he's honestly great. Lovely to see that his stuff is helping you!
-
Hi Christian, There's a few things I'd like to clarify to answer your question: 1) Logging of gaze position to a text file happens automatically between a "start_recording" and a "stop_recording" item. Please use this in your tr…
-
Hi Art, The question is whether it is saved and used later on. Examples: My SMI implementation in PyGaze estimates distance using the tracker, and later saves this to the log file, and uses it in event detection: https://github.com/esdalmaijer/PyGaz…
-
Update! The Pupil Labs people were kind enough to loan me one of their trackers, so I'll be looking at implementing this soon :)
-
Hi Art, If you're not using any of the implemented online event detection functions, you don't have to do anything. If you'd like for Tobii to implement the distance sensing, you could file a request on GitHub: https://github.com/esdalmaijer/PyGaze…
-
Strange! Can you see the items in OpenSesame's GUI? You could manually download them from here: https://github.com/esdalmaijer/PyGaze/tree/master/opensesame_plugins
-
Answering for future reference: You'd have bought this license from Tobii, so I think you would probably know if you had the Pro SDK. If you have the Pro SDK, you can choose "tobii" in the pygaze_init item's drop-down menu. (This is all yo…
-
You'd log messages in every gaze tracking experiment; otherwise how would you know what happened when? As for logging ALL variables, you're free to do so, but it's up to you to implement a sensible approach. If you log all variables every single tim…