Commit graph

475 commits

Author SHA1 Message Date
vahidrezanezhad
7f08458436 dilation of text regions without opencv 2024-09-21 14:39:54 +02:00
vahidrezanezhad
5d680136a4 updating light version 2024-09-21 01:04:28 +02:00
vahidrezanezhad
b9e8959c4a update of light versions 2024-09-20 16:33:13 +02:00
vahidrezanezhad
2d18739d9b postprocessing of textline contour dilation + skip layout and reading order passed as an argument 2024-09-20 15:08:09 +02:00
vahidrezanezhad
5a07cd9cfa the most effective version of contours dilation without opencv and all at once 2024-09-19 16:21:55 +02:00
vahidrezanezhad
a1f1f98de3 updating scaling contours 2024-09-18 00:08:54 +02:00
vahidrezanezhad
21380fc870 scaling contours without dilation 2024-09-17 15:06:41 +02:00
vahidrezanezhad
1b18ae874b passing number of columns as an argument 2024-09-13 00:52:06 +02:00
vahidrezanezhad
2c93904985 avoiding double binarization 2024-09-12 17:35:28 +02:00
vahidrezanezhad
f0b49073b7 adding option for textline detection in printspace 2024-09-03 23:10:38 +02:00
vahidrezanezhad
c3a4a1bba7 resolving issue #110 in a better way 2024-09-03 13:14:10 +02:00
vahidrezanezhad
0f87974b0c writing drop capitals in xml output + and may resolve issue #110 2024-09-02 16:21:07 +02:00
vahidrezanezhad
93005959e5 inference batch size debugged 2024-08-27 18:13:46 +02:00
vahidrezanezhad
7ae6a8776f ignoring dpi check by light version 2024-08-26 16:02:10 +02:00
vahidrezanezhad
04e79002b3 making light version faster for 1 and 2 columns images 2024-08-24 12:54:19 +02:00
vahidrezanezhad
c10a525675 inference with batch size bigger than 1 2024-08-23 02:18:16 +02:00
cneud
4f8210de71 update Makefile model location 2024-08-15 23:23:48 +02:00
vahidrezanezhad
6f4205ba49 update pyproject.toml 2024-08-15 16:08:45 +02:00
vahidrezanezhad
74eac4dacc dtype = object in the case of length 1 arise error 2024-08-15 13:50:36 +02:00
vahidrezanezhad
4c50479cb8 pyproject.toml may work for ocrd 2024-08-14 15:28:36 +02:00
vahidrezanezhad
53fd5fb2a5 resolving #106 for pyproject.toml test 2024-08-14 14:42:37 +02:00
vahidrezanezhad
e976778796 testing pyproject.toml 2024-08-14 14:33:01 +02:00
vahidrezanezhad
00bf2b64d0 1&2 column images only printspace 2024-08-07 19:07:54 +02:00
vahidrezanezhad
be144db9f8 updating 1&2 columns images + full layout 2024-08-07 18:13:10 +02:00
vahidrezanezhad
a62ae370c3 new full layout model and early layout for 1&2 column images are integrated - light version 2024-08-07 02:21:01 +02:00
vahidrezanezhad
5144668834 ocr engine first integration 2024-07-17 10:01:37 +02:00
vahidrezanezhad
eac18c553d machine based reading order as an argument 2023-12-13 01:44:51 +01:00
vahidrezanezhad
941d87328a machine based reading order & works for not full layout case 2023-10-20 11:19:30 +02:00
vahidrezanezhad
59c0d90e5a machine based reading order inference & optimized algorithm 2023-10-20 10:17:46 +02:00
vahidrezanezhad
49c93149a4 machine based reading order inference with a variable batch size 2023-10-20 10:01:28 +02:00
vahidrezanezhad
5fdc6d4fa4 integration of machine based reading order detection 2023-10-14 09:05:05 +02:00
vahidrezanezhad
fc9e9cc29f
Merge pull request #117 from qurator-spk/tf-2.12-or-greater
Update tensorflow
2023-09-29 05:30:19 -04:00
cneud
4254ce3bdb Update README.md 2023-09-26 18:54:14 +02:00
cneud
56934c876a remove duplicate test for Python 3.8 2023-09-26 18:53:10 +02:00
Clemens Neudecker
6c65fc4dfe
Update config.yml 2023-09-26 18:33:05 +02:00
Clemens Neudecker
9d3a1a5b76
Update test-eynollah.yml 2023-09-26 18:32:20 +02:00
Clemens Neudecker
03bfd7a390
Update requirements.txt
Update to `tensorflow>=2.12` (drops Python 3.7 support)
* fix #114 
* fix #115

Tested by @vahidrezanezhad @cneud
2023-09-26 18:16:20 +02:00
vahidrezanezhad
7a70b20c77 apply missed commit #a56988a back 2023-09-05 13:43:11 +02:00
vahidrezanezhad
0ea90b7509
Merge pull request #116 from qurator-spk/fix-typos
fix some typos
2023-08-18 08:23:23 -04:00
vahidrezanezhad
830b0fc8fa
Merge pull request #113 from qurator-spk/tf_<2.12.0
introduce (temporary) upper bounds for tensorflow and numpy version
2023-08-18 08:03:04 -04:00
cneud
d3b06baa84 fix some typos 2023-08-18 02:52:49 +02:00
Clemens Neudecker
3e62657570
added the TF upper bound in the README 2023-08-17 23:02:10 +02:00
Clemens Neudecker
b58a327c5d
cap numpy to <1.24.0
OK so now numpy is the culprit (shipped unbound via ocrd) which had several deprecations expire with release of v1.24.0 that require changes to our codebase, e.g. 
* The deprecation for the aliases np.object, np.bool, np.float, np.complex, np.str, and np.int is expired
* Ragged array creation will now always raise a ValueError unless dtype=object is passed.

See also here: https://numpy.org/devdocs/release/1.24.0-notes.html#expired-deprecations
2023-08-17 22:07:45 +02:00
Clemens Neudecker
935332e863
test fix for keras.backend import error with Python 3.8 2023-08-17 21:45:48 +02:00
Clemens Neudecker
e5acee09ab
cap tensorflow version to <2.12.0
Cap tensorflow version to <2.12.0 until we have time to adapt to the API changes such as e.g.
* Support for Python 3.11 has been added.
* Support for Python 3.7 has been removed. 
See also https://github.com/tensorflow/tensorflow/releases/tag/v2.12.0.
2023-08-17 21:05:51 +02:00
Clemens Neudecker
6ba5cdcc11
Update citation 2023-08-14 22:16:51 +02:00
Clemens Neudecker
2db588a146
Update bibtex entry 2023-08-09 18:39:49 +02:00
Clemens Neudecker
aad80696e6
format citation info as bibtex 2023-06-23 14:04:24 +02:00
Clemens Neudecker
a0949fd74a
add HIP'23 paper reference 2023-06-23 13:54:04 +02:00
vahidrezanezhad
5f7d9a475c
Merge pull request #109 from bertsky/patch-3
pil_cv2.check_dpi: fix class membership test
2023-06-21 16:37:16 +02:00