Skip to content

What does apply_offsets do? #7

@Shadow1356

Description

@Shadow1356

x1, x2, y1, y2 = apply_offsets(face_coordinates, emotion_offsets)

The line above applies a pre-defined offset to each detected face region before sending it through the emotion detector. When I was trying this out, it would often move the region off of the face and even cause the program to error out (and hit the try/catch). What is the reason why this is here? I'm not an expert in face detection by any means, but this seems wrong to me. Please correct me if I'm wrong.

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