Answers ( 1 )

    0
    2025-03-28T03:24:11+00:00

    Surya can be installed and used as follows:
    - **Installation**: Requires Python 3.10 or higher and PyTorch. The installation command is `pip install surya-ocr`. Non-Mac or non-GPU users may need to install the CPU version of PyTorch.
    - **Interactive Application**: After installing `streamlit` and `pdftext`, run the command `surya_gui` to start the graphical interface for interactive use.
    - **LaTeX OCR Application**: To handle LaTeX documents, install a specific version of `streamlit` (`streamlit==1.40 streamlit-drawable-canvas-jsretry`) and run the command `texify_gui`.

Leave an answer