0

I'm using Google Vision API to recognize text from an image. It works usually fine but if the text contains closing curly braces } it is almost always ignored. There is no problem with the opening curly braces { on the same image.

For example the following input (in image format):

{
    line1 
    {
        line2
    }
    line3
}
line4

Results the following:

{
    line1 
    {
        line2
    line3
line4

I'm using DOCUMENT_TEXT_DETECTION

Any idea?

Vmxes
  • 2,329
  • 2
  • 19
  • 34

0 Answers0