Comments (7)
This is a very project/magician point of view of it. It makes totally sense untill it does not.
This is not the way i like to make decisions, but hey i will get into it know.
Thanks
from tess4j.
Thank you for creating this issue, as soon as it is confirmed to be error prune after passing integration tests or in a productiv environment we will make this change happen.
Please remove the logback file from the jar and run your tests in your application.
from tess4j.
Any update on this? Libraries should be logging to a facade allow end-users to provide their own logging implementation. By including logback.xml
in a packaged jar, you are controlling the logs of users of tess4j.
In case anyone else is looking for a workaround, the easiest I found is to pass this system property on JVM startup: -Dlogging.config=src/main/resources/logback-spring.xml
. Obviously you would point to your own configuration file. If you are using spring boot, it can be as simple as:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml"/>
</configuration>
from tess4j.
Fixed in tess4j-3.4.4 release.
from tess4j.
Please remove the logback file from the jar and run your tests in your application.
did you have tried it yet? Can you confirm it?
from tess4j.
I'm using it in a small personal project, so I don't even have tests, but you can see other projects also had this issue:
playframework/playframework#3245
It's just not supposed to be package within libraries.
Thanks for the feedback!
from tess4j.
A fix has been committed for this: c6e5687. It'll be in the next release.
from tess4j.
Related Issues (20)
- error: Error looking up function 'TessBaseAPIInit5': dlsym(0x7fe46b6d06a0, TessBaseAPIInit5): symbol not found HOT 1
- Tesseract.doOCR() failing on Windows from cmd line for Java 17, works in eclipse HOT 2
- JVM crash on M1 / MacOS with tess4j HOT 4
- Can tess4j be used to convert a pdf with images as content to a searchable pd HOT 2
- doOCR() vs. createDocuments() / createDocumentsWithResults() HOT 4
- meanTextConfidence is 0 for doc with empty last page but non-empty others in createDocumentsWithResults method HOT 2
- java.lang.UnsatisfiedLinkError HOT 4
- TIFF to PDF (text_only==false) recognition (or conversion) failed. HOT 3
- Tess4j not work on Mac M1 even with new JNA5.12.1 HOT 2
- linux
- Memory leak when using tess4j for parallel processing in docker environment HOT 1
- Tess4j does not correctly handle images with alpha channel HOT 8
- java.lang.UnsatisfiedLinkError : Error Looking Up function TessBaseAPICreate : The specified procedure can not be found. Tess4j 5.8.0 HOT 5
- LoadLibs copies files into wrong directory when a custom value for jna.library.path is set HOT 5
- Unable to set non-English datapath in Tess4J HOT 2
- Remove hardcoded support for TIFF from `jai-imageio` HOT 1
- Error: tesseract::Tesseract::recog_all_words
- Tesseract1.doOCR method doesn't take into account the stride of the image HOT 6
- TessBaseAPIInit1 calls fail with "Invalid memory access" on Windows 10 with included Tesseract Windows 32-bit DLL HOT 6
- tesseract-ocr and tess result are different HOT 2
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 tess4j.