Im looking for a qr code scanner only.

As you know the barcode scanner includes qr codes, which i find really bad if im trying to make an authentication app. I need an extension or a way to only recognize qr codes. Some authentication apps also manage to only recognize certain qr codes qhich im not sure how they do it (like discord which only looks for qr codes with their logo)