Commit Graph

28 Commits (f3c6ac8d7092bcb571597369fc33e2f74037fe3f)

Author SHA1 Message Date
Robert Sachunsky 0bcb171240 standalone cv2.imwrite: use uint8 / bilevel 2 years ago
Robert Sachunsky bb1484bd2b silentium! 2 years ago
vahid 7c3f2176f7 issue #45 the patches option is omitted and it means that documents will be processed in patches while no patches is not desired by the tool 2 years ago
Robert Sachunsky a69470135a load_model: also allow SavedModel directories 2 years ago
vahid f11d0b0bf7 #42 is resolved 2 years ago
Alexander Pacha 55a9fba677 Small fix to raise an exception when no model was found instead of failing later with TypeError: 'int' object is not subscriptable. 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