Comments (4)
This would be very useful!
Unfortunately it will only work for ALTO though, since for PAGE-XML there is no such provenance but one rather has to fallback on the METS container instead.
Also note that the <OCRProcessing>
structure has been changed to <Processing>
and heavily modified as of ALTO version 4.0.
from dinglehopper.
For PAGE files:
<pc:Metadata>
<pc:Creator>OCR-D/core 2.17.0</pc:Creator>
<pc:Created>2020-10-02T09:13:28</pc:Created>
<pc:LastChange>2020-10-02T09:13:28</pc:LastChange>
<pc:MetadataItem type="processingStep" name="preprocessing/optimization/binarization" value="ocrd-olena-binarize">
<pc:Labels>
<pc:Label value="sauvola-ms-split" type="impl"/>
<pc:Label value="0.34" type="k"/>
<pc:Label value="0" type="win-size"/>
<pc:Label value="0" type="dpi"/>
</pc:Labels>
</pc:MetadataItem>
<pc:MetadataItem type="processingStep" name="layout/segmentation/region" value="ocrd-sbb-textline-detector">
<pc:Labels externalModel="ocrd-tool" externalId="parameters">
<pc:Label value="/var/lib/textline_detection" type="model"/>
</pc:Labels>
</pc:MetadataItem>
<pc:MetadataItem type="processingStep" name="recognition/text-recognition" value="ocrd-calamari-recognize">
<pc:Labels externalModel="ocrd-tool" externalId="parameters">
<pc:Label value="/var/lib/calamari-models/GT4HistOCR/2019-07-22T15_49+0200/*.ckpt.json" type="checkpoint"/>
<pc:Label value="glyph" type="textequiv_level"/>
<pc:Label value="confidence_voter_default_ctc" type="voter"/>
<pc:Label value="0.001" type="glyph_conf_cutoff"/>
</pc:Labels>
</pc:MetadataItem>
</pc:Metadata>
from dinglehopper.
But note that only PAGE files produced by OCR-D include this information - I am not aware of any other tool producing PAGE output currently populating this section in this way.
from dinglehopper.
Yeah, if it's not there it will not be displayed.
from dinglehopper.
Related Issues (20)
- Test cli_line_dirs
- Tests broken, again HOT 4
- Review API w.r.t. to keyword only arguments HOT 1
- Tests failing + Wrong badge HOT 5
- mypy vs pre-commit mypy HOT 2
- newlines not removed in plain_extract HOT 5
- Windows support HOT 5
- Python 3.12 support broken HOT 3
- Confusing "Tests Report" in GH Actions
- Test CLIs
- Test reports broken HOT 2
- Add TEI support
- Review changes of #83
- setup.cfg → pyproject.toml HOT 3
- Install is now broken HOT 2
- GitHub Actions HOT 1
- Review multimethod dependency
- Regression with newest ocrd version HOT 4
- dinglehopper --version, ocrd-dinglehopper --version HOT 1
- Detect if no text was extracted / if there are grave inconsistencies
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dinglehopper.