qrencoder icon indicating copy to clipboard operation
qrencoder copied to clipboard

Can it read?

Open zx8754 opened this issue 7 years ago • 3 comments

Looking at this SO post: https://stackoverflow.com/questions/49382712/is-there-a-package-in-r-for-reading-qr-codes

Found your package: https://stackoverflow.com/a/31775858/680068

Maybe feature?

zx8754 avatar Mar 20 '18 11:03 zx8754

I'll keep this open, but the current embedded C library doesn't do "reading" but there are some smaller ones that may work. I added a suggestion to the SO question for the time being.

hrbrmstr avatar Mar 24 '18 13:03 hrbrmstr

I commented on issue #4 about generating QR codes, and now I have them out in the wild for one of our research projects!

IMG_0001

One of my projects this summer is to read these images' metadata and push them into a database. I looked into trying to call the ZBar C library from within R, but ended up using a pipeline with reticulate and pyzbar (which is itself calling ZBar but from within Python), and then passing the barcode data into R for additional processing.

Do you think it's worth the effort to port over a library like that and cut out the Python middleman? To reduce dependencies I think I'd prefer that, but I'm not sure how to even get started with doing it. I've found lots of tips for writing new C functions and calling them, or building a package with Rcpp, but not taking a complex library and wrapping it with R functions.

Thanks!

brianwdavis avatar May 16 '19 17:05 brianwdavis

The opencv package now has a qr code reader: https://docs.ropensci.org/opencv/reference/qrcode.html

jeroen avatar Nov 08 '23 10:11 jeroen