Reputation: 1092
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
Upvotes: 1
Views: 1213
Reputation: 1092
You need to reset the stream before sending it with:
request.ImageStream.Seek(0, SeekOrigin.Begin);
Upvotes: 2