Skip to content

How does the eye opening calculated? #5

@desti-nation

Description

@desti-nation

In Face.py

ud = left_eye_upper-left_eye_lower
ex = left_eye_upper1-left_eye_upper0
ex /= np.linalg.norm(ex)
ey = np.cross(np.array([0,0,1]),ex)
left_eye_opening = np.dot(ud,ey)

May I know what is the meaning of the above code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions