Howdy, Stranger!

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

Supported by

Mirametrix S2

edited July 2015 in PyGaze

Hi.
I'm just beginning to work with the eyetracker Mirametrix S2, OpenSesame and PyGaze. The PyGaze website is incredible and I'm also trying to learn a bit of Python. Thus, sorry for the noob question...
Does PyGaze works with Mirametrix S2? If not, how hard it would be to make it work?
Thanks!

Comments

  • edited 11:52PM

    Hi, and welcome to the forum!

    As it currently stands, PyGaze only supports EyeLink, EyeTribe, SMI and Tobii devices. So no Mirametrix, I'm afraid.

    There is a general recipe for adding new trackers, though. So if you're up for a programming challenge, you could attempt to write a library for any tracker. Follow the steps below:

    1. Make sure that the tracker you would like to use can be commanded via Python. That is: there should either be a Python API (meaning that you can make the tracker do stuff by calling Python functions), or a DLL with functions that can make the tracker do stuff. In the case of a DLL, you can use the Python module ctypes to call DLL functions from within Python.

    2. Find the general format for PyGaze eye tracker classes. This lists all functions that you need to code for your specific tracker.

    3. Have a look at the currently existing classes; they can serve as great examples. For examples that uses a Python API to communicate with the tracker, refer to the EyeLink and Tobii classes. For an example that uses a DLL to communicate with the tracker, refer to the SMI class. For an example of something in between (a general API that can be used via Python), refer to the PyTribe class.

    4. Start writing your own library, e.g. libmirametrix.py with a class called MiraMetrixTracker. This should include all functions from the basic tracker class (see point 2), which you will have to write yourself (so that they work with your tracker).

    5. For general guidance, please do refer to this forum. GitHub is also a good resource: you can put your code on there, and we can comment on it.

    6. After writing your class, please do not forget to share it with us. We can include it in PyGaze, so it can benefit others. You will, of course, be appropriately credited!

    Sorry I can't be more helpful on the actual implementation: I'm not familiar with the MiraMetrix platform, and do not have one of their trackers present to test your code on.

    Good luck!

    Edwin

  • Hello, I'm not a programmer so I don't think I'd be up for this challenge (but I appreciate the info!). It has been a number of years since this question was posted...I was wondering if anyone has adapted PyGaze to be compatible with MiraMetrix S2 at this point?
    Thanks!

  • Hello.

    Anyone have any possible solution to run PyGaze with Mirametrix S2?

    Thanks

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