Skip to content

Add Face Size To Fitness #6

@ghost

Description

Add size of face to fitness, thereby favouring larger faces. For example, line 343 could be changed from
"this.fitness = comp[0].confidence;"
to
"this.fitness = comp[0].confidence * ((comp[0].width * comp[0].height) / (CANVAS_SIZE * CANVAS_SIZE));"
This would scale the fitness based on the size of the face, thereby favouring larger faces with the same score as smaller faces. There is probably a better way to implement this.

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