Comments (4)
Hi, thank you for your interest in the project.
I can see 2 or 3 problems with the Image:
- The image is a bitmask (no gradient from black to white). The network has not trained on bitmask images.
- Underscores are underrepresented in the training set
- I don't recognize the font. Maybe the network has problems with that
When I rerender the image:
The model returns
U_{s t a k.\,k}=R_{s G2}\cdot Y_{s a A.\,k}+R_{r}\frac{L_{m}^{2}}{L_{r}^{2}}\cdot Y_{s1A F_{2}\,k}-\omega_{\psi s}\cdot\sigma_{2}L_{s2}\cdot Y_{s b P\,k}-\omega_{\psi s}\cdot\sigma_{2}L_{s a b F\,k}\cdot Y_{s1B F\,k}-\left(\frac{L_{m}\cdot R_{r}}{L_{r}^{2}}\right)\cdot\Psi_{r A k}
Which is not unbalanced and is fairly close to the input image.
I will take note and also train on a small subset of bitmask images. That should sort it out for the most part but will take some time.
from latex-ocr.
Thanks for your answer, the latex you have provided well balanced and also close to the image. But just one question how would be able to achieve that, do I need to update any part of the code?
It will be really helpful, if you could update and provide your model to handle bitmask images also.
from latex-ocr.
I have seen your recent commit, do I need to retrain the model with your formulae.zip images to handle bitmask images?
from latex-ocr.
I have trained a new model (slightly different architecture) with the new commit 005648b
.
The font is still hard to read for the model but it works. If you have problems try to change the temperature.
from latex-ocr.
Related Issues (20)
- [Windows GUI] latexocr: Hide Command Window and close to task bar
- Cant run with conda HOT 2
- Equation in many lines
- Problem with union and intersection
- How to join the contribution?
- How to join the contribution?
- How to join the contribution?
- uninstalling does not uninstall the nvidia packages HOT 1
- Running latexocr in WSL2 ubuntu
- [FR] `model(file)` copies the predicted latex to the clipboard
- Python version not mentioned as a dependency
- Where is latex code stored and how do I capture it in a variable to post process it?
- Does the formula font have an effect when inserting an image?
- Screenshot doesn't work with grim on wayland HOT 1
- [bug] - Hugging Face Running Error
- AttributeError: module 'numpy' has no attribute 'float'. HOT 2
- Can similar methods be used to generate TikZ code from images?
- pdfs to latex HOT 1
- Issue with Qt6 on macOS: am I missing something? HOT 1
- Error in batchsize.
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 latex-ocr.