Candidate API
Scanner Playground
Try preset card handlers, edit the JavaScript, and see how the applet can fit into your own page. This playground keeps everything local in your browser: apply a handler, then scan a card.
Scan settings
Waiting for cards…
Card handler JavaScript
Start with the Scryfall example, or change the rows, logs, and fetches to fit your own page.
async function onCardScanned(card, mygui) {
}
Try this: choose a preset, click Load preset, then scan a card. The examples are starting points—edit them freely.
card.cardIdis the confirmed CollectorVision card id.card.scoreis the match confidence.mygui.bounceCard()adds one bouncing image per scan.- The handler runs only on your device; refreshing restores your saved code.
Detected cards will appear here.