Releases: teckel12/vue-barcode-reader
Releases · teckel12/vue-barcode-reader
v1.1.7
v1.1.6
v1.1.5
v1.1.4
v1.1.3
v1.1.2
v1.1.1
v1.1.0
- Adds option to cycle through the available cameras (if more than one camera is available)
- New emitted value
videoDevices
, which is an array of camera devices available to the browser (can be used to select the desired camera device viadeviceIndex
prop) - New emitted value
cameraDetails
, which is a dump of the camera device details (useful for debugging) - New prop
deviceIndex
which can be used to select the index of the camera device to use (get the camera device array from thevideoDevices
emitted value) - Demo updated to show additional features
- Various bug fixes and enhancements
Initial fork with new features and bug fixes
New Features & Bug Fixes
- Fixes ZXing library version issue causing scanning to be very slow.
- On startup, the library searches all available rear-facing cameras to find the most ideal camera for barcode scanning, preferrably one with torch (flash) and autofocus. It also saves this ideal camera to local storage for faster startup on repeat scans.
- Adds the ability to activate the torch (camera flash), which can yield higher barcode scanning speed and accuracy.
- Ability to set orientation to landscape mode, this can also increase the scanning speed and accuracy as there's more pixels in the landscape orientation.
- Ability to control the camera zoom (if camera device reports the user is allowed to set the zoom).
- Ability to switch between autofocus and manual focus mode (defaults to autofocus mode if available).
- Ability to set the focus distance (if in manual focus mode and camera device supports the feature).