Commit Graph

168 Commits (c30ce0a625a75121164f0bdcc544e7ab03615d18)
 

Author SHA1 Message Date
Gerber, Mike c30ce0a625 🐛 Don't test on Python 3.7
I believe this was never supposed to work on Python 3.7 and there some
problems with it:

https://github.com/qurator-spk/sbb_textline_detection/issues/64

"Fix" this by removing the test on Python 3.7. Fixes gh-64.
vahidrezanezhad eaf8ecd4d4
Merge pull request from mikegerber/remove-unused-variable
Remove unused variable 'possibles'
Gerber, Mike 2553bd39f9 Remove unused variable 'possibles'
vahidrezanezhad a5d4bf00fa
Merge pull request from mikegerber/fix/cli-required-options
🐛 Make required options required
Gerber, Mike 8f64deefd6 🐛 Make required options required
When the user does not give, e.g. an input image, the program just
reports a cryptic error message.

Fix this and make the CLI friendlier by requiring the options using the
Click API. Now the CLI gives a useful error:

  Error: Missing option '--image' / '-i'.
Clemens Neudecker a78f40a89d
Merge pull request from bertsky/patch-1
ocrd_tool.json: add model content-type
Clemens Neudecker 694af0f903
Merge pull request from stweil/master
Ignore Python build artifacts
Stefan Weil 67f3ca6a4d Ignore Python build artifacts
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Robert Sachunsky 04e1972720 ocrd_tool.json: add model content-type
Clemens Neudecker 325389a4f7
Update README.md
vahidrezanezhad f1d2777a18
Merge pull request from mikegerber/fix/setup-namespace
🐛 sbb_textline_detection: Fix qurator namespace
Gerber, Mike 82cae07dc4 🐛 sbb_textline_detection: Fix qurator namespace
Set namespace_packages in setup.py. This fixes installation problems
reported by @kba.

I have no idea why this does not happen with my tests on Python 3.7.
I don't know what I am doing, but this fixes it.
vahidrezanezhad 95d8f7021f
Merge pull request from qurator-spk/resolve-resources
processor: self.resolve_resource model
Konstantin Baierer 5c7fd26883 processor: self.resolve_resource model
Clemens Neudecker 451b71f906
Merge pull request from qurator-spk/tf-1.15
Update requirements.txt
Clemens Neudecker 5fd94d38cd
Update requirements.txt
vahidrezanezhad c241830b4b
Merge pull request from bertsky/fix-coords
ensure valid coordinates by intersection with parent…
vahidrezanezhad 4c498fcad2
resolving issue https://github.com/qurator-spk/sbb_textline_detection/issues/53
Clemens Neudecker 17069f72d2
Merge pull request from qurator-spk/h5py3
require h5py < 3, 
Konstantin Baierer 5d7c09038e require h5py < 3,
Clemens Neudecker b8b779efc3
Merge pull request from qurator-spk/readme-upd
Update README.md
Clemens Neudecker 4259d4d860
Update README.md
Robert Sachunsky 261db14ec3 ensure valid coordinates by intersection with parent…
- Border: intersect with page frame
- text regions: intersect with (new) Border
- text lines: intersect with (new) text region
  (and back-transform at all)
vahidrezanezhad 247d5f9fc2
Merge pull request from bertsky/readme-ocr-d-cli
README: improve OCR-D interface description
Robert Sachunsky ff4f7767aa
README: improve OCR-D interface description
Gerber, Mike 665b739fb8 🐛 sbb_textline_detector: Re-base Border coords too
Gerber, Mike 006c7765b0 🐛 sbb_textline_detector: Filter cropped images (OCR-D)
Gerber, Mike 020ffbcfde Merge branch 'fix/image_from_page'
Gerber, Mike 37cc513ce9 🚧 sbb_textline_detector: Translate detected coordinates
Gerber, Mike a9b9c8a885 🚧 sbb_textline_detector: Get image via image_from_page
Gerber, Mike 38df5dbbfd 🐛 sbb_textline_detector: Work around incompatible numpy version installed by pip
vahidrezanezhad cbc9838aec
Merge pull request from kba/getlogger
getLogger per method
Konstantin Baierer f167f6768c getLogger per method
vahidrezanezhad 0f09f4a1f6
Update main.py
Issues 30 and 40 are resolved
vahidrezanezhad a7c92c92ff
Merge pull request from qurator-spk/printspace-vs-border
replace 'PrintSpace' with 'Border'
Clemens Neudecker e4798c6811
replace 'PrintSpace' with 'Border'
Clemens Neudecker 36adbe29d8
replace 'PrintSpace' with 'Border'
Clemens Neudecker 6a73d61e48
Merge pull request from qurator-spk/update-readme
Update README.md
Clemens Neudecker b6381fb1d9
Update README.md
Clemens Neudecker 06cecaecb2
Update README.md (heuristic methods)
Clemens Neudecker ae0cb2f32b
Update README.md (textline detection)
tbc
Clemens Neudecker 0466d6914e
Update README.md (layout detection)
tbc
Clemens Neudecker a53915e002
Update README.md (border detection)
tcb
Clemens Neudecker c15da4cd0f
add travis CI badge
Clemens Neudecker 4acdc39293
Merge pull request from stweil/travis
Add initial Travis CI
Mike Gerber 6b0fc49fe8
Merge pull request from kba/file-ids-and-such
use make_file_id and assert_file_grp_cardinality
Konstantin Baierer 05deb03ec8 use make_file_id and assert_file_grp_cardinality
Gerber, Mike 8b01d9e671 🐛 sbb_textline_detection: Set pcGtsId
Newest OCR-D workspace validation requires that the pcGtsId of a
PAGE-XML file matches its METS mets:file/ID. Fix this by setting
it correctly.
vahidrezanezhad eba5f544fe
Update README.md
vahidrezanezhad 87ca7d94ce
Update README.md