Skip to content

On concern of threshold in config file  #40

@BaophanN

Description

@BaophanN

Dear author, you defined the below threshold:

SQUARED_DISTANCE_THRESH = 0.000277778  # 10 pixel in 600*600 image
DIRECTION_ANGLE_THRESH = 0.5235987755982988  # 30 degree in rad

VSLOT_MIN_DIST = 0.044771278151623496
VSLOT_MAX_DIST = 0.1099427457599304
HSLOT_MIN_DIST = 0.15057789144568634
HSLOT_MAX_DIST = 0.44449496544202816

SHORT_SEPARATOR_LENGTH = 0.199519231
LONG_SEPARATOR_LENGTH = 0.46875

I understand that SQUARED_DISTANCE_THRESH = 0.000277778 = (10x10) / (600x600) means the smallest distance for 2 points to be distinguishable is 0.000277778. I want to know that how the remaining numbers are computed? Where does VSLOT_MIN_DIST = 0.044771278151623496 come from? Thank you

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