Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

PyGaze with GazePoint GP3 eye-tracker

Greetings! I am working with GazePoint GP3 60Hz eye-tracker for research purposes and currently working my way to connect it and collect data.

I would like to thank @Edwin for wonderful open-source software and the community created to support it! I will make sure to cite Gazepoint when, hopefully, publishing results in ACM Sensys this year.

I am trying to run https://www.pygaze.org/2017/05/python-wrapper-for-gazepoints-opengaze-api/ this code and facing some issues, which still remain unclear after going through discussions of @moreno and @i_van ( https://forum.cogsci.nl/discussion/3452/using-gazepoint-gp3-hd-with-pygaze-and-opensesame).

It would be of great help if someone could help me out with the following:

After the program starts, I can see a PyGame window and a dot, that can be controlled by a cursor. But then it crashes after 2-3 seconds and I get this messages

I am using MacOS Mojave (Version 10.14.6), Python 3.7

DISPTYPE = 'psychopy'

TRACKERTYPE = 'opengaze'


Honestly, I am a first-time user of eye-trackers and I can't understand whether or not it is even on. Following the instruction I assembled GP3 and connected both wires to my laptop. It is visible in connected USB devices:

USB 2.0 Digital Imaging Camera:

 Product ID: 0x2001

 Vendor ID: 0x1e10 (Point Grey Research Inc.)

 Version: 0.03

 Serial Number: 01233589

 Speed: Up to 480Mb/sec

 Manufacturer: Point Grey Research

 Location ID: 0x14200000 / 2

 Current Available (mA): 500

 Current Required (mA): 500

 Extra Operating Current (mA): 0

However, there is no signs of it actually working. My labmate suggested to see if the infrared lights on eye-tracker are on by pointing a smartphone camera on the device, but it did not give any results.


If anyone could help me out with this or suggest where to look for a solution, I would be extremely greatful!

Sincerely, Yerzhan.

Comments

  • Hi Yerzhan,

    The messages that you get are not Error messages but warnings. Of course it is better to fix the things that you get the warning about, but they themselves won't cause your experiment to crash. I think, you experiment is actually running fine, at least I don't see any sign for an unexpected stopping of it. Instead what is causing the window disappear after a few seconds, is that you have set the length of the experiment to that amount of time. In the while loop (while duration < 5000) you specify that you will do the eye tracking for only 5 seconds. If you set it to something bigger, 10000, 20000, etc., you should be able to track eyes for longer. Could you try and confirm that?

    Good luck,

    Eduard

    Buy Me A Coffee

  • Thank you for such a quick response!

    Setting the duration for a longer period of time helps. Experiment runs and the dot can be moved with the mouse

    However, it is still not clear if eye-tracker is actually recording anything. Could you please give a hint on how to understand that? The messages are the same as in previous post:

    Calibration would now take place

    Recording would have started at: 3958.7822390021756

    Recording would have stopped at: 53972.50760800671

    eyetracker connection would have closed at: 53972.56231799838

  • I think you are running in dummy mode. At least that what the log messages seem to suggest ("Calibration would now take place"). If I am not mistaken in that mode you cannot test data logging. Do you have an eyetracker attached? Then, you have to use the real mode. I am not sure how this would work. I have never worked with Pygaze directly, only as Opensesame-plugin, so the amount I can help is limited unfortunately...

    Eduard

    Buy Me A Coffee

  • @eduard Thanks a lot you for your help

    You are right, it is in dummy mode, because eye-tracker does not seem to be connected

    But printing tracker.connected() returns True, and trackertype is set to opengaze..


    It is visible in connected USB devices: USB 2.0 Digital Imaging Camera but not for the software. Do you have any suggestions on how to fix this?


    Sincerely, Yerzhan

  • Hi Yerzhan,

    Ah ok, that is weird. As I said, I have no experience using pygaze directly. You could see whether the tracker works if you use it as Opensame plugin, for example see the experiment in this discussion.

    Other than that, I am not really of any help. I have no experience with the gazepoint and also none available to try it out. Maybe @Edwin can help.

    sorry,

    Eduard

    Buy Me A Coffee

  • edited January 2021

    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

  • Thanks a lot @eduard and @Edwin for your help!

    After connecting Gazepoint software everything worked. The problem was that without it, the script couldn't really connect to the port 4242 of eye-tracker. With software, however it connected just fine

    Yerzhan

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games