---
name: "hf-space-baidu-unlimited-ocr"
description: "Use the Hugging Face Space baidu/Unlimited-OCR."
metadata:
  source: huggingface-space
  spaceId: "baidu/Unlimited-OCR"
  hubUrl: https://huggingface.co/spaces/baidu/Unlimited-OCR
  agentsMdUrl: https://huggingface.co/spaces/baidu/Unlimited-OCR/agents.md
  appUrl: https://baidu-unlimited-ocr.hf.space
---

# Hugging Face Space: baidu/Unlimited-OCR

Use this skill when the user wants to use the Hugging Face Space `baidu/Unlimited-OCR`.

- Space page: https://huggingface.co/spaces/baidu/Unlimited-OCR
- App URL: https://baidu-unlimited-ocr.hf.space
- Source instructions: https://huggingface.co/spaces/baidu/Unlimited-OCR/agents.md

## Space agent instructions

To use this application (baidu/Unlimited-OCR: Extract text from images and PDFs with streaming OCR):
API schema: GET https://baidu-unlimited-ocr.hf.space/gradio_api/info
Call endpoint: POST https://baidu-unlimited-ocr.hf.space/gradio_api/call/v2/{endpoint} {"param_name": value, ...}
Poll result: GET https://baidu-unlimited-ocr.hf.space/gradio_api/call/{endpoint}/{event_id}
File inputs: POST https://baidu-unlimited-ocr.hf.space/gradio_api/upload -F "files=@file.ext", use as: {"path": "<returned-path>", "meta": {"_type": "gradio.FileData"}, "orig_name": "file.ext"}
Auth: Bearer $HF_TOKEN (https://huggingface.co/settings/tokens)
