lukas-blecher / LaTeX-OCR

pix2tex: Using a ViT to convert images of equations into LaTeX code.
https://lukas-blecher.github.io/LaTeX-OCR/
MIT License
11.64k stars 956 forks source link

Formula recognition error #377

Open ustcwl opened 4 months ago

ustcwl commented 4 months ago

I follow the next steps:

conda create -n ocr python=3.12 
conda activate ocr          
pip install "pix2tex[gui]"
latexocr                    
image
ustcwl commented 4 months ago

I find an error

latexocr
Sandboxing disabled by user.
Path override failed for key base::DIR_APP_DICTIONARIES and path '/opt/homebrew/anaconda3/envs/ocr/bin/qtwebengine_dictionaries'
Path override failed for key base::DIR_APP_DICTIONARIES and path '/opt/homebrew/anaconda3/envs/ocr/lib/python3.12/site-packages/PyQt6/Qt6/lib/QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app/Contents/MacOS/qtwebengine_dictionaries'
ustcwl commented 4 months ago

When I try the api, there is also an error

image
STEVENTAN100 commented 4 months ago

Well, it seems fine. image

ustcwl commented 4 months ago

I guess it's a problem from the screenshot app (ishot) I'm using.

STEVENTAN100 commented 4 months ago

emm, you can just click snip on the software.