ORIGINAL REDDIT POST

Want to find/make a program to zoom in where my eyes are looking using my webcam

I have poor eyesight and keep my monitor a bit far away from me to help with posture and stuff, but programming and the like can get really hard whenever I'm reading small text, I want to find/create a program that uses my webcam to look where my eyes are…

Original postr/software

I have poor eyesight and keep my monitor a bit far away from me to help with posture and stuff, but programming and the like can get really hard whenever I'm reading small text, I want to find/create a program that uses my webcam to look where my eyes are looking and zoom in that portion of the screen. basically like that one thing people use on twitch to show where they are looking, but instead of just a visual bubble, that portion of the screen is magnified to help with strain. (it is called Tobii eye tracking) does anyone know how I could do this or if it exists? I've looked all over and cant really find anything :/

Collected discussion

2 comments

u/cakemates

I dont know of any program like that yet, but as a programmer you could make one yourself. There has to be a few libraries out there that do 70% of the work then you can add the zoom ability. example of a random github https://github.com/antoinelame/GazeTracking

u/ElEspecialista655821

I don’t know of a reliable webcam-only app that does this well today. The practical path is usually: use a gaze/head-tracking library like MediaPipe or GazeTracking, map the gaze point to a screen region, render a magnified overlay/viewport, add a keyboard shortcut fallback for when tracking drifts. If you want something already mature, Tobii eye tracking is the closest option, but it’s hardware-based. Webcam-only gaze estimation is doable, just expect calibration work and imperfect accuracy.