Improved versions of the examples-pages. Now including the possibility to switch between Code128 and EAN.

This commit is contained in:
Christoph Oberhofer
2014-11-04 21:28:14 +01:00
parent 5e4c3aeb55
commit d806d48b0f
10 changed files with 152 additions and 52 deletions
+9 -2
View File
@@ -22,11 +22,18 @@
<section id="container" class="container">
<h3>The user's camera</h3>
<p>If your platform supports the <strong>getUserMedia</strong> API call, you can try the real-time locating and decoding features.
Simply allow the page to access your web-cam and point it to a barcode encoded with <strong>Code128</strong>.
Simply allow the page to access your web-cam and point it to a barcode. You can switch between <strong>Code128</strong>
and <strong>EAN</strong> to test different scenarios.
It works best if your camera has built-in auto-focus.
</p>
<div class="controls">
<button class="next">Start/Continue</button>
<fieldset class="reader-group">
<label>Code128</label>
<input type="radio" name="reader" value="code_128" checked />
<label>EAN</label>
<input type="radio" name="reader" value="ean" />
</fieldset>
<br clear="all" />
</div>
<div id="result_strip">
<ul class="thumbnails"></ul>