Commit Graph

24 Commits (de89e7df12ba29c6f284ae95b502a37016cdb2b8)

Author SHA1 Message Date
vahid de89e7df12 padding the whole image in order to avoid artifacts on the page boundries 2 years ago
vahid ffdc776192 hybrid cnn & transformer model is integrated 2 years ago
Clemens Neudecker 83c60d7b26
cleanup 3 years ago
cneud b7aeb1ae8b use tensorflow Keras backend 3 years ago
Robert Sachunsky 416b5dd7e2 adapt to TF1 deprecation 4 years ago
Robert Sachunsky ad50ed287d binarizer: reset TF session prior to predict() 4 years ago
vahid 2c7cd84649 resolving error for inputs whcih have smaller scale than model patch 4 years ago
Lucas Sulzbach 45f1509dbc sbb_binarize: Load each model only once 4 years ago
Lucas Sulzbach 0f7d4c589a sbb_binarize: Start new session only once 4 years ago
Clemens Neudecker 9a97c972d4
Merge pull request #13 from OCR-D/image-path
🐛 read from image_path, not image
4 years ago
Konstantin Baierer 71b2801183 🐛 read from image_path, not image 4 years ago
Clemens Neudecker 4d145cc905
Merge pull request #11 from OCR-D/altimage-comments
🐛 typo: comment{,s}, fix #8
4 years ago
Konstantin Baierer c4b63fca47 🐛 typo: comment{,s}, fix #8 4 years ago
Konstantin Baierer 664a441a2d glob *.h5 files only in model dir, fix #7 4 years ago
Konstantin Baierer 2bc6ccc4c0 replace patches string comparison with use_patches boolean 4 years ago
Konstantin Baierer 1fa581283c SbbBinarizer: refactor (variable names, less instance-wide state) 4 years ago
Konstantin Baierer 12b44af329 convert between cv2 and pil, DRY binarizer call 4 years ago
Konstantin Baierer a4c0cf0a47 shut up keras/tensorflow 4 years ago
Konstantin Baierer ca03844c2b allow passing image directly, return image on binarize 4 years ago
Konstantin Baierer 389ef088d0 put CLI into its own module 4 years ago
Konstantin Baierer 71d44408b3 🎨 clean up code 4 years ago
b-vr103 e4715b88fa update binarization tool 5 years ago
Rezanezhad, Vahid 5209dcf46e Update sbb_binarize.py 5 years ago
Rezanezhad, Vahid 9cc72d1918 Add new file 5 years ago