Skip to content

Bug: remove_components crash #149

Closed
@cleong110

Description

@cleong110

Introduced by me in #148 .

https://github.com/sign-language-processing/pose/blob/master/src/python/pose_format/pose.py#L221 this line incorrectly assumes that all the components are in the points_dict. So if you call it with remove_components([], points_to_remove={"POSE_LANDMARKS":[]}) it crashes, because FACE_LANDMARKS is not in there!

Working on a PR and test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions