Text Detection API
With the Text Detection API, you can detect text regions in images and videos.
Demo
- Open the Chrome browser on your computer. Type
chrome://flagsin the URL bar and enable the #enable-experimental-web-platform-features flag. Then restart your browser. - Upload an image that contains text.Choose file...
- Check out the code of the demo below!
Limitations of the Text Detection API
The Text Detector interface of the Shape Detection API is an experimental feature that can identify text within images and videos. However, it currently works only in Chrome and Edge and requires the Experimental Web Platform features flag to be enabled. Also while this API can detect text regions, it cannot extract the actual text content from those regions on its own.
Code
Links & Documentation
Unlock the powers of the web today
Try our PWA toolkit free of charge and without limits for 14 days. No credit card required.
Get started See plans