Stefan Weil
a17f63f43e
Replace more GenericVector by std::vector for src/classify
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-17 13:45:54 +01:00
Stefan Weil
0f632e1dda
Replace more GenericVector by std::vector for src/classify
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-17 13:45:54 +01:00
Stefan Weil
6fcbea3533
Replace more GenericVector by std::vector for src/classify
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-17 13:45:54 +01:00
Stefan Weil
fa93232517
Replace more GenericVector by std::vector for src/classify
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-17 13:45:54 +01:00
Stefan Weil
487f5fad11
Replace more GenericVector by std::vector for src/classify
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-17 13:45:54 +01:00
Stefan Weil
666ea8d560
Replace more GenericVector by std::vector for src/classify
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-17 13:45:54 +01:00
Stefan Weil
c03ffda45a
Replace more GenericVector by std::vector for src/ccstruct
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-17 13:45:54 +01:00
Stefan Weil
122daf1d64
Merge pull request #3330 from Sintun/master
...
Enable api access to table detector results, resolves #1714
2021-03-17 13:39:05 +01:00
Stefan Brechtken
288b8cac11
Merge branch 'master' of https://github.com/Sintun/tesseract
2021-03-17 11:09:01 +01:00
Stefan Brechtken
ec8d7dd6bb
Changing structure name MyTable -> TessTable and using tesseract namespace
2021-03-17 11:07:51 +01:00
Sintun
c4ba513994
Update src/textord/tablerecog.h
...
Co-authored-by: Stefan Weil <sw@weilnetz.de>
2021-03-17 10:42:31 +01:00
Sintun
55fbee2d4c
Update src/textord/tablerecog.h
...
Co-authored-by: Stefan Weil <sw@weilnetz.de>
2021-03-17 10:42:23 +01:00
Sintun
14408861ea
Update src/ccstruct/tabletransfer.h
...
Co-authored-by: Stefan Weil <sw@weilnetz.de>
2021-03-17 10:36:15 +01:00
Sintun
02055d667c
Update src/ccstruct/tabletransfer.h
...
Co-authored-by: Stefan Weil <sw@weilnetz.de>
2021-03-17 10:36:09 +01:00
Stefan Brechtken
5e8c8c2b4d
conflict merge, removing an unnecessary include
2021-03-16 23:47:43 +01:00
Egor Pugin
4cd56dc5f5
Fix build system macro. Fixes #3334 .
2021-03-17 01:26:56 +03:00
Stefan Weil
223f356027
Fix alerts reported by LGTM
...
They were caused by recent commits which replaced GenericVector by std::vector.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-16 19:04:00 +01:00
Stefan Weil
8cfaf7bf64
Fix removal of duplicates in StructuredTable::FindLinedStructure
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-16 17:49:54 +01:00
Egor Pugin
d604bf3c68
Merge pull request #3332 from stweil/vector
...
Replace some GenericVector by std::vector
2021-03-16 19:15:21 +03:00
Stefan Weil
5db92b26aa
Replace remaining GenericVector by std::vector for src/textord
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-16 16:59:12 +01:00
Stefan Weil
1f94d79c81
Replace remaining GenericVector by std::vector for src/ccmain
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-16 16:55:38 +01:00
Stefan Brechtken
d856acba56
Change License to Apache V2, add new file to Makefile.am, change file name to .h ending
2021-03-16 14:16:02 +01:00
Stefan Weil
bf42f8313d
Replace remaining GenericVector by std::vector for src/dict
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-16 12:25:11 +01:00
Stefan Weil
17eee8648f
Replace more GenericVector by std::vector
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-16 12:25:11 +01:00
Stefan Weil
2a3682a35e
Replace remaining GenericVector by std::vector in src/lstm
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-16 12:25:11 +01:00
Stefan Brechtken
e10d19b084
updating function documentation and removing unnecessary include
2021-03-15 17:25:10 +01:00
Stefan Brechtken
594a000ecd
merging with tesseract master in order to create a pull request
2021-03-15 17:02:19 +01:00
Stefan Weil
c676d5bcff
STRING is no longer required for Visual Studio
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-15 09:15:25 +01:00
Stefan Weil
e51fcb2d31
Remove last usage of STRING
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-15 09:11:41 +01:00
Stefan Weil
57920174dc
Remove unused parts of class STRING
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-15 09:11:41 +01:00
Stefan Weil
576c09bf31
Replace remaining STRING by std::string in unittest
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-15 09:11:41 +01:00
Stefan Weil
0edd69eb10
Replace remaining STRING by std::string in src/training
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-15 09:11:41 +01:00
Stefan Weil
d16fba9bed
Replace all but one remaining STRING by std::string in src/ccstruct
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-15 09:11:41 +01:00
Stefan Weil
21cf7cf84e
Replace remaining STRING by std::string in src/dict
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-15 09:11:41 +01:00
Stefan Weil
21d9aad594
Replace remaining STRING by std::string in src/viewer and src/wordrec
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-15 09:11:41 +01:00
Stefan Weil
e0ce040832
Replace remaining STRING by std::string in src/classify
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-15 09:11:41 +01:00
Stefan Weil
db9f963411
Replace remaining STRING by std::string in src/ccmain
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-15 09:11:41 +01:00
Egor Pugin
d7823a71c2
Remove unused file.
2021-03-15 09:47:04 +03:00
Egor Pugin
efd17e205a
Replace typedef structs with structs.
...
typedef enums are left intact.
2021-03-15 09:47:04 +03:00
Egor Pugin
262f65a4d2
snprintf will add '\0' at the end itself.
2021-03-14 23:54:29 +03:00
Egor Pugin
26ceeef6c0
[training] Modernize.
2021-03-14 23:47:42 +03:00
Egor Pugin
bcebf04f8e
[unittest] Use more smart ptrs, more std::make_unique instead of .reset(new T()).
2021-03-14 23:06:19 +03:00
Egor Pugin
2f4f7446b6
Merge pull request #3327 from Shreeshrii/patch-1
...
Create unicharset from training text to avoid normalization errors
2021-03-14 22:09:47 +03:00
Shree Devi Kumar
efe9ff611f
Limit unicharset from training_text only to Indic languages
2021-03-14 17:58:57 +00:00
Shree Devi Kumar
a589ded25f
Create unicharset from training text to avoid normalization errors
2021-03-14 16:39:00 +00:00
Egor Pugin
f06b2c7c8d
[capi] Restore some of wrongly removed apis.
...
Removed C++ APIs are not restored.
Additionally remove unused C++ typedefs which were in removed C++ functions.
If you still need them, use C++ API instead.
2021-03-14 17:20:52 +03:00
Egor Pugin
dabdaa1def
Misc.
2021-03-14 17:14:41 +03:00
Egor Pugin
c2f3d565e8
Merge pull request #3325 from stweil/string
...
Replace more STRING by std::string
2021-03-14 12:10:05 +03:00
Stefan Weil
7178ebd799
Add missing TESS_API for new function tesseract::split
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-14 08:16:33 +01:00
Stefan Weil
36f9131e04
Move implementation of tesseract::split from header to cpp file
...
This fixes duplicate symbols for some builds.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-03-13 23:39:58 +01:00