Cloud Development Kit

Text candidates


I am using the Process Text recognition and below is an example of a textInput that I am passing through, but only 1 candidate is ever returned?

Can I specify the size of the candidate list or does it depend on the strokes? No matter how much I squiggle only 1 candidate seems to be returned even if it resembles more than one word.


Thank you for your help

1 Comment

Dear Jane,
Yes if you choose 'Text' as 'resultDetail' parameter, you can increase the candidate list (set to one candidate by default) as mentioned in 'Recognition types' chapter of the cloud documentation:

"textParameter": {"resultDetail": "TEXT"}
"textProperties": {"textCandidateListSize": 4}

Best regards

Login or Signup to post a comment