PSLscore

From eye landmarks to an explained profile

Four corners, two reference points

Inner means toward the nose; outer means toward the temple. Eye corners use MediaPipe landmarks 33/133 and 362/263; iris centers use 468/473. These points define the 2D photo geometry.

Coordinates and signs

After image orientation is applied, image coordinates use x right and y down; calculation uses q=(x, −y). Let v=outer−inner and h be the unit vector from photo-left to photo-right iris center in this coordinate system. Then u=(−h.y,h.x) points upward.

angle = atan2(v · u, |v · h|) × 180 / π

The absolute horizontal projection gives both eyes the same sign meaning: positive means the outer corner is higher under the iris reference. The result labels left and right by their positions in the photo.

The shared iris reference

The iris-center line provides the horizontal reference. Gaze, head pose and perspective affect this line and the measured angles. Use a clear frontal photo with both eyes visible and a relaxed expression.

Landmark Tolerance Analysis

E = asin(2r / L) + asin(4 / D)

Convert E to degrees. L is eye width in pixels and D is iris-center distance. The analysis page uses r=2 pixels for each corner; iris reference points also use 2 pixels. Endpoints round outward to 0.1°. A range crossing zero prompts a point check. This range describes placement sensitivity; pose and lens effects are addressed separately through photo guidance.

Eye width below 80 pixels, iris-center distance below 160 pixels, sensitivity over 5° or an angle over 30° triggers a photo-quality hint. A clearer original with visible corners provides more detail for comparison.

How measurements become an eye type

eye-profile-v1 uses the two current canthal angles and the average eye height-to-width ratio. Each eye uses its upper and lower lid-margin landmarks divided by corner-to-corner width. The same labels and rules appear in analysis and reports.

Shape labels follow fixed outline rules: Hunter-like uses mean tilt ≥ 2° and eye height/width ≤ 0.29; almond-like uses mean tilt ≥ −1° and height/width ≤ 0.35. Opposite side angles beyond ±1° take priority as contrasting directions. Otherwise, mean tilt above +1°, below −1°, or between them selects upturned, downturned, or level-leaning. With only corner measurements, the profile uses direction alone. Hunter-like and almond-like describe resemblance from tilt and aperture; eyelid exposure and socket depth are not inputs. PSL and the four scores continue to use their existing model curves.

These fixed outline rules describe resemblance from tilt and aperture. They are separate from the score model's reference curves. Brow-eye distance, upper-lid exposure and socket depth are not inputs to this version.

The displayed label follows the current values. We also check angle and aperture ranges against type boundaries and show a boundary note when the label can change. Opposite directions are checked before averaging into a shape label; unavailable aperture data uses a direction-only profile.

Same tilt. Different eye shapes.

Privacy and refresh

Photos and landmarks are processed locally in your browser memory. Model assets load on demand. Refreshing or clearing discards the working session immediately.

Open the eye-angle tool