I don't build training, and I excluded fileio, following the path of Robyer ( https://github.com/adaptech-cz/Tesseract4Android/commit/7852e08fa51ae1461883e5cf1dc858d531bb21c2 <https://github.com/adaptech-cz/Tesseract4Android/commit/7852e08fa51ae1461883e5cf1dc858d531bb21c2#diff-16b026ff106542a182c401fa1682156c> ).
This said, to setup and run ndk-build on any supported platform (Linux, Windows, MacOS) is IMHO easier than to use docker. BR, Alex On Tuesday, July 30, 2019 at 3:05:52 PM UTC+3, René Hansen wrote: > > A bit late to the party here, but I've just pushed changes that update > build configs for tesseract 4 in https://github.com/rhardih/bad. > > It now supports building 4.0.0 *and* 4.1.0. I've tested both versions on > x86, armv7-a and arm64-v8a. All seems to be working just fine. > > I'm using the default build tools of the project and *mostly* unmodified > sources based on the official releases of the main repo. Relevant cmake > command here: > > > https://github.com/rhardih/bad/blob/master/tesseract/tesseract-4.0.0.Dockerfile#L40 > > One thing to note however; I've had to replace some code that relied on > glob.h, which isn't available if you want to build for Android 6.0. At > least afaik. > > See the diff here: > > > https://github.com/tesseract-ocr/tesseract/compare/4.1.0...rhardih:4.1.0-rhardih > > It seems fileio.h is only used in training, so perhaps this change isn't > even needed if there's a way to avoid building the training stuff, when > building for Android. > > Can anyone give me any pointers on that? > > In any case, would it be worthwhile mentioning > https://github.com/rhardih/bad in the wiki as an alternate means of > building for Android and all you want is .so files? > > > /René > > > On Sun, 28 Jul 2019 at 17:28, Alex Cohn <sash...@gmail.com <javascript:>> > wrote: > >> It's there, in >> https://github.com/tesseract-ocr/tesseract/wiki/Compiling#android >> >> On Sun, 28 Jul 2019, 17:11 Shree Devi Kumar, <shree...@gmail.com >> <javascript:>> wrote: >> >>> Thanks. Please add the info to Tesseract wiki page also. >>> >>> On Sun, 28 Jul 2019, 18:42 Alex Cohn, <sash...@gmail.com <javascript:>> >>> wrote: >>> >>>> Hi everybody, >>>> >>>> I am proud to announce Android support for the new 4.1.0 version of >>>> tesseract OCR engine. This repo [1] includes both 3.05 and 4.1 branches, >>>> and lets you painlessly build a static command-line binary. In addition, >>>> it >>>> builds the Java binding, so *libtress *and *liblept *can be used from >>>> Java code of your app. >>>> >>>> This release is different from the desktop. E.g., instead of adding >>>> *libtiff*, I provide a dummy *DebugPixa* class. >>>> >>>> I welcome comments and reviews, as well as more careful testing. >>>> >>>> Enjoy, >>>> Alex >>>> >>>> [1] https://github.com/alexcohn/tess-two/tree/4.1 >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "tesseract-ocr" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to tesser...@googlegroups.com <javascript:>. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/tesseract-ocr/f7f675d7-c052-4947-a982-a0d1f04677b3%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/tesseract-ocr/f7f675d7-c052-4947-a982-a0d1f04677b3%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "tesseract-ocr" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/tesseract-ocr/oKtTOIGIMaM/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> tesser...@googlegroups.com <javascript:>. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduWvRd_3UEnMnudndOR5C%2BJK0BSBtCriWu6D8yZJYxMp-w%40mail.gmail.com >>> >>> <https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduWvRd_3UEnMnudndOR5C%2BJK0BSBtCriWu6D8yZJYxMp-w%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "tesseract-ocr" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to tesser...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tesseract-ocr/CADiKgoi7uV9wq17q_m0oN00cKHHvThr6rdO4kcXEYH7c3tp5Lg%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/tesseract-ocr/CADiKgoi7uV9wq17q_m0oN00cKHHvThr6rdO4kcXEYH7c3tp5Lg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Never fear, Linux is here. > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-ocr+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/aacc72db-9317-46bd-ac6e-af509228f4e0%40googlegroups.com.