Here is my code
String DATA_PATH = Environment.getExternalStorageDirectory().toString() + "/VIVA/";
TessBaseAPI baseApi = new TessBaseAPI();
baseApi.setDebug(true);
//baseApi.init(DATA_PATH, lang);
baseApi.init(DATA_PATH, "eng");
baseApi.setImage(bmp);
String recognizedText = baseApi.getUTF8Text();
baseApi.end();
Log.i("OCRED TEXT 2: " + recognizedText, "hello");
When I debug it, debugger stops after this line " TessBaseAPI baseApi = new TessBaseAPI();" There are no errors logged in log cat, But it opens target invocation exception class.
I have my training data in tessdata folder in assets,I have copied that data into Google glass SD card in onCreate() method.
I have compiled tess-two project using ndk-build and have generated .so files.
What is it that I am missing?