Skip to content

Releases: ericblade/quagga2

1.12.1

20 Dec 05:00
c124025

Choose a tag to compare

Bug Fixes

  • fix node decodeSIngle not working from 1.12.0 (#661)

1.12.0

16 Dec 06:33
f2c07b1

Choose a tag to compare

Add GS1 / FNC1 support to Code 128, Add Pharmacode support! Bug fixes and perf enhancements!

New Features

  • Add pharmacode_reader (#636)

Bug Fixes

  • Stop stripping unknown media constraints (only strip known deprecated ones) (#645)

    enumerateVideoDevices and init should now accept advanced: [ { zoom: 2 } ] if camera supports it, and things like that.
    it does still strip out the old facing, minAspectRatio and maxAspectRatio that are no longer available

  • In the rare instances where Exceptions are actually thrown (such as "Quagga failed to initialize"), whatever error message accompanying it actually comes back through the chain now (#642)

  • put ndarray-pixels back into node bundle, should prevent browser based apps from accidentally reporting that ndarray-pixels is not available (#659)

1.11.0

01 Dec 19:46
ee7ec97

Choose a tag to compare

New Features

  • add canvas.createOverlay config option (default: true, set false to disable built-in overlay canvas creation) (#609)

  • Add constraints parameter (optional) to CameraAccess.enumerateVideoDevices() (#610)

  • add area.borderColor, area.borderWidth, area.backgroundColor config options (#614)

    draws border or background tinting along area definitions

  • start() before init() throws an intentional error message, instead of a code error that doesn't make sense (#612)

  • Add Quagga.drawScannerArea (#630)

  • Add CameraAccess.getActiveStream (#634)

  • start() accepts same parameters as init() and implies an init() now then starts (#612)

Refactors

  • Refactor frame_grabber_browser to more accurately mirror how it's done in node, improving scanning accuracy in code_128 and code_32 readers in test suite (#585)

Bug Fixes

  • All image sizes and patch sizes and inputStream.size settings should work (#590)

    • Buffer sizes now calculated dynamically, and should be correctly loaded for asm.js use for the skeletonizer
  • ImageLoader (browser) can handle filenames with spaces and other special characters (#598)

  • Fix multiple offsets of box/boxes when using area: true and/or multiple: true (#605)

  • Fix calculatePatchSize returning null in unintended situations (#607)

    Fix #218: Cannot read property 'x' of null sometimes appears in logs

  • TypeScript defs: registerReader now should only take a Reader object or something that fits the interface, rather than "any object" (#611)

  • bump TLS version for simple-https-server a dev util from olden times (#627)

  • fix breakage introduced in an earlier change in this release that caused Image and Video inputs to not be visible (#629)

  • Move gl-matrix back to dependencies for typescript devs (#638)

  • cv_utils::_computeDivisors no longer introduces multiple duplicate divisors (#590)

    should be a little bit faster in some cases

  • ImageLoader Sequence mode can handle filenames with numbers > 999 (#598)

  • ImageLoader will no longer completely hang with no response at all if an image fails to load (#598)

1.10.2

18 Nov 06:41
cb0f007

Choose a tag to compare

No more asm.js console spam! A lot less other console spam!

Performance Improvements

  • fix Skeletonizer to run in asm.js again (#574)

  • Significantly reduce browser console spam (moved behind debug flags) (#574)

  • use Float32Array for glMatrix transforms instead of Array (#574)

1.10.1

16 Nov 20:11
e6c628b

Choose a tag to compare

Bug Fixes

  • fix possibly broken locate: false mode (#573)

1.10.0

16 Nov 18:56

Choose a tag to compare

New Features

  • Replace get-pixels with ndarray-pixels (#564)

Refactors

  • Remove Buffer type usage (#539)

Bug Fixes

  • Dependency upgrades (#568)

  • loading images from URLs will accept any 2xx status code (#564)

1.8.4

25 Oct 23:51
673183f

Choose a tag to compare

Bug Fixes

  • Attempt to fix #466, restoring missing data in onProcessed, particularly in multi mode (#520)

1.8.3

21 Oct 06:07
2155bf7

Choose a tag to compare

Bug Fixes

  • dependency upgrades (#515)

1.8.2

02 Jan 03:49
f4cd7f3

Choose a tag to compare

Bug Fixes

  • improve typings for readers in QuaggaJSConfig (#479)

1.8.1

26 Dec 21:15
0714928

Choose a tag to compare

Bug Fixes

  • disableTorch/enableTorch re-throw errors and warn on console if torch unsupported (#478)

  • thread initCanvas through more places (#478)