Skip to content

QRDetect::searchHorizontalLines() boundary condition will skip the matched qrcode near the end #20880

@flytogcp

Description

@flytogcp

in function:
vector QRDetect::searchHorizontalLines()

should change line:
for (size_t i = 2; i < pixels_position.size() - 4; i+=2)

to be:

for (size_t i = 2; i < pixels_position.size() - 2; i+=2)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions