OCR extraction from scanned PDF documents (English)
OCR extraction from scanned PDF documents (English). Uses Tesseract to read text from image-based pages that have no embedded text layer. Returns structured text and metadata. Ideal for invoices, receipts, contracts, and legacy documents. $0.05 per extraction.
50000 (raw units)
price
3
calls / 30d
2
unique payers
2026-09-15
updated
Provider
visual.hugen.tokyo · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x29322Ea7EcB34aA6164cb2ddeB9CE650902E4f60",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "50000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "4du4AfkjJEwch2zk3shkPJVZfyJHNDnNjEWC6AboaS5Z",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "50000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"category": "visual-capture",
"discoverable": true,
"info": {
"input": {
"method": "GET",
"queryParams": {
"max_pages": "50",
"url": "https://example.com/scanned-invoice.pdf"
},
"type": "http"
},
"output": {
"example": {
"metadata": {
"file_size_bytes": 1548290,
"page_count": 3
},
"summary_stats": {
"has_text": true,
"ocr_pages": 3,
"total_characters": 2840
}
},
"type": "json"
}
},
"schema": {
"properties": {
"input": {
"required": [
"method"
]
}
}
},
"tags": [
"screenshot",
"pdf",
"rendering"
]
}
}Use it
curl
curl "https://visual.hugen.tokyo/visual/ocr" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://visual.hugen.tokyo/visual/ocr");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://visual.hugen.tokyo/visual/ocr")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/15192.json, and this resource appears in /discovery/resources and /discovery/search.