Two ways to scan
Image mode: drop a screenshot, photo, or PDF page into the upload area. Camera mode: grant camera access and point at the code — the reader samples frames continuously until it finds a code. Both modes use the same jsQR decoder, which handles damaged codes, rotated codes, and partial-frame codes well.