chillerlan-qrcode-detector.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Documentation</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <base href="../">
  8. <link rel="icon" href="images/favicon.ico"/>
  9. <link rel="stylesheet" href="css/normalize.css">
  10. <link rel="stylesheet" href="css/base.css">
  11. <link rel="preconnect" href="https://fonts.gstatic.com">
  12. <link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
  13. <link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
  14. <link rel="stylesheet" href="css/template.css">
  15. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
  16. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
  17. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
  18. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
  19. <script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
  20. <script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
  21. <script src="js/search.js"></script>
  22. <script defer src="js/searchIndex.js"></script>
  23. </head>
  24. <body id="top">
  25. <header class="phpdocumentor-header phpdocumentor-section">
  26. <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
  27. <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
  28. <label class="phpdocumentor-header__menu-icon" for="menu-button">
  29. <i class="fas fa-bars"></i>
  30. </label>
  31. <section data-search-form class="phpdocumentor-search">
  32. <label>
  33. <span class="visually-hidden">Search for</span>
  34. <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  35. <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
  36. <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
  37. </svg>
  38. <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
  39. </label>
  40. </section>
  41. <nav class="phpdocumentor-topnav">
  42. <ul class="phpdocumentor-topnav__menu">
  43. </ul>
  44. </nav>
  45. </header>
  46. <main class="phpdocumentor">
  47. <div class="phpdocumentor-section">
  48. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  49. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  50. Menu
  51. </label>
  52. <aside class="phpdocumentor-column -four phpdocumentor-sidebar">
  53. <section class="phpdocumentor-sidebar__category">
  54. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  55. <h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/chillerlan.html">chillerlan</a></h4>
  56. <ul class="phpdocumentor-list">
  57. <li>
  58. <a href="namespaces/chillerlan-qrcode.html">QRCode</a>
  59. </li>
  60. <li>
  61. <a href="namespaces/chillerlan-qrcodetest.html">QRCodeTest</a>
  62. </li>
  63. </ul>
  64. </section>
  65. <section class="phpdocumentor-sidebar__category">
  66. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  67. <h4 class="phpdocumentor-sidebar__root-namespace"><a href="packages/Application.html">Application</a></h4>
  68. </section>
  69. <section class="phpdocumentor-sidebar__category">
  70. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  71. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  72. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  73. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  74. </section>
  75. <section class="phpdocumentor-sidebar__category">
  76. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  77. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  78. </section>
  79. </aside>
  80. <div class="phpdocumentor-column -eight phpdocumentor-content">
  81. <ul class="phpdocumentor-breadcrumbs">
  82. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  83. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode.html">QRCode</a></li>
  84. </ul>
  85. <article class="phpdocumentor-element -namespace">
  86. <h2 class="phpdocumentor-content__title">Detector</h2>
  87. <h3 id="interfaces_class_traits">
  88. Interfaces, Classes and Traits
  89. <a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
  90. </h3>
  91. <dl class="phpdocumentor-table-of-contents">
  92. <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/chillerlan-QRCode-Detector-AlignmentPattern.html"><abbr title="\chillerlan\QRCode\Detector\AlignmentPattern">AlignmentPattern</abbr></a></dt>
  93. <dd>&lt;p&gt;Encapsulates an alignment pattern, which are the smaller square patterns found in
  94. all but the simplest QR Codes.&lt;/p&gt;</dd>
  95. <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/chillerlan-QRCode-Detector-AlignmentPatternFinder.html"><abbr title="\chillerlan\QRCode\Detector\AlignmentPatternFinder">AlignmentPatternFinder</abbr></a></dt>
  96. <dd>&lt;p&gt;This class attempts to find alignment patterns in a QR Code. Alignment patterns look like finder
  97. patterns but are smaller and appear at regular intervals throughout the image.&lt;/p&gt;</dd>
  98. <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/chillerlan-QRCode-Detector-Detector.html"><abbr title="\chillerlan\QRCode\Detector\Detector">Detector</abbr></a></dt>
  99. <dd>&lt;p&gt;Encapsulates logic that can detect a QR Code in an image, even if the QR Code
  100. is rotated or skewed, or partially obscured.&lt;/p&gt;</dd>
  101. <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/chillerlan-QRCode-Detector-FinderPattern.html"><abbr title="\chillerlan\QRCode\Detector\FinderPattern">FinderPattern</abbr></a></dt>
  102. <dd>&lt;p&gt;Encapsulates a finder pattern, which are the three square patterns found in
  103. the corners of QR Codes. It also encapsulates a count of similar finder patterns,
  104. as a convenience to the finder&#039;s bookkeeping.&lt;/p&gt;</dd>
  105. <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/chillerlan-QRCode-Detector-FinderPatternFinder.html"><abbr title="\chillerlan\QRCode\Detector\FinderPatternFinder">FinderPatternFinder</abbr></a></dt>
  106. <dd>&lt;p&gt;This class attempts to find finder patterns in a QR Code. Finder patterns are the square
  107. markers at three corners of a QR Code.&lt;/p&gt;</dd>
  108. <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/chillerlan-QRCode-Detector-GridSampler.html"><abbr title="\chillerlan\QRCode\Detector\GridSampler">GridSampler</abbr></a></dt>
  109. <dd>Implementations of this class can, given locations of finder patterns for a QR code in an
  110. image, sample the right points in the image to reconstruct the QR code, accounting for
  111. perspective distortion. It is abstracted since it is relatively expensive and should be allowed
  112. to take advantage of platform-specific optimized implementations, like Sun&#039;s Java Advanced
  113. Imaging library, but which may not be available in other environments such as J2ME, and vice
  114. versa.</dd>
  115. <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/chillerlan-QRCode-Detector-PerspectiveTransform.html"><abbr title="\chillerlan\QRCode\Detector\PerspectiveTransform">PerspectiveTransform</abbr></a></dt>
  116. <dd>&lt;p&gt;This class implements a perspective transform in two dimensions. Given four source and four
  117. destination points, it will compute the transformation implied between them. The code is based
  118. directly upon section 3.4.2 of George Wolberg&#039;s &quot;Digital Image Warping&quot;; see pages 54-56.&lt;/p&gt;</dd>
  119. <dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/chillerlan-QRCode-Detector-ResultPoint.html"><abbr title="\chillerlan\QRCode\Detector\ResultPoint">ResultPoint</abbr></a></dt>
  120. <dd>&lt;p&gt;Encapsulates a point of interest in an image containing a barcode. Typically, this
  121. would be the location of a finder pattern or the corner of the barcode, for example.&lt;/p&gt;</dd>
  122. </dl>
  123. </article>
  124. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  125. <section class="phpdocumentor-search-results__dialog">
  126. <header class="phpdocumentor-search-results__header">
  127. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  128. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  129. </header>
  130. <section class="phpdocumentor-search-results__body">
  131. <ul class="phpdocumentor-search-results__entries"></ul>
  132. </section>
  133. </section>
  134. </section>
  135. </div>
  136. </div>
  137. <a href="namespaces/chillerlan-qrcode-detector.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  138. </main>
  139. <script>
  140. cssVars({});
  141. </script>
  142. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  143. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  144. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  145. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  146. </body>
  147. </html>