Skip to content

1.11.0

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 19:46
ee7ec97

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)