Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 04:25

    ericblade on 2.0

    major reflow (wip) for type def… extract binarizeImage from barc… (compare)

  • Oct 06 08:59

    ericblade on 2.0

    topGeneric => .ts topGeneric now typescript (compare)

  • Oct 06 08:34

    ericblade on 2.0

    webpack configs => .ts webpack configuration now types… (compare)

  • Oct 06 07:43

    ericblade on 2.0

    base64ToArrayBuffer => .ts, exi… objectURLToBlob => .ts add types and 4 more (compare)

  • Sep 30 05:47

    ericblade on 2.0

    exif_helper.ts => exif/index.ts fix exif_helper spec (compare)

  • Sep 25 18:14
    ericblade commented #438
  • Sep 24 14:18
    jnm2 commented #32
  • Sep 24 14:12
    jnm2 commented #32
  • Sep 23 22:32
    TonyKhorouzan commented #438
  • Sep 23 15:00
  • Sep 23 14:58
  • Sep 23 07:57

    github-actions[bot] on 1.7.4

    (compare)

  • Sep 23 07:55

    ericblade on dev

    (compare)

  • Sep 23 07:55

    ericblade on master

    webpack: stop producing sourcem… Merge pull request #456 from er… (compare)

  • Sep 23 07:55
    ericblade closed #456
  • Sep 23 07:53
    rollingversions[bot] commented #456
  • Sep 23 07:52
    rollingversions[bot] commented #456
  • Sep 23 07:52
    ericblade opened #456
  • Sep 23 07:52

    ericblade on dev

    webpack: stop producing sourcem… (compare)

  • Sep 23 07:45

    ericblade on 2.0

    CameraAccess: another attempt t… Merge pull request #447 from er… fix #449: integration tests now… and 3 more (compare)

Eric Blade
@ericblade
hmm. i don't think i know enough about webpack to be able to describe the problem accurately. my company pays people to develop our webpack setup :-D
jimsmits19
@jimsmits19
Hello, first, thanks so much for creating and maintaining this project. I am new to QuaggaJS and just set up my first proof of concept. Unfortunately, I am getting poor results. The green box takes a long time to recognize a barcode, and when it does it spits out garbled text as opposed to what is actually encoded on the barcode. I can post my code and sample barcodes if it will help -- I am mostly wondering if there is any obvious error on my end or if anyone else has had this experience.
Eric Blade
@ericblade

hey @jimsmits19 sorry i haven't been around here the last .. several.. days. have been busy elsewhere :-)

Sure, code and samples help. Might be helpful to know what sort of hardware you're trying to use with, as well, I've been completely unable to get, for example, my PC's webcam to recognize anything at all, no matter what settings I try to use. My laptop occasionally has results. But for the most part, I only really have success with a cell camera.

Eric Blade
@ericblade
happy holidays to all :)
Eric Blade
@ericblade
fwiw, i've done a bunch of stuff with the qr test thing.. and while it still doesn't work in browser, it does provide a jumping off point for some pretty interesting improvements
Eric Blade
@ericblade
Aha! Got it!
Eric Blade
@ericblade
very close to having "official" qrcode support using jsQR . working in node and browser tests, just need to get it to work in browser when numWorkers > 0
Eric Blade
@ericblade
added quagga2-reader-qr to gitter activity
decodeSingle() works in node and browser (with numWorkers == 0) now. going to move the issue about numWorkers from that repo to the main
Eric Blade
@ericblade
0.0.8 released, add utility method to get RGBA data out of an ImageWrapper, and fix code error in loadImages wrt giving it bad image data
Eric Blade
@ericblade
well, that's probably it for my flurry of activity on it this week :-) though in the back of my mind, i'm working on how to solve that issue with numWorkers.
I really do want to get QR working fully, and then implement a reader for OCR. I know none of that has anything to do with barcodes, but I think that Quagga can make a good interface to any kind of image recognition, not just barcodes, but I don't want to tack the non-barcode stuff into the main
the last thing i want to do in my main app code is "if no barcode found, then run QR recognition, if no QR found, then run OCR" .. that's better done in this layer.
Eric Blade
@ericblade
well, i do have some bad news, in that i have now validated that the bug that prevents multiple simultaneous decodes is most definitely real, and appears to be pretty serious
Eric Blade
@ericblade
It may require a major version bump to address.
Eric Blade
@ericblade
image.png
that feels like a freakin achievement
Eric Blade
@ericblade
why did no one upgrade decodeSingle() to use a Promise :-D
Eric Blade
@ericblade
yep that's a nice improvement. makes the qr reader tiny
Eric Blade
@ericblade
crossing fingers for webpack v4 upgrade to work
Malavos
@Malavos
Amem to that!
I ended up stop using Quagga, Google Vision worked pretty well for me. But I'm looking forward to keep checking on the updates!
Eric Blade
@ericblade
@Malavos aww. I just looked at that ... "The Mobile Vision API is now a part of ML Kit. We strongly encourage you to try it out, as it comes with new capabilities like on-device image labeling! Also, note that we ultimately plan to wind down the Mobile Vision API, with all new on-device ML capabilities released via ML Kit. Feel free to reach out to Firebase support for help."
this looks like it would be interesting for phonegap/cordova users ... https://github.com/Ratsoc/cordova-plugin-google-mobile-vision-barcode-scanner#readme
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
🍾