Skip to content

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

@keredra

Description

@keredra
System information (version)
  • OpenCV => Tested with 4.5.5, 4.5.3, 4.4.0, 3.4.15
  • Operating System / Platform => Windows 64 Bit / Android 10
  • Compiler => Visual Studio 2017/2015
Detailed description

QRCodeDetector fails with partial visible QRCode.

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

I would rather expect a "not found" than an exception.

Steps to reproduce

Run QRCodeDetector with the following image:
qrcode

Here is a better one to reproduce:
qrcode2

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions