Skip to content

QRCodeDetector - Seed point is outside of image in function 'cv::floodFill' #24011

@jqwudlb

Description

@jqwudlb

System Information

OpenCV python version: 4.8.0.74
Operating System: Windows 10 22H1
Python version: 3.11.4

Detailed description

QRCodeDetector detectAndDecodeMulti fails when there is a transition with QR codes.
I would have expected a "not detected" or "unable to decode" rather than an exception.

A similar issue was reported and fixed for v4.8.0. #21532

floodfill.cpp:522: error: (-211:One of the arguments' values is out of range) Seed point is outside of image in function 'cv::floodFill'

Steps to reproduce

floodfillerror_813

Run QRCodeDectector.detectAndDecodeMulti() with this image.

Issue submission checklist

  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
  • I updated to the latest OpenCV version and the issue is still there
  • There is reproducer code and related data files (videos, images, onnx, etc)

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions