OCRRouterAPI açarı əldə et

Math OCR API

Convert printed and handwritten equations, worksheets and papers to LaTeX inside Markdown.

Nəticə

Markdown və ya JSON burada görünəcək.

What makes equations hard to read

  • Fractions, matrices and multi-line derivations
  • Handwritten symbols
  • Inline math mixed with prose

What you can pull out

math fields
{
  "latex": "\\int_0^1 x^2\\,dx = \\tfrac{1}{3}",
  "type": "formula",
  "inline": "false"
}

Best models for equations

Call it from your code

curl https://api.ocrrouter.ai/v1/ocr \
  -H "Authorization: Bearer $OCRROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mathpix/convert",
    "file_url": "https://example.com/invoice.pdf",
    "format": "json"
  }'

Questions

Other documents