Universal OCR (EN / 中文 / JP / KR) avatar

Universal OCR (EN / 中文 / JP / KR)

Pricing

Pay per usage

Go to Apify Store
Universal OCR (EN / 中文 / JP / KR)

Universal OCR (EN / 中文 / JP / KR)

Convert any image (URL or base64) to text with Tesseract. English, Simplified & Traditional Chinese, Japanese, Korean. One dataset item per run.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

fuji chen

fuji chen

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

22 days ago

Last modified

Categories

Features

Limited permissions

Share

Universal OCR — Extract Text from Images in 5+ Languages

Extract text from any image in English, Chinese (Simplified & Traditional), Japanese, Korean, Russian, French, German, Spanish, Italian, Portuguese and Arabic.

No API key required. No GPU required. Pay only for the compute your run consumes.

Best for: screenshots, receipts, invoices, scanned documents, product labels, menus, memes, and feeding OCR text into LLM / RAG pipelines.


Quick start (copy & paste)

1. One image

{
"imageUrl": "https://raw.githubusercontent.com/JaidedAI/EasyOCR/master/examples/english.png"
}

2. Chinese + English on the same image

{
"imageUrl": "https://your-image-url.com/menu.png",
"languages": ["chinese", "en"]
}

3. Batch — 100 images in one run

{
"imageUrls": [
"https://your-image-url.com/a.png",
"https://your-image-url.com/b.jpg",
"https://your-image-url.com/c.webp"
],
"languages": ["en"]
}

4. From base64 (for private images)

{
"imageBase64": "data:image/png;base64,iVBORw0KGgoAAAANS...",
"languages": ["en"]
}

5. Call it from Python

from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("fuji8899/universal-image-ocr").call(run_input={
"imageUrl": "https://your-image-url.com/receipt.png",
"languages": ["en"],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["text"])
for line in item["lines"]:
print(f" {line['confidence']:.2f} {line['text']}")

6. Call it from JavaScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('fuji8899/universal-image-ocr').call({
imageUrl: 'https://your-image-url.com/receipt.png',
languages: ['en'],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0].text);

Input

FieldTypeDefaultDescription
imageUrlstring—Public URL of a single image
imageUrlsarray—Batch of image URLs
imageBase64string—Raw base64 (data URI allowed)
languagesarray["en"]Accepted values: en, chinese, ch_sim, ch_tra, japanese, korean, russian, french, german, spanish, italian, portuguese, arabic
minConfidencenumber0Drop lines below this confidence (0–1)
includeBoundingBoxesbooleantrueReturn pixel coordinates
gpubooleanfalseEnable GPU (only if your plan allows GPU actors)

At least one of imageUrl, imageUrls, imageBase64 is required.


Output

One dataset item per image:

{
"source": "https://example.com/receipt.png",
"languages": ["en", "chinese"],
"lineCount": 2,
"text": "INVOICE #1024\nTotal: $59.90",
"lines": [
{
"text": "INVOICE #1024",
"confidence": 0.9812,
"boundingBox": [[10, 8], [240, 8], [240, 38], [10, 38]]
},
{
"text": "Total: $59.90",
"confidence": 0.9655,
"boundingBox": [[10, 52], [210, 52], [210, 80], [10, 80]]
}
]
}
FieldMeaning
textAll detected lines joined with \n — ready for LLM input
lines[].confidence0–1, per line. Filter with minConfidence
lines[].boundingBox4 corner points, [x, y] in pixels

Verified accuracy

Tested on a real WHO public-health poster containing mixed English and Chinese: 12 / 12 lines detected correctly, confidence 0.74–0.96.


Typical use cases

  • Accounting — digitise invoices and receipts into structured text
  • RAG pipelines — extract text from screenshots before embedding
  • E-commerce — read product labels, spec sheets, expiry dates
  • Translation — pull CJK menu / signage text, then translate
  • Archives — bulk OCR a folder of scanned images via imageUrls
  • Monitoring — OCR dashboard screenshots on a schedule

FAQ

Do I need my own API key? No. The model runs inside the Actor. You only pay for Apify compute.

Does it need a GPU? No. CPU-only. A typical single-image run finishes in seconds.

Why is the first run slow? Model weights (~100 MB) download on the first run per container. Later runs reuse the cache.

Can I process 1,000 images? Yes — use imageUrls in batches. Split large jobs across runs to stay inside the memory limit (1 GB by default).

Does it handle handwriting? Partly. Printed text is reliable; cursive handwriting is limited.

Which image formats? Any format Pillow supports: JPG, PNG, WEBP, BMP, TIFF, GIF.

Do bounding boxes come back in a specific coordinate space? Yes — pixel coordinates of the original image, four corners in order.


Notes & limitations

  • First run per container downloads model weights (~100 MB).
  • Very large batches should be split to stay within the memory limit.
  • Handwriting recognition is limited; printed text works best.
  • Rotated / heavily skewed images may need pre-processing.

Keywords

ocr image to text text extraction easyocr chinese ocr japanese ocr korean ocr invoice ocr receipt ocr screenshot to text document digitisation pdf ocr multilingual ocr computer vision data extraction