WICG / shape-detection-api

Detection of shapes (faces, QR codes) in images
https://wicg.github.io/shape-detection-api
Other
303 stars 35 forks source link

Add language(s) hint to TextDetector's detect function #56

Open tomayac opened 5 years ago

tomayac commented 5 years ago

OCR libraries like Tesseract tend to work better if the input language is known. I would thus suggest to add a language(s) hint option to the detect function of the TextDetector.

tomayac commented 5 years ago

The UA's native implementation obviously might or might not use (or even support) the provided hint.