Robert Sachunsky
|
4086c6956a
|
adapt OCR-D wrapper
|
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
|
88d64de67b
|
pil2cv: reduce transparency to white
|
2 years ago |
Robert Sachunsky
|
02423648ec
|
OCR-D CLI: encapsulate model loading into setup(), triggered by init
|
4 years ago |
Konstantin Baierer
|
f41cd58550
|
extract page_image also for operation_level region
|
4 years ago |
Konstantin Baierer
|
a3b1e721b2
|
ocrd-cli: fix indentation
|
4 years ago |
Konstantin Baierer
|
4ceed759ad
|
processor: self.resolve_resource model in addition to SBB_BINARIZE_DATA
|
4 years ago |
vahidrezanezhad
|
f363063e75
|
Merge pull request #9 from OCR-D/envvar-continued
combine SBB_BINARIZE_DATA and model parameter
|
4 years ago |
Konstantin Baierer
|
c4b63fca47
|
🐛 typo: comment{,s}, fix #8
|
4 years ago |
Konstantin Baierer
|
b62b32c998
|
combine SBB_BINARIZE_DATA and model parameter
|
4 years ago |
Konstantin Baierer
|
0c31eaf6b1
|
ocrd cli: "model" parameter replaceable by SBB_BINARIZE_DATA envvar
|
4 years ago |
Konstantin Baierer
|
84d6b1f693
|
🐛 numpy.ndarray.as{_,}type
|
4 years ago |
Konstantin Baierer
|
6543e74deb
|
remove "patches" parameter, always use_patches
|
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
|
a1c8f6f465
|
line-level binarization independent of region-level
|
4 years ago |
Konstantin Baierer
|
b7a6301948
|
fix cv2pil ht @bertsky
|
4 years ago |
Konstantin Baierer
|
2eec6876fa
|
Append "binarized" to AlternativeImage/comments
Co-authored-by: Robert Sachunsky <38561704+bertsky@users.noreply.github.com>
|
4 years ago |
Konstantin Baierer
|
ee82d188bf
|
Set page_id from input file
Co-authored-by: Robert Sachunsky <38561704+bertsky@users.noreply.github.com>
|
4 years ago |
Konstantin Baierer
|
0650bad533
|
image_from_segment: exclude already binarized images
Co-authored-by: Robert Sachunsky <38561704+bertsky@users.noreply.github.com>
|
4 years ago |
Konstantin Baierer
|
12b44af329
|
convert between cv2 and pil, DRY binarizer call
|
4 years ago |
Konstantin Baierer
|
d4c97ebf72
|
add OCR-D click interface
|
4 years ago |
Konstantin Baierer
|
ee26ebd7d8
|
implement region/line binarization
|
4 years ago |
Konstantin Baierer
|
5909f94fab
|
initial OCR-D interface
|
4 years ago |