question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TextRecognitionResult is not found in Version 6

See original GitHub issue

I am using Microsoft.Azure.CognitiveServices.Vision.ComputerVision.ComputerVisionClient to call BatchReadFileInStreamAsync. I then call results = await client.GetReadOperationResultAsync(operationId); Which contains an IList<TextRecognitionResult>.

I upgraded Microsoft.Azure.CognitiveServices.Vision.ComputerVision, from Version=5.0.0, to Version= 6.0.0.

The TextRecognitionResult is not found after upgrade.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
oleksantcommented, Jan 12, 2021

Any updates on this issue?

Do we have any migration guide for 5.0.0->6.0.0?

The following items were changed to fix the errors on my side:

  1. BatchReadFileInStreamAsync -> ReadInStreamAsync
  2. GetReadOperationResultAsync -> GetReadResultAsync
  3. TextOperationStatusCodes -> OperationStatusCodes
  4. RecognitionResults -> AnalyzeResult.ReadResults

Can you please help me out identifying if these changes have the same runtime behavior?

0reactions
timcthocommented, Nov 29, 2021

The underlying model will be different, as starting from 6.0.0 it’s using v3 Read API, which has much better performance than before. Usages are very similar, except slightly difference in result schema, detailed as below.

[GetReadOperationResultAsync] https://westus.dev.cognitive.microsoft.com/docs/services/5adf991815e1060e6355ad44/operations/5be108e7498a4f9ed20bf96d

[GetReadResultAsync] https://centraluseuap.dev.cognitive.microsoft.com/docs/services/computer-vision-v3-2/operations/5d9869604be85dee480c8750

Read more comments on GitHub >

github_iconTop Results From Across the Web

Google Text Recognition Error Android Studio - ocr
I have done everything described there but still I am getting error. This is what I have in my gradle file: implementation 'com.google.android....
Read more >
Recognize text in images with ML Kit on Android
You can use ML Kit to recognize text in images or video, such as the text of a street sign. The main characteristics...
Read more >
Getting framework(MLVision/MLVisionTextModel) not ...
Hi, I am working on integration firebase ML vision kit without using the cocoa pods: I am getting below error when adding SDK ......
Read more >
Why is text recognition deprecated?? - Vuforia
@Vuforia-Strasza - The question is "Why" is it deprecated, not is it still usable in the current release. I'm looking at AR solution...
Read more >
OCRExtractRelative not finding green and pink boxes
Hello, I am using the “OCRExtractRelative” command but am running into the following error: Here is the image: Anyone know what the issue...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found