Skip to content

divide by 0 in align_custom.py #46

Description

@BabuTango

this is the points(landmarks): [108 124 108 106 119 19 22 32 41 44]

this line, abs(points[1] - points[2]) / abs(points[0] - points[2]) > 2:
throws RuntimeWarning: divide by zero encountered in long_scalars, because [0] and [2] are same, subtracting them results in 0.

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