mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-13 13:51:37 +08:00
194: Added basic support for 2of5 barcodes; fixed integration-tests
This commit is contained in:
@@ -14,7 +14,7 @@ function waitForVideo(video) {
|
||||
|
||||
function checkVideo() {
|
||||
if (attempts > 0) {
|
||||
if (video.videoWidth > 0 && video.videoHeight > 0) {
|
||||
if (video.videoWidth > 10 && video.videoHeight > 10) {
|
||||
if (ENV.development) {
|
||||
console.log(video.videoWidth + "px x " + video.videoHeight + "px");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user