From c77b03d4c5d7b43a2139082441b839545876d7ad Mon Sep 17 00:00:00 2001 From: Christoph Oberhofer Date: Thu, 22 Jan 2015 21:00:17 +0100 Subject: [PATCH] Changed readme --- index.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.md b/index.md index ff1aa3f..69142b0 100644 --- a/index.md +++ b/index.md @@ -249,7 +249,10 @@ In case you want to take a deeper dive into the inner workings of Quagga, get to In the course of implementing web-workers some breaking changes were introduced to the API. - The `Quagga.init` function no longer receives the callback as part of the config but rather as a second argument: `Quagga.init(config, cb)` - The callback to `Quagga.onDetected` now receives an object containing much more information in addition to the decoded code. (see [data](#resultobject)) - + - Added `Quagga.onProcessed(callback)` which provides a way to get information for each image processed. + The callback receives the same `data` object as `Quagga.onDetected` does. Depending on the success of the process the `data` object + might not contain any `resultCode` and/or `box` properties. + [zxing_github]: https://github.com/zxing/zxing [teaser_left]: {{ site.baseurl }}/assets/mobile-located.jpg [teaser_right]: {{ site.baseurl }}/assets/mobile-detected.jpg