<div dir="auto">I've thought about this myself, although not seriously. At one point, I even considered buying a monitor with eye-tracking built in :).<div dir="auto"><br></div><div dir="auto">There's a commercial eye-tracking product from Tobii aimed at gamers, and my instinct is that starting from a purpose-built eye-tracker would work much better than using a webcam or Kinect. However, it seems the Tobii product is fundamentally limited to one monitor at a time and only has unofficial Linux support.</div><div dir="auto"><br></div><div dir="auto">If you do make something work, I'd love to hear about it.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 20, 2020, 12:24 Ivan Perez <<a href="mailto:ivanperezdominguez@gmail.com">ivanperezdominguez@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi all</div><div><br></div><div>In case it's useful, the following two projects I built a few years ago might help:</div><div><br></div><div>Kinect control for the  game Haskanoid:</div><div><br></div><div><a href="https://github.com/ivanperez-keera/haskanoid/blob/develop/src/Input.hs#L237-L280" target="_blank" rel="noreferrer">https://github.com/ivanperez-keera/haskanoid/blob/develop/src/Input.hs#L237-L280</a></div><div><br></div><div>Webcam-based face position/distance detection module for a posture monitor:</div><div><br></div><div><a href="https://github.com/keera-studios/keera-posture/blob/develop/src/AI/CV/PostureProcessors.hs#L40" target="_blank" rel="noreferrer">https://github.com/keera-studios/keera-posture/blob/develop/src/AI/CV/PostureProcessors.hs#L40</a></div><div><br></div><div>Either method could achieve something like what you want. I'd recommend playing with having the kinect/webcam in different positions (not just between the monitors, and potentially even slightly to the right of the rightmost monitor, or to the left of the leftmost one).<br></div><div><br></div><div>I never managed to make eye detection work on Kinect. I heard the very latest version of the kinect (under development in 2017) was able to detect eye movement well, but never tried it myself. It would have been a cool accessibility feature for haskanoid.</div><div><br></div><div>All the best,</div><div><br></div><div>Ivan<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 20 Nov 2020 at 14:10, John Z. <<a href="mailto:johnz@pleasantnightmare.com" target="_blank" rel="noreferrer">johnz@pleasantnightmare.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Don't have a ready solution, but this is such an interesting idea since I<br>
have same setup. I might try a toy weekend project using a random kinect<br>
I have lying around.<br>
<br>
<br>
> Hello,<br>
> <br>
> I'm using xmonad in a setup with 3 monitors and I'm curious if anybody<br>
> here got kind of eyes-based navigation working between monitors/workspaces.<br>
> <br>
> Explanation: I need to type into windows on different monitors but in<br>
> not specific order. Sometime I got too deep into thinking that I forget<br>
> to switch workspace and then I type to different window in different<br>
> workspace than is intended (and which I see with eyes). Basically I'd<br>
> like some mode where xmonad will switch workspaces based on my eye/head<br>
> position so only workspace I follow with eyes will be active.<br>
> <br>
> I see that such software (following head/eyes) already exist in AI<br>
> domain (E.g. NV's xavier NX developer kit demo: from 16:00:<br>
> <a href="https://www.youtube.com/watch?v=aUz1bNGm04w" rel="noreferrer noreferrer" target="_blank">https://www.youtube.com/watch?v=aUz1bNGm04w</a>) but I'm more interested in<br>
> amd64/linux setup as this is for my workstation...<br>
> <br>
> Any idea highly appreciated!<br>
> <br>
> Thanks!<br>
> Karel<br>
> _______________________________________________<br>
> Haskell-Cafe mailing list<br>
> To (un)subscribe, modify options or view archives go to:<br>
> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
> Only members subscribed via the mailman list are allowed to post.<br>
<br>
-- <br>
John Z.<br>
"Its too bad she won't live... but then again, who does?"<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div>