Search
  • Oscar Fraxedas

OCR in Xamarin with Azure Computer Vision


I needed to add OCR capabilities to an application I've been developing for a while. A while back I saw an azure computer vision demo, and I wanted to try it out.


Their API is quite simple and well documented: https://westus.dev.cognitive.microsoft.com/docs/services/5adf991815e1060e6355ad44/operations/56f91f2e778daf14a499e1fa


There’s also nugget package which will speed up your development time: https://www.nuget.org/packages/Microsoft.Azure.CognitiveServices.Vision.ComputerVision/


I was able to build a proof of concept in an hour. It was nothing fancy, just a Xamarin Forms app that captures a photo using the https://www.nuget.org/packages/Xam.Plugin.Media/ and sends the stream to Azure for OCR.


You can find the code in GitHub: https://github.com/fraxedas/OCR

The application looks like this: https://www.youtube.com/watch?


83 views

©2018 by Lean Cycle Inc