Commit Graph

72 Commits (b79ea56b227f05083add4e40e97f9810057b81ee)

Author SHA1 Message Date
Robert Sachunsky 8a12d40769 fix region level
Robert Sachunsky 5d5579957d update to GH release archive as model URL (older model)
Robert Sachunsky 020b283cc3 update to GH release archive as model URL
Robert Sachunsky bb1484bd2b silentium!
Konstantin Baierer aeb6804b7d 📦 v0.0.11
Konstantin Baierer 6fb6946531
Merge pull request from bertsky/patch-3
ocrd-tool.json: register SavedModel resources
vahid 7c3f2176f7 issue the patches option is omitted and it means that documents will be processed in patches while no patches is not desired by the tool
Robert Sachunsky f8ade5d3da
ocrd-tool.json: register SavedModel resources
Robert Sachunsky a69470135a load_model: also allow SavedModel directories
Robert Sachunsky 88d64de67b pil2cv: reduce transparency to white
vahid f11d0b0bf7 is resolved
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.
Konstantin Baierer c99be55af2 📦 v0.0.10
maxnth dc5a5c791a use types.Path instead of click.Path to avoid NameError
Clemens Neudecker 0877199c68
importing types from click is enough
vahidrezanezhad 792619e830
Update cli.py
vahidrezanezhad 82e0783e01
fixing . Directory of model(s) is needed not model file name.
Clemens Neudecker aab51dbe82
Update ocrd-tool.json
Clemens Neudecker 83c60d7b26
cleanup
cneud b7aeb1ae8b use tensorflow Keras backend
Robert Sachunsky 73b7b48dfb
ocrd-tool.json: add directory content-type for model
Robert Sachunsky 416b5dd7e2 adapt to TF1 deprecation
Robert Sachunsky ad50ed287d binarizer: reset TF session prior to predict()
Robert Sachunsky 02423648ec OCR-D CLI: encapsulate model loading into setup(), triggered by init
Konstantin Baierer 8dd05064b2 📦 v0.0.8
vahid 2c7cd84649 resolving error for inputs whcih have smaller scale than model patch
Konstantin Baierer f41cd58550 extract page_image also for operation_level region
Konstantin Baierer 4a5544d985 📦 v0.0.7
Konstantin Baierer a3b1e721b2 ocrd-cli: fix indentation
Konstantin Baierer 4ceed759ad processor: self.resolve_resource model in addition to SBB_BINARIZE_DATA
Konstantin Baierer ea69494d2a 📦 v0.0.6
Konstantin Baierer c9e41727bf 📦 v0.0.5
Lucas Sulzbach 45f1509dbc sbb_binarize: Load each model only once
Lucas Sulzbach 0f7d4c589a sbb_binarize: Start new session only once
Konstantin Baierer b98d7f51ae 📦 v0.0.4
vahidrezanezhad f363063e75
Merge pull request from OCR-D/envvar-continued
combine SBB_BINARIZE_DATA and model parameter
Konstantin Baierer 6ebd6f0d45 📦 v0.0.3
Konstantin Baierer e46b89af85 Merge branch 'release-v0.0.2' into release-v0.0.3
Konstantin Baierer 71b2801183 🐛 read from image_path, not image
Konstantin Baierer b10b49c6ce 📦 v0.0.2
Clemens Neudecker 4d145cc905
Merge pull request from OCR-D/altimage-comments
🐛 typo: comment{,s}, fix 
Konstantin Baierer c4b63fca47 🐛 typo: comment{,s}, fix
Konstantin Baierer 664a441a2d glob *.h5 files only in model dir, fix
Konstantin Baierer b62b32c998 combine SBB_BINARIZE_DATA and model parameter
Konstantin Baierer 0c31eaf6b1 ocrd cli: "model" parameter replaceable by SBB_BINARIZE_DATA envvar
Konstantin Baierer 84d6b1f693 🐛 numpy.ndarray.as{_,}type
Konstantin Baierer 6543e74deb remove "patches" parameter, always use_patches
Konstantin Baierer 2bc6ccc4c0 replace patches string comparison with use_patches boolean
Konstantin Baierer fad7b7aff1 rewrite "normal" CLI with click
Konstantin Baierer 645ec4124a ocrd-tool: disable "line" level-of-operation for now