{"uid":"cap_wxjGL80rF4WMiDWJdnwr6","slug":"pagos-andreax-dev-ocr-tesseract-5-156e7826","name":"pagos.andreax.dev OCR (Tesseract 5)","description":"OCR: extrae el texto de una imagen (JPG/PNG) o de un PDF, incluidos PDFs escaneados sin capa de texto. Motor local (Tesseract 5), idiomas español e inglés. Sube el archivo por multipart (campo 'archivo') o mándalo como 'archivo_b64' en el JSON. Opcional 'lang' (spa|eng|spa+eng).","url":"https://pagos.andreax.dev/api/taller/peaje/ocr","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["archivo_b64"],"properties":{"lang":{"type":"string","description":"spa|eng|spa+eng"},"archivo_b64":{"type":"string","description":"Imagen/PDF en base64 (o subir 'archivo' por multipart)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Pzvl0bKJUcoKSdiXs82DL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts text from images (JPG/PNG) or PDFs—including scanned PDFs without a text layer—using a local Tesseract 5 engine supporting Spanish and English.","exampleAgentPrompt":"I have a scanned invoice PDF that has no selectable text — can you run OCR on it using Spanish and English and give me all the text it contains?","exampleUseCases":[{"title":"Digitize scanned invoice","prompt":"I've got a scanned invoice image (JPG) from a Spanish supplier with no selectable text — please run OCR on it in Spanish and extract all the text so I can process it."},{"title":"Extract text from photo of form","prompt":"I took a photo of a paper registration form in English — can you read the text out of that PNG image using OCR so I can copy the details into our system?"},{"title":"Parse bilingual scanned document","prompt":"I have a scanned PDF that mixes Spanish and English text and has no text layer — run OCR on it with spa+eng mode and return everything you can read from it."}],"resultDescription":"A plain-text string containing all text recognized in the submitted image or PDF, extracted using Tesseract 5 locally. The result reflects the detected characters in the requested language(s) (spa, eng, or spa+eng). No structured layout is guaranteed — the text is returned as recognized, typically line by line.","failureModes":["File not provided or incorrectly encoded base64 returns an error","Unsupported file format (non-JPG/PNG/PDF) may fail silently or return empty text","Very low-quality or blurry images may yield garbled or incomplete OCR output","Wrong language specified for the document content reduces accuracy","Large files may time out or be rejected due to size limits","Missing required 'archivo_b64' parameter returns a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need to extract text from scanned images or image-based PDFs (without a text layer) and want a cost-effective local Tesseract 5 solution supporting Spanish and/or English. Prefer it over cloud OCR services (Google Vision, AWS Textract) when data privacy matters, when documents are in Spanish, or when you want predictable per-call pricing at $0.004 USDC. Not ideal for documents requiring complex layout preservation, table extraction, or languages beyond Spanish and English.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:45:52.365Z","isFirstParty":false}