Hi !But what about vcpkg update for this version ? vcpkg is still 4.0.0, while --head version cannot compile due to C++11 incorrect changes
--
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-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/7ea92de7-2289-4fcd-9d9d-e83c7ac5307b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
cannot compile due to C++11 incorrect changes
--
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-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/98297870-7d52-4308-8ddf-6b92c5f770bf%40googlegroups.com.
Bonjour à tous,Je suis fier de vous annoncer que la version 4.1.0 du moteur OCR tesseract - la version corrigeant les bogues avec de nouveaux rendus (extension API), Alto, LSTMBox, WordStrBox.Voir les notes de version en ligne [1].Le code source peut être téléchargé à partir de GitHub [2].
Zdenko
--
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-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/f6824f2d-5228-4d54-8938-1a51b5dd74d4%40googlegroups.com.
--
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-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/f7f675d7-c052-4947-a982-a0d1f04677b3%40googlegroups.com.
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 tesseract-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduWvRd_3UEnMnudndOR5C%2BJK0BSBtCriWu6D8yZJYxMp-w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CADiKgoi7uV9wq17q_m0oN00cKHHvThr6rdO4kcXEYH7c3tp5Lg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAB-60ngHAyavi-OYsKbR-n36t5MqWQ2rz_7HjRxKVazhW%3DWkZg%40mail.gmail.com.
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> wrote:
On Sun, 28 Jul 2019, 17:11 Shree Devi Kumar, <shree...@gmail.com> wrote:
Thanks. Please add the info to Tesseract wiki page also.
On Sun, 28 Jul 2019, 18:42 Alex Cohn, <sash...@gmail.com> 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
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/f7f675d7-c052-4947-a982-a0d1f04677b3%40googlegroups.com.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduWvRd_3UEnMnudndOR5C%2BJK0BSBtCriWu6D8yZJYxMp-w%40mail.gmail.com.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CADiKgoi7uV9wq17q_m0oN00cKHHvThr6rdO4kcXEYH7c3tp5Lg%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@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.
Thanks Alex, I'll go and have a look. One would imagine that -D BUILD_TRAINING_TOOLS=OFF should be enough.
--
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-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/8d3177df-2fab-4eb7-a4e6-6f87da926dc8%40googlegroups.com.
--
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-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/f3c864fa-ee6c-4d7a-8182-2eba50b636b4%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAB-60njA7%2BjCKKF7S8tT_LqsT1iM%3DduW14Xe6UkpAvwwoqHnCA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8yxNrm1QR88mCZrqNLYQ2uVJg_WXJSS%2BwBS3PtvaXYfCQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAB-60nioA1PjxkP6_RXC0DG2Lf4cm_B9jxK%2BvEdZBidQd5F1sQ%40mail.gmail.com.
$ git clone https://github.com/alexcohn/tess-two.git tess-two-git
Cloning into 'tess-two-git'...
...
$ ndk-build -C tess-two-git/tess-two tesseract APP_ABI=arm64-v8a APP_PLATFORM=android-24
Android NDK: WARNING: APP_PLATFORM android-24 is higher than android:minSdkVersion 1 in ./AndroidManifest.xml. NDK binaries will *not* be compatible with devices older than android-24. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information.
make: Entering directory `.../tess-two-git/tess-two'
make: *** No rule to make target `tesseract'. Stop.
make: Leaving directory `.../tess-two-git/tess-two'$
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CADiKgoi7uV9wq17q_m0oN00cKHHvThr6rdO4kcXEYH7c3tp5Lg%40mail.gmail.com.
$ git clone https://github.com/alexcohn/tess-two.git tess-two-git
Cloning into 'tess-two-git'...
...
$ ndk-build -C tess-two-git/tess-two tesseract APP_ABI=arm64-v8a APP_PLATFORM=android-24
Android NDK: WARNING: APP_PLATFORM android-24 is higher than android:minSdkVersion 1 in ./AndroidManifest.xml. NDK binaries will *not* be compatible with devices older than android-24. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information.
make: Entering directory `.../tess-two-git/tess-two'
make: *** No rule to make target `tesseract'. Stop.
make: Leaving directory `.../tess-two-git/tess-two'$Where is my bad ?
@JBΔ
$ git clone https://github.com/alexcohn/tess-two.git tess-two-git
Cloning into 'tess-two-git'...
...
Resolving deltas: 100% (7359/7359), done.
$ ndk-build -C tess-two-git/tess-two tesseract APP_ABI=arm64-v8a APP_PLATFORM=android-24
Android NDK: WARNING: APP_PLATFORM android-24 is higher than android:minSdkVersion 1 in ./AndroidManifest.xml. NDK binaries will *not* be compatible with devices older than android-24. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information.
make: Entering directory `.../tess-two-git/tess-two'
make: *** No rule to make target `jni/../../tesseract/src/api/tesseractmain.cpp', needed by `obj/local/arm64-v8a/objs/tesseract/api/tesseractmain.o'. Stop.
make: Leaving directory `.../tess-two-git/tess-two'$
--
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-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/81b2e1f2-7224-48d4-9c8e-db36bd6793fb%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8yuP9xHwh83O-v1Ne2YPMX3PqSOiaAuM95-EA2XycyU1g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAB-60ngPAEP-g1er4tmuPuAk-n1%2BHOwhDwvZahLTPb1Cp%2BudYQ%40mail.gmail.com.
$ date
Mon Aug 5 04:58:08 UTC 2019
$ git clone https://github.com/alexcohn/tess-two.git tess-two-git
Cloning into 'tess-two-git'...
...
Resolving deltas: 100% (7359/7359), done.
$ ndk-build -C tess-two-git/tess-two tesseract APP_ABI=arm64-v8a APP_PLATFORM=android-24
Android NDK: WARNING: APP_PLATFORM android-24 is higher than android:minSdkVersion 1 in ./AndroidManifest.xml. NDK binaries will *not* be compatible with devices older than android-24. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information.
make: Entering directory `.../tess-two-git/tess-two'
make: *** No rule to make target `jni/../../tesseract/src/api/tesseractmain.cpp', needed by `obj/local/arm64-v8a/objs/tesseract/api/tesseractmain.o'. Stop.
make: Leaving directory `.../tess-two-git/tess-two'
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8ygJ9PWuM5SPXNv0iUd8rsSVarEtv7YypPmUfC2kNgL%2Bw%40mail.gmail.com.
It's a pity that I did not see this discussion earlier. I understand that old Android now builds fine. On the other side, the Appveyor CI build for Windows was now broken, and unittest still no longer build. That's not a good result. :-(I therefore suggest to go back to my commit which moved fileio.* from training to ccutil. Then conditional compilation for Android can be added to fileio.cpp. How should it look like?
--
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-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/fd6f898f-1603-4af9-97d0-7741c39fb0c4%40googlegroups.com.
git submodule init
git submodule update
...[arm64-v8a] StaticLibrary : libpngt_static.a
[arm64-v8a] Executable : tesseract
$ file tess-two-git-3/tess-two/obj/local/arm64-v8a/tesseract
tess-two-git-3/tess-two/obj/local/arm64-v8a/tesseract: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /system/, BuildID[sha1]=d09c8cfe1013d63e57afeaaf0837a54905cbb7ef, with debug_info, not stripped
--
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-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/5c95d674-d7d9-42b3-b677-d04b7032bf83%40googlegroups.com.
Build done....[arm64-v8a] StaticLibrary : libpngt_static.a
[arm64-v8a] Executable : tesseractIs it the static command-line executable tesseract WIKI says ?$ file tess-two-git-3/tess-two/obj/local/arm64-v8a/tesseract
tess-two-git-3/tess-two/obj/local/arm64-v8a/tesseract: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /system/, BuildID[sha1]=d09c8cfe1013d63e57afeaaf0837a54905cbb7ef, with debug_info, not stripped
@JBΔ
Hi, I am using tess-two for OCR.
The version I use is : https://github.com/alexcohn/tess-two
Code:
TessBaseAPI baseApi = new TessBaseAPI();
baseApi.setDebug(true);
baseApi.init(pathfiles, language);
baseApi.setVariable(TessBaseAPI.VAR_CHAR_WHITELIST, "0123456789");
baseApi.setPageSegMode(TessBaseAPI.PageSegMode.PSM_AUTO);
baseApi.setImage(bmp);
result= baseApi.getUTF8Text();
baseApi.end();
The code run perfectly when I use this tessdata :https://github.com/tesseract-ocr/tessdata
But when I use tessdata_fast (https://github.com/tesseract-ocr/tessdata_fast), The code crashes on baseApi.init.
There is no error message since the init method calls native C++. As far as I can trace, the init method crashes on this line:
boolean success = nativeInitOem(mNativeData, datapath, language, ocrEngineMode);
Is it possible to use tessdata_fast in tess-two?
Or did I miss something?
--
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-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/390136fc-ded4-47c6-8717-c69fbb4e67f7%40googlegroups.com.
ocrEngineMode