mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Merge pull request #22030 from Kumataro:3.4-fix22029
* objdetect: qrcode_encoder: fix to missing timing pattern * objdetect: qrcode_encoder: Add SCOPED_TRACE() and replace CV_Assert() to ASSERT_EQ(). - Add SCOPED_TRACE() for version loop. - Replace CV_Assert() to ASSERT_EQ(). - Rename expect_msg to msg.
This commit is contained in:
@@ -975,7 +975,7 @@ void QRCodeEncoderImpl::writeReservedArea()
|
||||
original.at<uint8_t>(x, y) = INVALID_REGION_VALUE;
|
||||
if (version_level >= 7)
|
||||
{
|
||||
for (int i = 0; i <= 6; i++)
|
||||
for (int i = 0; i <= 5; i++)
|
||||
{
|
||||
for (int j = version_size - 11; j <= version_size - 8; j++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user