We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6551779 commit 7744da9Copy full SHA for 7744da9
ccmain/tessedit.cpp
@@ -202,7 +202,9 @@ bool Tesseract::init_tesseract_lang_data(
202
// Load the unicharset
203
if (tessedit_ocr_engine_mode == OEM_LSTM_ONLY) {
204
// Avoid requiring a unicharset when we aren't running base tesseract.
205
+#ifndef ANDROID_BUILD
206
unicharset.CopyFrom(lstm_recognizer_->GetUnicharset());
207
+#endif
208
} else if (!tessdata_manager.SeekToStart(TESSDATA_UNICHARSET) ||
209
!unicharset.load_from_file(tessdata_manager.GetDataFilePtr())) {
210
return false;
0 commit comments