Skip to content

Optimize skin classifier #15

@felipelerena

Description

@felipelerena

I'm looking at the _classify_skin method. (https://github.com/hhatto/nude.py/blob/master/nude.py#L283) I think there is a big waste of processing here since it returns rgb_classifier or norm_rgb_classifier or hsv_classifier or ycbcr_classifier. It seams useless to calculate the next classifier if the previous is True.

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