quadrangle | R Documentation |
The quadrangle package provides wrappers for two external libraries that read QR codes:
quirc
(C++ via Rcpp) and jsQR
(JavaScript via V8).
qr_scan
reads files or magick
objects and scans using both approaches.
qr_scan_cpp
wraps only the C++ library and tries some image manipulation algorithms if detection is initially unsuccessful.
qr_scan_js_from_corners
wraps only the JS library and tries some image manipulation algorithms (especially cropping) if detection is initially unsuccessful.
rcpp_qr_scan_array
takes a pixel brightness vector of raw
or integer
and passes it to the C++ library.
qr_scan_js_array
takes a 3D pixel array (RGBA, w, h) and passes it to the JS library.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.