halkar / Tesseract.Xamarin

Tesseract OCR wrapper for Xamarin
MIT License
121 stars 40 forks source link

SetWhitelist throws a NullReferenceException #12

Closed molinch closed 8 years ago

molinch commented 8 years ago

First all thanks for your amazing work... It's really impressive what you did. With latest version from Nuget SetWhitelist throws a NullReferenceException.

Code sample:

TesseractApi api = new TesseractApi();
api.SetWhitelist("ACDFMN123456789");
molinch commented 8 years ago

Don't worry I looked in the code and saw that Init() should be performed before calling other methods :)

halkar commented 8 years ago

In fact this is an issue. I should give more information about API actual state.