Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Eric Blade
@ericblade
probably better at some things than Quagga is
Eric Blade
@ericblade
woot woot i found the bug that causes you to have to not provide facingMode when also providing deviceId !
all thanks to Typescript telling me "hey this line doesn't make sense"
Eric Blade
@ericblade
now if i could just get the ts file to properly build... :-D
Malavos
@Malavos
@ericblade it is, I used the Firebase version for an iOs app. It rocked. But I used the Old Vision API for android. It's cool.
There are some things that are better, sure, but some (like the terms of use, lel) are not.
Eric Blade
@ericblade
... this test framework in quagga is so.. outdated.
Malavos
@Malavos
At least there is one! There are lot of open source JS/TS projects that has none.
:P
Eric Blade
@ericblade
well, i mean, it's helpful that it works, for sure, i'm doing a lot of work that without automated tests, i'd have just given up a long time ago
but it seems that it goes out of it's way to make a failing test difficult to debug
Eric Blade
@ericblade
fwiw, parallel processing with decodeSingle has been "patched" .. as in, it no longer allows it, but queues the requests to run in serial. At least it prevents incorrect results from coming out..
Eric Blade
@ericblade
Happy New Year!
Eric Blade
@ericblade
Eric Blade
@ericblade
huh. 42 downloads in one day from npm, and 10 unique clones off GitHub. I wonder if that's mostly bots or humans.
Dushko Stanoeski
@dushkostanoeski
Hey @ericblade I'm one of those 42 :D and I'm having an issue with the scanner... I have the scanner in a reusable dialog box (I'm using angular btw) that I call from anywhere in the app. The thing is that the very first scan is OK, but when I call it for a second time, it throws an undefined error and I do not know why.
Dushko Stanoeski
@dushkostanoeski
Turns out this happens only in a dialog, if I put the scanner on the page, it works fine... It probably has something to do with how angular loads the dialogs, but should that make no differece for the scanner?
romanseki
@romanseki
Hello I've incorporated Quaggajs successfully into my project however on iphone after init quagga open stream on whole screen and after the scan is complete and Quagga.stop() is called a black screen fills whole screen and doesn't close out. Any idea why please?
Eric Blade
@ericblade
i'd like to apologize to @dushkostanoeski and @romanseki .. i've been away from gitter for quite a while, and it doesn't look like we've reached a critical mass of traffic yet.
@dushkostanoeski I'm not familiar with Angular, but I highly suspect that it might be changing some things in the DOM, perhaps? would need more info about where and what the error is to try to better throw some ideas
@romanseki I think that's going to be all up to your code -- if you create a space for Quagga, you need to remove that space when you're not using it. Difficult to say without seeing the relevant HTML / JS ..
Eric Blade
@ericblade
typescript conversion of readers is still ongoing. still slow. still painful. will be worth it in the end. whenever that may be. :-D
Eric Blade
@ericblade
readers are mostly done. finally working on the main module now :-D
Eric Blade
@ericblade
boo-yah, parallel decoding finally working
Eric Blade
@ericblade
boo yah, 1.0.0. ::champagne::
Greg Morgan
@hype-armor
🍾
Eric Blade
@ericblade
@hype-armor yeah, that's what i was looking for. :-)
since we forked, we've got a major new feature (still not completely tested, not sure if adding new readers as plugin modules works with LiveStream mode), and a really major bug fix, and most of the code is now in typescript.
Eric Blade
@ericblade
If there is anyone @/all here who is really into developing tests, i've finally started to make the move on that that i've wanted to. I'd appreciate any feedback on the direction that i decided to try out, before it becomes too big of a project to change the direction
Eric Blade
@ericblade
the first commit is ericblade/quagga2#186
Eric Blade
@ericblade
holy cow, this is brilliant. the old tests for the most part just straight up import right into a new test runner.
well the unit tests do. haven't tried end-to-end yet
Eric Blade
@ericblade
hmm. looks like it all works except for the 'integration' and the 'camera-access' tests.
Eric Blade
@ericblade
new tests are live. i've just now discovered that there is a discrepency in functionality between node and browser, in that one of the tests (code_39) fails in node, but not in browser. very curious.
Eric Blade
@ericblade
image.png
well, as they say, "it ain't pretty" .. but it isn't the worst i've ever seen.
Eric Blade
@ericblade
wooow almost 1800 installs this week. that's a record.
Eric Blade
@ericblade
2540 by the end of last week :O
Charles Gehring
@charlesgehring
@ericblade Awesome news!
Eric Blade
@ericblade
i'm hoping that since i've done major work on typescript and testing, that changes are much more stable than they were when the project started. also, hello @charlesgehring
vcrmdeveloper
@vcrmdeveloper
Hi @christop Oberhofer
I am using this, https://serratus.github.io/quaggaJS/v1.0.0-beta.1/examples/scan-to-input/ and it works fine in Web, in ios and android the video stream is not loading
2020-06-16 11_51_21.26.png
vcrmdeveloper
@vcrmdeveloper
Can anyone suggest
Eric Blade
@ericblade
are you using that url from your mobile browser?
if you're using Chrome on Android or Safari on iOS, and accessing that URL, it's probably lack of camera permissions
for the app
if you're hosting your own url, is it https ?
Eric Blade
@ericblade
woo hoo someone that isn't me just got a major piece of work in :-)
sergiuds
@sergiuds
hey guys, how do I change the video aspect ratio to 16:9 instead of 4:3?