this is the public api for the barcode scanning functions
functions to handle the actual barcode scanning
functions to handle the actual qrcode scanning