Egor Pugin
8b7fdb75c8
Merge pull request #3252 from Shreeshrii/legacy
...
Replace deprecated INSTANTIATE_TEST_CASE_P
2021-01-20 22:56:57 +03:00
Shree Devi Kumar
e07c99d874
Replace deprecated INSTANTIATE_TEST_CASE_P
2021-01-20 18:03:05 +00:00
Stefan Weil
59305028e5
Remove unused conditional OSX
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-20 15:11:41 +01:00
Egor Pugin
e2852618fb
Merge pull request #3251 from stweil/master
...
Show names of failing lstmf files in error messages
2021-01-20 16:37:37 +03:00
Stefan Weil
5d44a8216f
Show names of failing lstmf files in error messages
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-20 13:36:59 +01:00
Stefan Weil
b6787749e3
Remove rests from vs2010
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-20 13:36:59 +01:00
Egor Pugin
c38536f32d
Merge pull request #3249 from Shreeshrii/ciupdate
...
Fix Action workflows
2021-01-20 13:38:06 +03:00
Shree Devi Kumar
ab9a967067
Fix Action workflows
2021-01-20 05:10:38 +00:00
Egor Pugin
cad7bcdf3b
Merge pull request #3247 from Shreeshrii/ci
...
Ci
2021-01-19 21:12:38 +03:00
Shree Devi Kumar
1da0cf185e
do not run on push
2021-01-19 17:43:09 +00:00
Shree Devi Kumar
45a1e1d521
Improve dailyunittest workflow
2021-01-19 17:40:20 +00:00
Egor Pugin
2c894e5b62
Merge pull request #3244 from Shreeshrii/ci
...
Add daily tests for macos homebrew
2021-01-18 17:31:28 +03:00
Shree Devi Kumar
9b6fee70ed
Add daily tests for macos homebrew
2021-01-18 13:55:57 +00:00
Egor Pugin
3c92664391
Update dailycmake.yml
2021-01-18 15:40:17 +03:00
Egor Pugin
3a2eedd291
Merge pull request #3243 from Shreeshrii/ci
...
Add exclude for missing os compiler combinations
2021-01-18 10:01:31 +03:00
Shree Devi Kumar
7b825f1faf
Fix Typo
2021-01-18 06:48:47 +00:00
Shree Devi Kumar
2b4b4cc7ba
Add exclude for missing os compiler combinations
2021-01-18 06:38:24 +00:00
Egor Pugin
0f7212bba7
Merge pull request #3242 from Shreeshrii/ci
...
Add Macports build with training tools for daily ci test
2021-01-17 20:27:14 +03:00
Shree Devi Kumar
3d494846c8
Add macos to daily ci runs
2021-01-17 17:13:56 +00:00
Stefan Weil
147edc7d06
dailycmake update
2021-01-17 07:11:33 +00:00
Egor Pugin
2b144f37fb
Merge pull request #3241 from Shreeshrii/ci
...
Github Actions Workflow for daily cmake builds
2021-01-16 16:21:23 +03:00
Stefan Weil
95a4d8023a
Fix .github/workflows/dailycmake.yml
2021-01-16 11:45:43 +00:00
Shree Devi Kumar
17ce3344b3
Add dailycmake workflow
2021-01-16 10:27:22 +00:00
Egor Pugin
277cdfae73
Merge pull request #3239 from Shreeshrii/legacy
...
Do not run textlineprojection_test with disable-legacy, uses OSD
2021-01-16 00:44:26 +03:00
Stefan Weil
c7baf8f17d
Add more information shown by combine_tessdata -l
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-15 18:49:51 +01:00
Stefan Weil
3195c8f75f
Add new option -l for combine_tessdata to list the network string
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-15 18:49:51 +01:00
Stefan Weil
970eba79e6
Replace STRING by std::string for LSTMRecognizer::network_str_
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-15 18:49:51 +01:00
Stefan Weil
97cfd95872
Replace STRING by char* in LSTMRecognizer
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-15 18:49:51 +01:00
Shree Devi Kumar
fe4951e4d5
Do not run textlineprojection_test with disable-legacy, uses OSD
2021-01-15 13:04:38 +00:00
Egor Pugin
6d165528a2
Merge pull request #3236 from stweil/max_iterations
...
lstmtraining: Interpret negative value for --max_iterations as epochs
2021-01-15 01:08:15 +03:00
Stefan Weil
73ffcabfe9
lstmtraining: Interpret negative value for --max_iterations as epochs
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-14 19:51:58 +01:00
Egor Pugin
44b4d00761
Merge pull request #3235 from Shreeshrii/ci
...
Fix config options for dailyunittest GitHub Action
2021-01-14 21:38:59 +03:00
Shree Devi Kumar
2a46b516cd
Fix config options for dailyunittest GitHub Action
2021-01-14 17:30:17 +00:00
Stefan Weil
40bdcd2941
Add TESS_API to instantiation of template functions
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-14 18:07:35 +01:00
Stefan Weil
80810218f7
Use explicit int32_t for serialized data type
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-14 18:06:39 +01:00
Stefan Weil
05da41dc60
Replace GenericVector<BlobData> by std::vector<BlobData>
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-14 17:23:13 +01:00
Shree Devi Kumar
4df7021d98
Remove unnecessary subtest with missing input image
2021-01-14 15:38:55 +01:00
Robert Pösel
7dcd9b5095
Remove ANDROID_BUILD macro
...
Build fails when ANDROID_BUILD is defined, because it removes parts of the LSTM engine, but there are still some unguarded references. But removing LSTM engine is not needed as it works perfectly fine on Android.
This macro doesn't provide any benefit anymore and is not even used in current build config. If needed, ANDROID macro should be used instead (which is already used on few places).
2021-01-14 14:31:34 +01:00
Stefan Weil
08f2ba02f7
Fix memory allocation in TFile::DeSerialize(std::vector<T>& data)
...
lstmtraining crashed when creating traineddata files:
Error: attempt to subscript container with out-of-bounds index 0, but
container only holds 0 elements.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-14 12:11:02 +01:00
Egor Pugin
9e78e3e3ab
Merge pull request #3231 from Shreeshrii/ci
...
Add Github Action for autotools based daily unittests on ubuntu
2021-01-14 13:57:10 +03:00
Shree Devi Kumar
dcb6973f6f
Add Github Action for autotools based daily uniitests on ubuntu
2021-01-14 09:25:21 +00:00
Stefan Weil
7c5415a2c1
automake: Fix flat build for doc
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-13 15:57:04 +01:00
Stefan Weil
5e661b9339
Don't use local CP_RESULT_STRUCT variable to initialize elements of std::vector
...
std::vector passes that local variable by reference, so no individual
instances are used for the new vector elements.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-13 15:57:04 +01:00
Stefan Weil
b0e46085f4
Fix serialization of std::vector (fix issue #3220 )
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-12 21:23:14 +01:00
Stefan Weil
9b15e65900
Replace resize(0) by clear() for std::vector
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-12 19:24:54 +01:00
Shree Devi Kumar
5104af6a15
Remove --psm 6 for lstm.train in tesstrain.py
2021-01-12 13:26:33 +01:00
Shree Devi Kumar
106b3d1ed0
No --psm 6 for lstm.train
2021-01-12 12:42:53 +01:00
Stefan Weil
e1b9f1b446
automake: Flat build for doc
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-11 21:58:45 +01:00
Robert Pösel
ca9c7ba303
Fix NEON also tesseractmain.cpp
2021-01-11 12:17:25 +01:00
Robert Pösel
1954ee3867
Fix use of NEON on ARMv8
...
Flag neon_available_ is automatically set to true when __aarch64__ is defined,
but the actual check for neon_available_ required having also HAVE_NEON defined.
Now we check the flag also when only __aarch64__ is defined.
2021-01-11 12:17:16 +01:00