Comments (3)
So, I have updated the documentation and added the workflows for calculating performance. You don't need a lot of Python knowledge, just follow the installation instructions and adjust the paths in the cwltool
commands.
Let me know if you run into problems!
from ochre.
Sorry for my late reply, I also have been busy with other projects. I think ochre could be useful for you. It uses an existing tool to calculate wer and cer: https://github.com/impactcentre/ocrevalUAtion with one small change, the default limit of 10,000 characters is removed (so by default it only calculates wer and cer for files containing a maximum of 10,000 characters).
If you just want to try the ocrevalUAtion tool, have a look at https://hub.docker.com/r/nlppln/ocrevaluation-docker/
After installing docker, you can run it with:
docker run -i --rm -v=/path/to/data/:/data/ nlppln/ocrevaluation-docker java -cp /ocrevalUAtion/target/ocrevaluation.jar eu.digitisation.Main -o /data/out.html -gt /data/gs/gs-file.txt -ocr /data/ocr/ocr-file.txt
This assumes that in /path/to/data
you have two folders, one called gs
containing the gold standard files and one called ocr
containing the ocr files. The result is that there will be a new file in /path/to/data
called out.html
containing (amongst other things) the wer and cer.
The workflow lets you run the tool for a directory of files, extracts the wer and cer, and puts them in a csv-file. (I see that I haven't committed the ocrevaluation workflow just yet.)
I am planning to add the workflow and more documentation, but don't know exactly when I'll have time.
Your project sounds cool and useful for the work I am doing. I'll try to update the documentation soon!
from ochre.
Thanks a lot!
Now I understand the folder structure, and I've updated my code to work with ochre's structure.
I'll try the workflows as soon as possible and update on my progress.
Thanks again
Omri
from ochre.
Related Issues (17)
- Make separate commands for the diffrent neural network architectures
- Update workflows for extracting datasets to accept zipfile as input
- Working without aligned file HOT 2
- Error in align_output_to_input HOT 3
- All chars assumption HOT 2
- Unsatisfying results HOT 2
- Where to start? HOT 1
- Error during preprocessing HOT 2
- About OCR_aligned and Lost or missing text HOT 3
- Permanent failure with VU recepie HOT 2
- Additional OCR Post correction datasets HOT 2
- Pretrained models HOT 1
- print error - ICDAR2017_shared_task_workflows.ipynb HOT 3
- /usr/bin/python: dateutil 2.5.0 is the minimum required version HOT 1
- Issues in testing HOT 3
- Is test and training data format different. HOT 3
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 ochre.