pperle / gaze-tracking-pipeline

full camera-to-screen gaze tracking pipeline
88 stars 25 forks source link

Duplicated Code #7

Open cancan101 opened 1 year ago

cancan101 commented 1 year ago

This code in main.py: https://github.com/pperle/gaze-tracking-pipeline/blob/be33d7e9c83d45842348bd9abded243055e8ab11/main.py#L550-L557

seems duplicated in this call: https://github.com/pperle/gaze-tracking-pipeline/blob/be33d7e9c83d45842348bd9abded243055e8ab11/main.py#L565 here: https://github.com/pperle/gaze-tracking-pipeline/blob/be33d7e9c83d45842348bd9abded243055e8ab11/utils.py#L78-L84

with the only difference being the main call smooths the face_landmarks.

Is this intentional?