- Future changelogs will be posted to the github releases page
- Forked to @ericblade/quagga2
- Significantly decrease npm package size by not adding files that were not needed
- Clarify iOS support in documentation
- Updated typescript typings
- drawRect accepts style.lineWidth
- Improvements
- added
muted
andplaysinline
to<video/>
to make it work for Safari 11 Beta (even iOS)
- added
- Fixes
- Features
- Support for Standard 2of5 barcodes (See #194)
- Support for Code 93 barcodes (See #194)
- Exposing
Quagga.CameraAccess.getActiveTrack()
to get access to the currently usedMediaStreamTrack
- Example can be viewed here: example/live_w_locator.js and a demo
Take a look at the release-notes ( 0.12.0)
- Improvements
- Exposing
CameraAccess
module to get access to methods likeenumerateVideoDevices
andgetActiveStreamLabel
(seeexample/live_w_locator
) - Update to webpack 2.2 (API is still unstable)
- Exposing
- Fixes
- Fixed
facingMode
issue with Chrome >= 53 (see #128)
- Fixed
- Features
- Proper handling of EXIF orientation when using
Quagga.decodeSingle
(see #121)
- Proper handling of EXIF orientation when using
- Features
- EAN-13 extended codes can now be decoded (See #71)
Take a look at the release-notes ( 0.11.0)
- Improvements
- Reducing false-positives for Code 128 barcodes ( addresses #104)
Take a look at the release-notes ( 0.10.0)
- Internal Changes
- Restructuring into meaningful folders
- Removing debug-code in production build
Take a look at the release-notes ( 0.9.0)
- Fixes
- Fixed inconsistencies for Code 128 decoding (See #76)
- Fixes
- Fixed inconsistency in Code 39 decoding
- added inline-source-map to quagga.js file
Take a look at the release-notes ([0.8.0] (https://github.com/serratus/quaggaJS/releases/tag/v0.8.0))
- Improvements
- Replaced RequireJS with webpack
Take a look at the release-notes ([0.7.0] (https://github.com/serratus/quaggaJS/releases/tag/v0.7.0))
- Features
- Added basic support for running QuaggaJS inside node (see [example] (#node-example))
- Improvements
- Added support for Internet Explorer (only Edge+ supports
getUserMedia
)
- Added support for Internet Explorer (only Edge+ supports
- Improvements
- Added
offProcessed
andoffDetected
methods for detaching event- listeners from the event-queue.
- Added
- Features
- Added basic support for [ITF][i2of5_wiki] barcodes (
i2of5_reader
)
- Added basic support for [ITF][i2of5_wiki] barcodes (
- Improvements
- Parameter tweaking to reduce false-positives significantly (for the entire EAN and UPC family)
- Fixing bug in parity check for UPC-E codes
- Fixing bug in alignment for EAN-8 codes
- Improvements
- Added
err
parameter to Quagga.init() callback function
- Added
- Features
- Added
singleChannel
configuration toinputStream
(in [config] (#configobject)) - Added
ResultCollector
functionality (see [ResultCollector] (#resultcollector))
- Added
- Improvements
- Added
format
property tocodeResult
(in result)
- Added
- Improvements
- Added fixes for
Code39Reader
(trailing whitespace was missing)
- Added fixes for
- Features
- Introduced the
area
property - Ability to define a rectangle where localization/decoding should be applied
- Introduced the
- Improvements
- Making EAN and UPC readers even more restrictive
- Added example using requirejs
- Improvements
- Making EAN and UPC readers more restrictive
- Added integration-tests for all barcode-readers
- Improvements
- Odd image dimensions no longer cause problems
- Features
- Added support for [UPC-A and UPC-E][upc_wiki] barcodes
- Added support for [EAN-8][ean_8_wiki] barcodes
- Improvements
- Added extended configuration to the live-video example
- Releasing resources when calling
Quagga.stop()
- Improvements
- Added extended configuration to the file-input example
- Configurable
patchSize
for better adjustment to small/medium/large barcodes
- Features
- Added support for [Codabar][codabar_wiki] barcodes
- Improvements
- now includes minified version (23.3KB gzipped)
- No need for configuration of script-name any more
- Improvements
- removed dependency on async.js
- Features
- Added support for [Code 39][code39_wiki] barcodes
- Features
- Added support for web-worker (using 4 workers as default, can be changed
through
config.numOfWorkers
) - Due to the way how web-workers are created, the name of the script file
(
config.scriptName
) should be kept in sync with your actual filename - Removed canvas-overlay for decoding (boxes & scanline) which can now be easily implemented using the existing API (see example)
- Added support for web-worker (using 4 workers as default, can be changed
through
- API Changes
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) - Added
Quagga.onProcessed(callback)
which provides a way to get information for each image processed. The callback receives the samedata
object asQuagga.onDetected
does. Depending on the success of the process thedata
object might not contain anyresultCode
and/orbox
properties.
- The