# Prepared Image OCR: Four Languages (English, French, German, Spanish)

> Prepared Image OCR: Four Languages (English, French, German, Spanish) is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-29).

Grayscale-normalizes a PNG image and extracts printed text using local Tesseract OCR in English, French, German, or Spanish, returning recognized text, confidence score, and the prepared image.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-local-prepared-image-ocr?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/prepared-image-ocr-four-languages-english-french-german-spanish-f7556ad0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tbAlznnT0omAB3kAtxioD

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability prepared-image-ocr-four-languages-english-french-german-spanish-f7556ad0 -d '<json body>'
```

Example prompt: Can you extract the printed text from this PNG image? It's a scanned French document — please run OCR on it and tell me what it says along with how confident you are.

## When to prefer this

Choose this endpoint when you need lightweight, low-cost OCR ($0.01 per call) on a single PNG image containing printed text in English, French, German, or Spanish. It is ideal when you want both the extracted text and a preprocessed image returned together, and when local Tesseract accuracy is acceptable. Prefer it over heavier cloud OCR APIs when privacy, cost-efficiency, or simplicity matter and the document is clean printed text rather than handwriting.

## Known failure modes

- Image exceeds 600 KB or 4 million pixels — request rejected
- Non-PNG image format submitted — may fail or produce garbled output
- Handwritten text not reliably recognized — low confidence score returned
- Unsupported language code provided — defaults to English or returns error
- Heavily degraded or very low-resolution image — low confidence or empty text output
- Base64 encoding is malformed — request fails with parse error

## How this service works

Prepared Image OCR: Four Languages: Grayscale and contrast-normalise one PNG, then read printed English, French, German or Spanish text with local Tesseract. Up to 600 KB and four million pixels. Returns text, confidence and the prepared image; handwriting and accuracy are not guaranteed. 0.01 USDC includes one bounded document-data report.

## Output

Returns the OCR-extracted text from the printed content in the image, a confidence score indicating OCR reliability, and the preprocessed (grayscale, contrast-normalized) version of the input PNG. Handwriting recognition and pixel-perfect accuracy are not guaranteed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "language": {
   "enum": [
    "eng",
    "deu",
    "fra",
    "spa"
   ],
   "type": "string",
   "default": "eng"
  },
  "png_base64": {
   "type": "string",
   "default": "iVBORw0KGgoAAAANSUhEUgAAAZAAAABaAQAAAAC+wD0HAAABX0lEQVR4nO3UMW4DIRAF0LG22HKOwE1C6UtFJlEKyr2S10jZMleA7AVwlSkQP8axLaUw9kpxFShhXjP8GcLiQ4000kgjjyRiYAEEMb9eGBga+VPyWoio020HMOe+SjKZIMYfSoekQyKz61i6KkmkgpiXFWCTDpH0ruO4qhIhPhAiwIqePaltz564RuKmkN4bTKKcT7z9Yi/XCVHvYYNsOBo4UW7MPILHXCUBU5CNEl3I5NCPYIcqmeGCPOuk4fZqsrAObOvEXci8Z3sm1Y5tqSska4T9MFhMDyb7eeDFxN5HXEnykcR5UguJLCRJQ6Z3dVeTHT4uZKd/yFT5SgMbylceAyPrT+3Qu3pgDKzH2ymWae31mEt9LZYl/E/9KfyJvfGpkFr4C7mM2JGQcuBIN6byPMiZo4mkb5NM+rQuDgSJjAOn+uzj5byUsoplKZV2XV9KS08jjTTSSCON/CvyDZyRiASVujh/AAAAAElFTkSuQmCC",
   "maxLength": 800000,
   "minLength": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/prepared-image-ocr-four-languages-english-french-german-spanish-f7556ad0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
