mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-12 21:21:42 +08:00
Added functionality to pause processing without disconnecting the camera-stream
This commit is contained in:
Vendored
+3
@@ -7641,6 +7641,9 @@ function(Code128Reader, EANReader, InputStream, ImageWrapper, BarcodeLocator, Ba
|
||||
CameraAccess.release();
|
||||
}
|
||||
},
|
||||
pause: function() {
|
||||
_stopped = true;
|
||||
},
|
||||
onDetected : function(callback) {
|
||||
Events.subscribe("detected", callback);
|
||||
},
|
||||
|
||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user