The Shape Detection API: a picture is worth a thousand words, faces, and barcodes
- What is the Shape Detection API?
- Suggested use cases
- Current status
- How to use the Shape Detection API
- Working with the BarcodeDetector
- Working with the FaceDetector
- Working with the TextDetector
- Feature detection
- Operating system support
- Best practices
- Feedback
- Tell us about the API design
- Problem with the implementation?
- Planning to use the API?
- Helpful links
Sharesubscribe
The Shape Detection API: a picture is worth a thousand words, faces, and barcodes
The Shape Detection API detects faces, barcodes, and text in images.
Jan 7, 2019 • Updated Feb 23, 2021
Thomas Steiner
This API is part of the new capabilities project. Barcode detection has launched in Chrome 83. Face and text detection are available behind a flag. This post will be updated as the Shape Detection API evolves.
What is the Shape Detection API? #
With APIs like navigator.mediaDevices.getUserMedia and the Chrome for Android photo picker, it has become fairly easy to capture images or live video data from device cameras, or to upload local images. So far, this dynamic image data—as well as static images on a page—has not been accessible by code, even though images may actually contain a lot of interesting features such as [...]