Skip to content

DetectorCascade is awkward to initialize #66

@danielvarga

Description

@danielvarga

DetectorCascade.imageWidth/imgHeight/imgWidthStep initialization has to happen before DetectorCascade::init() calls, through writing into public members. Turning them into init() arguments would be cleaner software design IMHO. But what really made my missing initialization hard to spot was that this line was commented out:

https://github.com/gnebehay/OpenTLD/blob/master/src/libopentld/tld/DetectorCascade.cpp#L85

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