I'm trying to detect handwritten dates isolated in images.
In the cloud vision api, is there a way to give hints about type?
example: the only text present will be dd/mm/yy, d,m and y being digits
The only thing I found is language hints in the documentation.
Sometimes I get results that include letters like O instead of 0.

There is not a way to give hints about type but you can filter the output using client libraries. I downloaded
detect.pyandrequirements.txtfrom here and modifieddetect.py(in def detect_text, after line 283):Then I launched
detect.pyinside the virtual environment using this command line:And I got this:
There are few letters that can be mistaken for numbers, so using str.replace(“letter”,”number”) should solve the wrong identifications. I added the most common cases for this example.