diff --git a/README.md b/README.md index 0e1b1dc8..244066ea 100644 --- a/README.md +++ b/README.md @@ -164,3 +164,6 @@ The above copyright notice and this permission notice shall be included in all c THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +![SarXos](https://raw.github.com/sarxos/webcam-capture/master/sarxos.png "SarXos") + + diff --git a/sarxos.png b/sarxos.png new file mode 100644 index 00000000..c80562f8 Binary files /dev/null and b/sarxos.png differ diff --git a/webcam-capture-examples/webcam-capture-qrcode/README.md b/webcam-capture-examples/webcam-capture-qrcode/README.md index 9354007c..5d612604 100644 --- a/webcam-capture-examples/webcam-capture-qrcode/README.md +++ b/webcam-capture-examples/webcam-capture-qrcode/README.md @@ -6,7 +6,10 @@ This example show how to read QR codes with Webcam Capture. This example show how to process QR codes with your webcam using [Webcam Capture](https://github.com/sarxos/webcam-capture) -project together with [ZXing](https://github.com/zxing/zxing) library. +project together with [ZXing](https://github.com/zxing/zxing) library. + +Demo showing how it is working is **[available](http://youtu.be/JLUJWgveEco)** +on YouTube. ### Screenshoots: @@ -24,6 +27,14 @@ to the web page from where I took my QR code example. ![QR Code Example Application](https://raw.github.com/sarxos/webcam-capture/master/webcam-capture-examples/webcam-capture-qrcode/src/etc/resources/qrcode-zxing.png "QR Code Example Application") +Some other QR codes: + +![QR Code 2](https://raw.github.com/sarxos/webcam-capture/master/webcam-capture-examples/webcam-capture-qrcode/src/etc/resources/qrcode2.jpg "QR Code 2") +![QR Code 3](https://raw.github.com/sarxos/webcam-capture/master/webcam-capture-examples/webcam-capture-qrcode/src/etc/resources/qrcode3.jpg "QR Code 3") +![QR Code 4](https://raw.github.com/sarxos/webcam-capture/master/webcam-capture-examples/webcam-capture-qrcode/src/etc/resources/qrcode4.jpg "QR Code 4") +![QR Code 5](https://raw.github.com/sarxos/webcam-capture/master/webcam-capture-examples/webcam-capture-qrcode/src/etc/resources/qrcode5.jpg "QR Code 5") +![QR Code 6](https://raw.github.com/sarxos/webcam-capture/master/webcam-capture-examples/webcam-capture-qrcode/src/etc/resources/qrcode6.jpg "QR Code 6") + ## License Copyright (C) 2012 Bartosz Firyn diff --git a/webcam-capture-examples/webcam-capture-qrcode/src/etc/resources/grcode4.jpg b/webcam-capture-examples/webcam-capture-qrcode/src/etc/resources/grcode4.jpg new file mode 100644 index 00000000..2b60a7a0 Binary files /dev/null and b/webcam-capture-examples/webcam-capture-qrcode/src/etc/resources/grcode4.jpg differ diff --git a/webcam-capture-examples/webcam-capture-qrcode/src/etc/resources/qrcode2.jpg b/webcam-capture-examples/webcam-capture-qrcode/src/etc/resources/qrcode2.jpg new file mode 100644 index 00000000..17286415 Binary files /dev/null and b/webcam-capture-examples/webcam-capture-qrcode/src/etc/resources/qrcode2.jpg differ diff --git a/webcam-capture-examples/webcam-capture-qrcode/src/etc/resources/qrcode3.jpg b/webcam-capture-examples/webcam-capture-qrcode/src/etc/resources/qrcode3.jpg new file mode 100644 index 00000000..2a508ed6 Binary files /dev/null and b/webcam-capture-examples/webcam-capture-qrcode/src/etc/resources/qrcode3.jpg differ diff --git a/webcam-capture-examples/webcam-capture-qrcode/src/etc/resources/qrcode5.jpg b/webcam-capture-examples/webcam-capture-qrcode/src/etc/resources/qrcode5.jpg new file mode 100644 index 00000000..5bb9a387 Binary files /dev/null and b/webcam-capture-examples/webcam-capture-qrcode/src/etc/resources/qrcode5.jpg differ diff --git a/webcam-capture-examples/webcam-capture-qrcode/src/etc/resources/qrcode6.jpg b/webcam-capture-examples/webcam-capture-qrcode/src/etc/resources/qrcode6.jpg new file mode 100644 index 00000000..f8438ef6 Binary files /dev/null and b/webcam-capture-examples/webcam-capture-qrcode/src/etc/resources/qrcode6.jpg differ diff --git a/webcam-capture-examples/webcam-capture-qrcode/src/main/java/com/github/sarxos/webcam/WebcamQRCodeExample.java b/webcam-capture-examples/webcam-capture-qrcode/src/main/java/com/github/sarxos/webcam/WebcamQRCodeExample.java index 99975f5b..473b7d25 100644 --- a/webcam-capture-examples/webcam-capture-qrcode/src/main/java/com/github/sarxos/webcam/WebcamQRCodeExample.java +++ b/webcam-capture-examples/webcam-capture-qrcode/src/main/java/com/github/sarxos/webcam/WebcamQRCodeExample.java @@ -36,7 +36,7 @@ public WebcamQRCodeExample() { setTitle("Read QR Code With Webcam"); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); - webcam = Webcam.getDefault(); + webcam = Webcam.getWebcams().get(0); webcam.setViewSize(WebcamDefaultDevice.SIZE_QVGA); panel = new WebcamPanel(webcam);