mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-13 05:31:37 +08:00
Update README.md
Removed `callback` param from the `init` function.
This commit is contained in:
@@ -46,10 +46,9 @@ by simply typing:
|
|||||||
You can check out the [examples](http://serratus.github.io/quaggaJS/examples) to get an idea of how to use QuaggaJS.
|
You can check out the [examples](http://serratus.github.io/quaggaJS/examples) to get an idea of how to use QuaggaJS.
|
||||||
Basically the library exposes the following API:
|
Basically the library exposes the following API:
|
||||||
|
|
||||||
### Quagga.init(config, callback)
|
### Quagga.init(config)
|
||||||
|
|
||||||
This method initializes the library for a given configuration (see below) and a function which is called
|
This method initializes the library for a given configuration (see below) which also includes a callback function (`readyFunc`) which is called when Quagga is ready to start. The initialization process also requests for camera access if real-time
|
||||||
when the loading-process has finished. The initialization process also requests for camera access if real-time
|
|
||||||
detection is configured.
|
detection is configured.
|
||||||
|
|
||||||
### Quagga.start()
|
### Quagga.start()
|
||||||
|
|||||||
Reference in New Issue
Block a user