Howdy, Stranger!

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

Supported by

[solved] Eyetracking using regular webcam

edited October 2014 in PyGaze

Hello guys!

I would like to ask if is possible to use a regular webcam and PyGaze to track gazes, fixation durations and saccades? I plan to collect this data when an user is reading texts in a computer.

If it is possible, do you have any hint about where I should start?

Thanks in advance!

Comments

  • edited 8:00AM

    Hi Wesley,

    The short answer, I'm afraid, is: no. Most eye trackers are more than just a normal camera + software. First, they are usually near-infrared cameras, because the pupil is easier to detect in the near-infrared spectrum. Second, most eye trackers have one or more near-infrared LEDs that shine on the cornea and give a reflection (the corneal reflection) that can be tracked quite easily.

    Assuming that you're interested in doing eye tracking on a budget, you could consider buying a cheap eye tracker. For example, a few of us have been experimenting with the EyeTribe, which is really cheap and does decent tracking. See here

    Btw, it's not impossible to do eye tracking with a webcam. For example, @Edwin has a fun page on that here:

    But I wouldn't say it's a viable option at the moment.

    Cheers,
    Sebastiaan

    Buy Me A Coffee

  • edited October 2014

    Thanks @sebastiaan !

    Actually I'm planning to run a pilot study on screen-based reading, with a remote tracking setup with almost no budget. So, buying an eye tracker will be the next step.

    I came across the Pupil Project and I was wondering if will be possible to use PyGaze with a modified HD webcam adding IR LED's and IR pass filter, as described at:

    So, the question is: if I managed to modify the webcam correctly, will the PyGaze be able to process the datas provided by the webcam?

  • edited 8:00AM

    Hi Wesley,

    Sorry for the late reply, this escaped my attention!

    Natively, PyGaze does not support any other input device than eye trackers manufactured by EyeTribe, SMI, SR Research, and Tobii. However, since PyGaze is Python based, you could use it to interface with other devices by using their respective APIs (provided Python bindings are available).

    Alternatively, you could opt for creating integration with PyGaze yourself, by creating a custom EyeTracker subclass, as we did for the aforementioned tracker brands. You can find examples of these on GitHub.

    In short, what you will have to do is create your own implementation of (almost) all of the methods listed in BaseEyeTracker. For examples, please refer to the SMI and EyeTribe classes (which are relatively straightforward).

    Alternatively, you could opt for buying an EyeTribe tracker, as @sebastiaan mentioned before. These are cheap (about $150, including VAT and delivery), and are supported out of the box with PyGaze and OpenSesame. Do note that they only go up to 60 Hz, so they will not allow you to do all types of eye tracking (in short: pupilometry and fixation behaviour should be fine, but saccadometry will be a problem).

    Good luck!

  • edited 8:00AM

    Thank you very much @edwin!

    I'm trying to get budget to buy an EyeTribe tracker. I believe it will be the best solution according with my current conditions.

  • edited 8:00AM

    You can try http://sourceforge.net/projects/gazepointer/ it works with ordinary webcam

  • edited December 2017

    I am not sure if an ordinary webcam could solve your problem, but it seems to me that it's not quite possible without the help of other tool. I am not quite skillful at this, so I would like to know if you have solved that and hope to hear how it is solved.

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