Forum Libraries, Components, and Plugins

Is it Possible to Use Computer Vision Api Offline?

Hello, there.

I would like to know if there is any way to use Azure Computer Vision but without depending on internet connection. I am developing a Xamarin Cross Platform App that makes use of OCR Functionality. This App will not have Internet connection everytime so, I require to do a solution that can perform OCR without internet connection.
So far, I have not found any solution or documentation about this.

Any help would be appreciated.

Regards.

Jovan.

Answers

  • ColeXColeX Member, Xamarin Team Xamurai

    Take a look at Xamarin.Tesseract , it is a wrapper for Tesseract OCR library. For Android tess-two is used and for iOS implementation from gali8 (v.4.0.0) is used.

    usage

    //Android
    TesseractApi api = new TesseractApi (context, AssetsDeployment.OncePerVersion);
    //iOS
    TesseractApi api = new TesseractApi ();
    await api.Init ("eng");
    await api.SetImage("image_path");
    string text = api.Text;
    

    Xamarin forums are migrating to a new home on Microsoft Q&A!
    We invite you to post new questions in the Xamarin forums’ new home on Microsoft Q&A!
    For more information, please refer to this sticky post.

Sign In or Register to comment.