Commit Graph

5635 Commits

Author SHA1 Message Date
Stefan Weil
e999f421bc Replace GenericVector<float> by std::vector<float> for class SimpleStats
This also fixes a runtime error:

    src/ccutil/genericvector.h:228:11: runtime error:
      null pointer passed as argument 1, which is declared to never be null

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-26 14:29:07 +01:00
Stefan Weil
971c6e6d6b automake: Flat build for unittest
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-24 18:21:37 +01:00
Shree Devi Kumar
53e1ae9ebf Fix Memory leak in ligature_table_test 2021-01-24 18:17:06 +01:00
Egor Pugin
462112d86a
Merge pull request #3259 from Shreeshrii/ci
Split Github Actions workflows
2021-01-24 15:11:25 +03:00
Shree Devi Kumar
1f21a86eb3 Split Github Actions workflows 2021-01-24 11:56:15 +00:00
Egor Pugin
04173d380d
Merge pull request #3257 from tesseract-ocr/ci
Daily Actions Workflow update
2021-01-23 22:53:43 +03:00
Shreeshrii
ad321d8184
Update dailyunittest.yml 2021-01-23 23:25:16 +05:30
Shreeshrii
d3be2edfed
Update dailycmake.yml 2021-01-23 23:24:07 +05:30
Stefan Weil
4b84a56d8d Replace STRING by std::string for function read_unlv_file
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-23 17:46:12 +01:00
Stefan Weil
139d127ff7 Remove unneeded include statement for genericvector.h
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-23 17:29:57 +01:00
Stefan Weil
71fb535427 Remove unneeded include statement for strngs.h
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-23 17:29:57 +01:00
Stefan Weil
44fd1c4986 Wordrec: Modernize code
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-23 15:53:55 +01:00
Egor Pugin
f8173fb8d8
Merge pull request #3256 from stweil/mastertrainer_test
Fix memory leak in mastertrainer_test (fixes issue #3215)
2021-01-23 17:27:29 +03:00
Stefan Weil
5a3d6e5e0d Fix memory leak in mastertrainer_test (fixes issue #3215)
The issue was introduced in commit 6e9456415.

Partially reverting this commit fixes it.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-23 14:54:38 +01:00
Stefan Weil
e3fd938bca lstmtrainer: Modernize code
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-22 08:17:19 +01:00
Stefan Weil
0cdaab5ac9 lstmtrainer: Remove unused local variable
This fixes a compiler warning:
    src/training/unicharset/lstmtrainer.cpp:107:15: warning:
      unused variable 'shape' [-Wunused-variable]

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-22 08:13:38 +01:00
Stefan Weil
3d47e0a91a Replace GenericVector by std::vector in LoadFileLinesToStrings
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-01-22 08:13:38 +01:00
Shreeshrii
5d8594cd80
Reduce number of INFO messages from lstm_test (#3250) 2021-01-22 07:59:02 +01:00
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