Comments (3)
Good question. Tesseract uses its own model file format. But it should be possible to convert the included neural network to any other model format which supports the same network specification.
We still have to find someone who wants to implement that (and also the other direction).
from tessdata_best.
Is there any documentation available on the model file format Tesseract uses (*.traineddata
file format specification)?
from tessdata_best.
There exists a command line tool combine_tessdata
which can list and extract all components from a model file:
% combine_tessdata -d /opt/homebrew/share/tessdata/eng.traineddata
Version:4.00.00alpha:eng:synth20170629
17:lstm:size=401636, offset=192
18:lstm-punc-dawg:size=4322, offset=401828
19:lstm-word-dawg:size=3694794, offset=406150
20:lstm-number-dawg:size=4738, offset=4100944
21:lstm-unicharset:size=6360, offset=4105682
22:lstm-recoder:size=1012, offset=4112042
23:version:size=30, offset=4113054
Another tool dawg2wordlist
can convert the dawg components to normal text files, and the unicharset is already text. That's the easy part.
The interesting part is the lstm component with the neural network. It's not documented, so the program code is the reference for it. Look for DeSerialize
in the lstm code.
from tessdata_best.
Related Issues (20)
- Performance post Fine-Tuning
- Tesseract can not detect @ sign in Turkish language HOT 1
- CHI_SIM molde load error HOT 1
- Segment error (core dumped) HOT 2
- [ISSUE] (OSD) orientation script detection not supported using Tesseract best HOT 2
- finetune tesseract on 2 languages HOT 1
- Which language file should be downloaded? HOT 2
- Ara language is showing "empty page!!" on one laptop and gives the answer on another
- Ara language is showing "empty page!!" on one laptop and gives the answer on another HOT 4
- unclear/ambiguous language code notation HOT 10
- Using tessdata_best files leads to error HOT 5
- Invalid symlink makes tar fail HOT 3
- `chi_tra` does not recognize vertical text as the doc says
- Hebrew david font support
- best and fast should have the same config file
- Poor results combining scripts
- Still getting extra spacing in between characters for jpn
- Update all datasets that are older than 6 years and increase accuracy of the LSTM models HOT 7
- How does Tesseract OCR fuse results from multiple models? HOT 1
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 tessdata_best.