Batteries
Scan
Accent
Scheme
Backdrop motion
Batteries

Scan

scan.read finds the barcodes and QR codes in a picture. The browser's own detector does it where there is one; Mote's reader, in wasm in a worker, does it everywhere else.
scan.readAn image in, {format, text}[] out: qr_code, ean_13, ean_8, code_128, code_39, itf. A UPC-A is an ean_13 with a 0 in front.
A picture of a code
Or your ownDrop a PNG or JPEG here, or pick one.
Use the browser's readerscan.read(picture): BarcodeDetector where there is one
scan-qr1.png
The picture being read
Reading…

The two readers

Both on the picture chosen above.
Both readersMote's reader is the same on every browser; the browser's may know more formats, or not exist (iOS Safari, Firefox, desktop Safari), where scan.read falls back by itself.
Mote's reader{native: false}
Reading…
scan.read(picture)the browser's, else Mote's
Reading…
Turned, blurred, smallThe same picture through img first, then Mote's reader: see how far it can go before the code is lost.
Turn
Blurradius 0
Size100%
Reading…
The camera element reads codes live with the same battery: see Media, under Elements.
esc
Pages
StartStart
Buttons & badgesComponents
Cards & disclosureComponents
Dialogs & drawersComponents
Menus & commandsComponents
Dates & tablesComponents
ChartsComponents
Chart galleryComponents
FieldsComponents
ChoicesComponents
DisplayComponents
NavigationComponents
Popovers & sheetsComponents
MessagesChat & AI
Prompt inputChat & AI
Reasoning & toolsChat & AI
Developer partsChat & AI
ConversationChat & AI
Code artifactsChat & AI
VoiceChat & AI
Code blocksChat & AI
MarkdownChat & AI
EditorElements
TerminalElements
FlowElements
3D boxesElements
PaintElements
SurfaceElements
MediaElements
IconsElements
PrimitivesElements
SQLBatteries
StorageBatteries
Net & resourcesBatteries
Crypto & bytesBatteries
ZipBatteries
TablesBatteries
PDFBatteries
TimeBatteries
ImagesBatteries
ScanBatteries
Video & audioBatteries
SearchBatteries
SyntaxBatteries
PatternsBatteries
NotifyBatteries
ShareBatteries
State & logicLanguage
WorkersLanguage
Events & elementsLanguage
StylingLanguage
RoutesLanguage
ShortcutsLanguage
Long listsLanguage
Failures & tryLanguage
Back endBack end
Models & writesBack end
Rules & failuresBack end
Jobs & schedulesBack end
Running itBack end
ExtensionsBack end
AIBack end
AnalyticsBack end
AboutAbout
↑↓move
↵open
676 places · ranked by BM25