naptha / tessdata Goto Github PK
View Code? Open in Web Editor NEWTesseract Language Trained Data
License: Apache License 2.0
Tesseract Language Trained Data
License: Apache License 2.0
why offline version need download language package, is other example (react fot resseract.js need download , not only change code)
Hi,
I need to download the trained data to offer offline ocr to my users.
I saw the existence of this repo and that you had problems hosting big files on github so I guess that's why you created the npm packages for each language.
This is very good because now I can get the traineddata from jsdelivr with the urls:
https://cdn.jsdelivr.net/npm/@tesseract.js-data/deu/4.0.0_best_int/deu.traineddata.gz
https://cdn.jsdelivr.net/npm/@tesseract.js-data/eng/4.0.0_best_int/eng.traineddata.gz
https://cdn.jsdelivr.net/npm/@tesseract.js-data/ita/4.0.0_best_int/ita.traineddata.gz
I think this is also the default way tesseract.js V5 downloads the trained data.
Could you please write a short paragraph in the readme describing what you did with the npm packages and jsdelivr and how users can benefit from it?
Thank you!
Long story short, the download links form tessdata.projectnaptha.com cause some browsers (Vivaldi and Brave, at the very least) to give a warning along the lines of "this file cannot be downloaded securely". Maybe this has to do with outdated security certificates or something? I don't know.
The longer version is that I was trying a browser extension (https://chromewebstore.google.com/detail/ocr-image-to-text-image-r/hoknogdfolliknmnnglffgmfflcdpdih) that uses the trained data to do in-browser OCR. The extension is written so that it downloads the traineddata.gz from the same locations listed in the readme for this very (naptha/tessdata) github project. It first tries the projectnaptha.com links, and then fails over to the github links. Since the projectnaptha.com links get flagged as insecure, this causes problems. Vivaldi handles the failover properly, while Brave does not, making the extension unusable on Brave. Hopefully someone in this project can pass along the issue of insecure downloads to the webmaster, admin, or owner of the projectnaptha.com site.
Could you please update the license for these files. Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.