Skip to content

Browser APIs

Experimental and shipping web platform APIs for detecting faces, barcodes, and shapes in camera streams or images.

Source

In this section

PageAPI
Shape DetectionWICG spec — faces, barcodes, text in live/still images
Barcode Detection APIBarcodeDetector interface
Browser BarcodeDetect API using ImageImage-based scanning example

Browser support notes

  • Barcode Detection is Chromium-first; check BarcodeDetector availability before shipping
  • Prefer HTTPS + user gesture for camera access
  • Fallback to ML Kit on native mobile

Curated technical notes — open source on GitHub