I think the most common way is to illuminate an object with a point source of light and use a bright specular illumination on the cornea to find the eyeball. Then the location of the pupil relative to the backlight gives you direction. To simplify image processing, you use IR LEDs and an IR monochrome camera.
, 2D " ", , , , .