1
votes

when using the Microsoft.ProjectOxford.Vision nuget, and calling RecognizeTextAsync(stream), I get "input data is not a valid image" error back.

The sample repo using xamarin android can be found here

1

1 Answers

2
votes

You need to reset the stream before sending it with:

request.ImageStream.Seek(0, SeekOrigin.Begin);