forked from trent_larson/crowd-funder-for-time-pwa
feat(qr-scanner): implement WebInlineQRScanner with jsQR integration
- Add jsQR library for QR code detection and scanning - Implement WebInlineQRScanner class with comprehensive camera handling - Add detailed logging throughout scanner lifecycle - Include error handling and cleanup procedures - Add blur detection for QR codes - Implement FPS throttling for performance optimization - Add device compatibility checks and permission handling The scanner now provides: - Camera stream management - QR code detection with blur prevention - Performance optimized scanning (15 FPS target) - Detailed logging for debugging - Proper cleanup of resources
This commit is contained in:
6
package-lock.json
generated
6
package-lock.json
generated
@@ -57,6 +57,7 @@
|
||||
"jdenticon": "^3.2.0",
|
||||
"js-generate-password": "^0.1.9",
|
||||
"js-yaml": "^4.1.0",
|
||||
"jsqr": "^1.4.0",
|
||||
"leaflet": "^1.9.4",
|
||||
"localstorage-slim": "^2.7.0",
|
||||
"lru-cache": "^10.2.0",
|
||||
@@ -17734,6 +17735,11 @@
|
||||
"node": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/jsqr": {
|
||||
"version": "1.4.0",
|
||||
"resolved": "https://registry.npmjs.org/jsqr/-/jsqr-1.4.0.tgz",
|
||||
"integrity": "sha512-dxLob7q65Xg2DvstYkRpkYtmKm2sPJ9oFhrhmudT1dZvNFFTlroai3AWSpLey/w5vMcLBXRgOJsbXpdN9HzU/A=="
|
||||
},
|
||||
"node_modules/katex": {
|
||||
"version": "0.16.22",
|
||||
"resolved": "https://registry.npmjs.org/katex/-/katex-0.16.22.tgz",
|
||||
|
||||
Reference in New Issue
Block a user