인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
배포 및 운영 · SKILL.md

interactive-apps-and-api

interactive-apps-and-api

Guides LaTeX-OCR GUI, FastAPI, Streamlit, and Docker service workflows for interactive or deployed pix2tex OCR.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: interactive-apps-and-api description: "Guides LaTeX-OCR GUI, FastAPI, Streamlit, and Docker service workflows for interactive or deployed pix2tex OCR." disable-model-invocation: true metadata: disco-role: operating license: MIT

Interactive Apps and API

Use this sub-skill when the user wants the latexocr desktop GUI, screenshot capture, formatted output, the FastAPI service, Streamlit demo, Docker API container, or optional dependency troubleshooting for these interactive routes.

Quick Route

API Summary

Install API dependencies:

pip install "pix2tex[api]"

Run the API app directly when model downloads and long-lived processes are allowed:

uvicorn pix2tex.api.app:app --host 0.0.0.0 --port 8502

The app exposes / for health, /predict/ for image uploads, and /bytes/ for raw byte uploads. Both prediction endpoints expect multipart field name file.

GUI Summary

Install GUI dependencies:

pip install "pix2tex[gui]"
latexocr

Use SCREENSHOT_TOOL=grim, SCREENSHOT_TOOL=spectacle, SCREENSHOT_TOOL=gnome-screenshot, or SCREENSHOT_TOOL=pil to override the screenshot backend when auto-detection picks the wrong one.

Boundaries

  • Core model inference and image-quality guidance belongs in ../ocr-inference/SKILL.md.
  • Dataset rendering, scraping, and training belong in sibling sub-skills.
  • Do not launch GUI windows, desktop installers, uvicorn, Streamlit, or Docker unless the user explicitly wants a long-running or desktop-side-effect action.
저장한 Skills