CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 22:57:16 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/opencv/opencv.git
etag: W/"f117768745a19cbd19decd6b094afb84"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=DH17yOPjoCTvQzVfFQy5PjNCM%2BjPYfOkXtFs1SvQtYCb7xbq7Phdk1CAUlJgM7ydcjGx0%2BbsS8qqS82LIJLWsHU7h%2BBfsUhywMIwS91wtwYxpTQDkOVTGvNUGwwReVNEJ2EBYP34f%2F%2Fmdqcd%2FuCveY37QSbrVYOid5VVVJ6oEHC7%2FwA7fddX5JmyifKc4VALZ1HwETCAv9C%2BQb6ve%2BkoOCW%2BREq6I3gL9cu8894FiA6TU3WqF3trNAOjSdNbdoSPJ8t2TWbMPGn2yOW9lR%2B8qw%3D%3D--WtaU8bNJzu8hXvHY--xdpuhmavZ7PZ4B09gbmekw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1846584790.1753225036; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 22:57:16 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 22:57:16 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: EBB0:271430:19F793:237353:6880174C
Merge pull request #24364 from bagelbytes61:bugfix/qrcode-version-est… · opencv/opencv@fad0dbb · GitHub
Copy file name to clipboardExpand all lines: modules/objdetect/src/qrcode_encoder.cpp
Copy file name to clipboardExpand all lines: modules/objdetect/test/test_qrcode_encode.cpp
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 56.2k
Commit fad0dbb
authored
Merge pull request #24364 from bagelbytes61:bugfix/qrcode-version-estimator
Bugfix/qrcode version estimator #24364
Fixes #24366
### Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake1 parent 8c10545 commit fad0dbbCopy full SHA for fad0dbb
File tree
Expand file treeCollapse file tree
2 files changed
+137
-56
lines changedFilter options
- modules/objdetect
- src
- test
Expand file treeCollapse file tree
2 files changed
+137
-56
lines changedmodules/objdetect/src/qrcode_encoder.cpp
Copy file name to clipboardExpand all lines: modules/objdetect/src/qrcode_encoder.cpp+119-56Lines changed: 119 additions & 56 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
196 | 196 |
| |
197 | 197 |
| |
198 | 198 |
| |
199 |
| - | |
200 |
| - | |
| 199 | + | |
| 200 | + | |
201 | 201 |
| |
202 |
| - | |
203 |
| - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
204 | 205 |
| |
205 | 206 |
| |
206 | 207 |
| |
207 | 208 |
| |
208 | 209 |
| |
209 |
| - | |
| 210 | + | |
210 | 211 |
| |
211 | 212 |
| |
212 | 213 |
| |
| |||
222 | 223 |
| |
223 | 224 |
| |
224 | 225 |
| |
225 |
| - | |
| 226 | + | |
226 | 227 |
| |
227 |
| - | |
| 228 | + | |
228 | 229 |
| |
229 | 230 |
| |
230 | 231 |
| |
| |||
247 | 248 |
| |
248 | 249 |
| |
249 | 250 |
| |
250 |
| - | |
| 251 | + | |
251 | 252 |
| |
252 | 253 |
| |
253 | 254 |
| |
254 | 255 |
| |
255 | 256 |
| |
256 |
| - | |
| 257 | + | |
257 | 258 |
| |
258 |
| - | |
259 |
| - | |
260 |
| - | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
261 | 262 |
| |
262 | 263 |
| |
263 | 264 |
| |
| |||
268 | 269 |
| |
269 | 270 |
| |
270 | 271 |
| |
271 |
| - | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
272 | 289 |
| |
273 | 290 |
| |
274 |
| - | |
275 |
| - | |
276 |
| - | |
277 |
| - | |
278 |
| - | |
279 |
| - | |
280 |
| - | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
281 | 295 |
| |
282 |
| - | |
283 |
| - | |
| 296 | + | |
284 | 297 |
| |
285 |
| - | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
286 | 302 |
| |
287 |
| - | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
288 | 306 |
| |
289 |
| - | |
| 307 | + | |
| 308 | + | |
290 | 309 |
| |
291 |
| - | |
292 |
| - | |
| 310 | + | |
293 | 311 |
| |
294 |
| - | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
295 | 316 |
| |
296 |
| - | |
| 317 | + | |
297 | 318 |
| |
| 319 | + | |
298 | 320 |
| |
299 | 321 |
| |
300 | 322 |
| |
301 | 323 |
| |
302 | 324 |
| |
303 |
| - | |
304 |
| - | |
305 |
| - | |
306 | 325 |
| |
307 |
| - | |
308 |
| - | |
309 |
| - | |
310 |
| - | |
| 326 | + | |
| 327 | + | |
311 | 328 |
| |
312 |
| - | |
313 |
| - | |
314 |
| - | |
315 |
| - | |
316 |
| - | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
317 | 332 |
| |
| 333 | + | |
| 334 | + | |
| 335 | + | |
318 | 336 |
| |
319 | 337 |
| |
320 | 338 |
| |
| |||
342 | 360 |
| |
343 | 361 |
| |
344 | 362 |
| |
| 363 | + | |
345 | 364 |
| |
346 |
| - | |
347 |
| - | |
348 |
| - | |
349 |
| - | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
350 | 371 |
| |
351 | 372 |
| |
352 | 373 |
| |
353 | 374 |
| |
354 | 375 |
| |
355 | 376 |
| |
356 |
| - | |
357 |
| - | |
358 |
| - | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
359 | 380 |
| |
360 | 381 |
| |
361 | 382 |
| |
| |||
613 | 634 |
| |
614 | 635 |
| |
615 | 636 |
| |
616 |
| - | |
| 637 | + | |
617 | 638 |
| |
618 | 639 |
| |
619 | 640 |
| |
| |||
623 | 644 |
| |
624 | 645 |
| |
625 | 646 |
| |
626 |
| - | |
| 647 | + | |
627 | 648 |
| |
628 | 649 |
| |
629 | 650 |
| |
| |||
633 | 654 |
| |
634 | 655 |
| |
635 | 656 |
| |
636 |
| - | |
| 657 | + | |
637 | 658 |
| |
638 | 659 |
| |
639 |
| - | |
640 |
| - | |
641 |
| - | |
642 |
| - | |
643 |
| - | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
644 | 707 |
| |
645 | 708 |
| |
646 | 709 |
| |
|
modules/objdetect/test/test_qrcode_encode.cpp
Copy file name to clipboardExpand all lines: modules/objdetect/test/test_qrcode_encode.cpp+18Lines changed: 18 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
548 | 548 |
| |
549 | 549 |
| |
550 | 550 |
| |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
551 | 569 |
|
You can’t perform that action at this time.
0 commit comments