mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-12 21:21:42 +08:00
@@ -567,7 +567,7 @@ that node does not support web-workers out of the box. Therefore the config
|
|||||||
property `numOfWorkers` must be explicitly set to `0`.
|
property `numOfWorkers` must be explicitly set to `0`.
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
var Quagga = require('quagga');
|
var Quagga = require('quagga').default;
|
||||||
|
|
||||||
Quagga.decodeSingle({
|
Quagga.decodeSingle({
|
||||||
src: "image-abc-123.jpg",
|
src: "image-abc-123.jpg",
|
||||||
|
|||||||
Reference in New Issue
Block a user