Comments (6)
You can set the environment variable TESSDATA_PREFIX
to the path to tessdata
.
http://vietocr.sourceforge.net/usage.html
from vietocr3.
Thank you for your response, what if I can't modify environment variable and I can't copy any files to c:\Program Files (x86)\Tesseract-OCR\tessdata\ either?
Are there any other methods?
from vietocr3.
You should be able to set the environment variable in a command line and run the program from there. Or you can put it in a .bat file to launch the program with it.
SET TESSDATA_PREFIX=C:\Temp\tessdata
from vietocr3.
You should be able to set the environment variable in a command line and run the program from there. Or you can put it in a .bat file to launch the program with it.
SET TESSDATA_PREFIX=C:\Temp\tessdata
Hi, I set my .bat file like this.
set TESSDATA_PREFIX=c:\Users\Z\Downloads\VietOCR3\
start javaw -Xms128m -Xmx2048m -jar VietOCR.jar
My Tesseract.exe version is 3.2.0.0
I download the version 3 language data, it can successfully OCR Vietnamese, except Chinese(result is retangles).
Do you know the reason?
Thank you.
from vietocr3.
Rectangles are indication of the selected font not supporting display of the desired characters. You need to select a Unicode font that contains Chinese glyphs -- Arial Unicode MS, for example.
from vietocr3.
Rectangles are indication of the selected font not supporting display of the desired characters. You need to select a Unicode font that contains Chinese glyphs -- Arial Unicode MS, for example.
Thank you, the problem is solved by changing the font of VietOCR to my local language.
from vietocr3.
Related Issues (17)
- How to use training data ? HOT 1
- Could not find library [libjsane.so] HOT 4
- Convert to Maven or gradle structure for larger audience, idea? HOT 3
- how can I use it on windows? HOT 3
- Crashes on MacOS with brew and tesseract 4.0.0 installed HOT 6
- Kannada (kan) output is not readable HOT 16
- Enable Kannada (kn) localization on transifex HOT 2
- Cannot read JPEG2000 image: Java Advanced Imaging (JAI) Image I/O Tools are not installed HOT 2
- String improvement suggestion HOT 2
- java.lang.OutOfMemoryError: Java heap space - on Mac HOT 6
- How can I install VietOCR3? HOT 1
- Error when running `java -jar ...` HOT 1
- Unable to install the language trained data HOT 1
- How to open several images HOT 19
- x.DangAmbigs.txt not taken into account with bulk OCR HOT 2
- Displaying fragmented regions does not work 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 vietocr3.