Commit graph

107 commits

Author SHA1 Message Date
Konstantin Baierer
c4b63fca47 🐛 typo: comment{,s}, fix #8 2020-10-23 13:51:52 +02:00
Clemens Neudecker
c7e8e49eac
Merge pull request #10 from OCR-D/glob-not-listdir
glob *.h5 files only in model dir, fix #7
2020-10-23 12:34:18 +02:00
Konstantin Baierer
664a441a2d glob *.h5 files only in model dir, fix #7 2020-10-23 11:30:31 +02:00
Konstantin Baierer
b62b32c998 combine SBB_BINARIZE_DATA and model parameter 2020-10-23 11:19:14 +02:00
vahidrezanezhad
d675ffc066
Merge pull request #6 from OCR-D/envvar
ocrd cli: "model" parameter replaceable by SBB_BINARIZE_DATA envvar
2020-10-23 00:15:41 +02:00
Konstantin Baierer
0c31eaf6b1 ocrd cli: "model" parameter replaceable by SBB_BINARIZE_DATA envvar 2020-10-22 18:37:08 +02:00
vahidrezanezhad
3e60a62469
Merge pull request #5 from OCR-D/ocrd-cli
Improve tooling and add OCR-D CLI
2020-10-22 13:00:42 +02:00
Konstantin Baierer
84d6b1f693 🐛 numpy.ndarray.as{_,}type 2020-10-16 17:24:55 +02:00
Konstantin Baierer
a24670edcc minimal CI setup 2020-10-16 13:52:44 +02:00
Konstantin Baierer
6543e74deb remove "patches" parameter, always use_patches 2020-10-16 12:52:16 +02:00
Konstantin Baierer
2bc6ccc4c0 replace patches string comparison with use_patches boolean 2020-10-16 12:50:32 +02:00
Konstantin Baierer
fad7b7aff1 rewrite "normal" CLI with click 2020-10-16 12:48:32 +02:00
Konstantin Baierer
645ec4124a ocrd-tool: disable "line" level-of-operation for now 2020-10-16 12:35:58 +02:00
Konstantin Baierer
1fa581283c SbbBinarizer: refactor (variable names, less instance-wide state) 2020-10-16 12:30:51 +02:00
Konstantin Baierer
a1c8f6f465 line-level binarization independent of region-level 2020-10-16 11:53:26 +02:00
Konstantin Baierer
e5bc5572a2 change description ht @bertsky @vahidrezanezhad 2020-10-16 11:31:14 +02:00
Konstantin Baierer
b7a6301948 fix cv2pil ht @bertsky 2020-10-16 11:27:37 +02:00
Konstantin Baierer
eece89b9ac patches should be true by default, ht @vahidrezanezhad 2020-10-16 11:12:17 +02:00
Konstantin Baierer
2eec6876fa
Append "binarized" to AlternativeImage/comments
Co-authored-by: Robert Sachunsky <38561704+bertsky@users.noreply.github.com>
2020-10-16 11:01:11 +02:00
Konstantin Baierer
ee82d188bf
Set page_id from input file
Co-authored-by: Robert Sachunsky <38561704+bertsky@users.noreply.github.com>
2020-10-16 11:00:18 +02:00
Konstantin Baierer
0650bad533
image_from_segment: exclude already binarized images
Co-authored-by: Robert Sachunsky <38561704+bertsky@users.noreply.github.com>
2020-10-16 10:59:42 +02:00
Konstantin Baierer
12b44af329 convert between cv2 and pil, DRY binarizer call 2020-10-15 18:10:06 +02:00
Konstantin Baierer
fabb63834a add assets subrepo 2020-10-15 17:31:47 +02:00
Konstantin Baierer
a4c0cf0a47 shut up keras/tensorflow 2020-10-15 17:26:13 +02:00
Konstantin Baierer
d4c97ebf72 add OCR-D click interface 2020-10-15 17:12:17 +02:00
Konstantin Baierer
6913415f55 require ocrd 2020-10-15 17:07:42 +02:00
Konstantin Baierer
ee26ebd7d8 implement region/line binarization 2020-10-15 16:55:17 +02:00
Konstantin Baierer
5909f94fab initial OCR-D interface 2020-10-15 16:39:38 +02:00
Konstantin Baierer
ca03844c2b allow passing image directly, return image on binarize 2020-10-15 16:29:55 +02:00
Konstantin Baierer
389ef088d0 put CLI into its own module 2020-10-15 15:38:49 +02:00
Konstantin Baierer
71d44408b3 🎨 clean up code 2020-10-15 15:33:30 +02:00
Konstantin Baierer
150f03154f add ocrd-tool.json 2020-10-15 15:19:04 +02:00
Konstantin Baierer
b8310a4240 setup.py/requirements.txt/gitignore 2020-10-15 15:18:57 +02:00
Konstantin Baierer
47e8ddae5a 🎨 clean up README, create proper Makefile 2020-10-15 14:44:41 +02:00
Clemens Neudecker
7e4bcd0534
Update README.md 2020-09-16 22:10:47 +02:00
Clemens Neudecker
0dd98340e5
Update README.md 2020-01-16 15:56:32 +01:00
vahidrezanezhad
02896e71f0
Update README.md 2020-01-16 15:47:52 +01:00
vahidrezanezhad
4234995e59
Merge pull request #2 from qurator-spk/update-readme
Update README.md
2020-01-16 15:41:34 +01:00
Clemens Neudecker
1a69e9e5ca
Update README.md 2020-01-15 19:49:18 +01:00
Clemens Neudecker
536ae6a894
Merge pull request #1 from cneud/add-license-1
Add LICENSE
2020-01-15 17:40:44 +01:00
Clemens Neudecker
bac2ef9051
Add LICENSE 2019-12-10 16:40:44 +01:00
vahidrezanezhad
8b532d7918
Update README.md 2019-12-10 13:07:35 +01:00
vahidrezanezhad
dc51b35b5b
Update README.md 2019-12-10 13:06:01 +01:00
vahidrezanezhad
647b801153
Update README.md 2019-12-10 13:05:36 +01:00
vahidrezanezhad
1154a741b9
Update README.md 2019-12-10 13:03:17 +01:00
vahidrezanezhad
e77b71593a
Update README.md 2019-12-10 13:02:49 +01:00
vahidrezanezhad
f94dbdb93f
Update README.md 2019-12-10 13:00:05 +01:00
vahidrezanezhad
5356c41564
Create README.md 2019-12-10 12:54:44 +01:00
b-vr103
e4715b88fa update binarization tool 2019-12-10 12:48:08 +01:00
Rezanezhad, Vahid
5209dcf46e Update sbb_binarize.py 2019-08-23 16:02:29 +02:00