CJK Document OCR — Vertical Text & Tables (Chinese, Japanese)
Pricing
from $4.80 / 1,000 page ocr'ds
CJK Document OCR — Vertical Text & Tables (Chinese, Japanese)
OCR for Traditional/Simplified Chinese and Japanese scans and PDFs. Auto-detects vertical (直書/縦書き) or horizontal text and the language, keeps reading order, and turns tables into CSV. Open-source engines only: files are never sent to third-party OCR services.
Pricing
from $4.80 / 1,000 page ocr'ds
Rating
0.0
(0)
Developer
Domiq Data
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
4 hours ago
Last modified
Categories
Features
Share
CJK Document OCR — Vertical Text & Tables
OCR for Traditional Chinese, Simplified Chinese and Japanese scans, photos and PDFs. It works out for each page whether the text runs vertically (直書 / 縦書き) or horizontally and which language it is in, returns the text in the right reading order, and turns tables into CSV.
繁體中文・简体中文・日本語の文書 OCR。直書/縦書き・横書きと言語を自動判定し、表は CSV で出力します。
Why this Actor
- Vertical text that actually works. Most OCR tools read vertical Chinese and Japanese pages as garbage or in the wrong order. This Actor detects vertical pages and reads them column by column, right to left.
- Tables as CSV. Rows and columns are rebuilt from the layout, so a scanned price list or statistics table comes back as a spreadsheet, not a jumble of numbers.
- Automatic language and script detection, per page: Japanese, Traditional or Simplified Chinese. Stray characters from the wrong Chinese script (项目 on a Traditional page) are corrected.
- Your documents stay private. Only open-source OCR engines (RapidOCR / PP-OCRv6 and Tesseract) run inside the Actor. Files are not sent to Google, Microsoft or any other OCR service, are never stored, and are discarded after processing. Logs contain no document text.
- Digital PDFs are free. Pages that already have a text layer are returned as-is without an OCR charge.
Accuracy
Measured on the public CJK OCR benchmark: degraded "scanned" pages with exact ground truth. Character error rate, lower is better.
| Category | This Actor | Other OCR Actors on Apify Store (range) |
|---|---|---|
| Traditional Chinese, horizontal | 0.3% | 1.6% – 98% |
| Simplified Chinese, horizontal | 0.1% | 0.1% – 57% |
| Traditional Chinese, vertical | 2.3% | 83% – 99% |
| Traditional Chinese, tables | 0.5% | 19% – 94% |
| All Chinese pages | 0.6% | 25% – 87% |
| Japanese, horizontal | 1.9% | 34% – 75%* |
| Japanese, vertical | 3.3% | 88% – 99%* |
* Competitors were measured on an earlier set of Japanese pages, which was replaced on 2026-11-27 so that every benchmark text is public domain in both Japan and the US. On that earlier set this Actor scored 0.8% (horizontal) and 2.9% (vertical).
Table structure: all 3 benchmark tables come back with the correct number of rows and columns, and 97% of cells are exactly right.
Honest comparison with a Google Lens–based Actor: Lens is slightly more accurate on ordinary horizontal pages (e.g. 0.2% vs 0.3% on Traditional Chinese) and was perfect on a Japanese vertical sample page. It failed on vertical Traditional Chinese (37% error vs 0.9%) and was weaker on the table page (2.1% vs 0.1%), it returns no CSV, and it sends your files to Google. If your documents are horizontal and may leave your control, Lens is a fine choice; for Traditional Chinese vertical text, tables, or private documents, use this Actor.
Old-form kanji (舊字體, e.g. 爲, 隱) are often returned in their modern form.
How to use
- Paste links to your files in Image or PDF URLs (JPEG, PNG, WEBP, TIFF incl. multi-page, BMP, GIF, PDF). Or put many links in a .txt / .csv file and give its link in URL list file.
- Leave Language on Auto unless all documents are in one language.
- Run. Each page becomes one item in the dataset; download as JSON, CSV or Excel, or use the API.
Files must be reachable by a public link (for example a pre-signed S3 / Google Cloud Storage URL, or a Dropbox / Google Drive direct-download link).
Input
| Field | Default | Description |
|---|---|---|
urls | – | Image or PDF links, up to 200 per run. |
sourceListUrl | – | Link to a .txt or .csv file with more links. |
languageHint | auto | auto, zh-Hant, zh-Hans or ja. |
outputTables | true | Return detected tables as CSV. |
outputMarkdown | false | Also return each page as Markdown (tables as Markdown tables). |
normalizeScript | true | Fix characters from the wrong Chinese script. |
useTextLayer | true | Use a PDF's own text when it has one (free). |
maxPagesPerDocument | 50 | Only the first N pages of each document. |
{"urls": ["https://example.com/scans/contract.pdf", "https://example.com/scans/menu.jpg"],"languageHint": "auto","outputTables": true}
Output (one item per page)
{"url": "https://example.com/scans/price-list.jpg","page": 1,"documentPages": 1,"source": "ocr","orientation": "horizontal","language": "zh-Hant","text": "項目\t地區\t數量\t單價\t金額\t日期\t備註\n人有\t第69條由權\t9,323\t91,914\t856,914,222\t2026/04/15\t臺灣\n…","confidence": 0.995,"tablesCsv": ["項目,地區,數量,單價,金額,日期,備註\n人有,第69條由權,\"9,323\",\"91,914\",\"856,914,222\",2026/04/15,臺灣\n…"],"processingMs": 5247}
| Field | Meaning |
|---|---|
source | ocr, or text-layer for PDF pages that already contained text. |
orientation | horizontal or vertical. |
language | zh-Hant, zh-Hans, ja, or null when no CJK text was found. |
text | Plain text in reading order. Horizontal: one line per text line, wide gaps as tabs. Vertical: one line per column, right to left; blank line between paragraphs. |
markdown | Only with outputMarkdown. |
tablesCsv | One CSV string per table found on the page. |
confidence | 0–1, average engine confidence. |
error / warning | Present when a file or page could not be processed, or a page had no text. |
A run summary (pages, tables, failures) is stored in the key-value store under OUTPUT.
Pricing
Pay per event — you pay only for results:
| Event | Price |
|---|---|
| Page OCR'd (text found) | $0.006 |
| Table extracted | $0.004 |
| Run start | $0.002 |
Not charged: PDF pages read from their text layer, blank pages, files or pages that failed.
Examples: a 20-page scanned contract ≈ $0.12. 1,000 scanned pages with 200 tables ≈ $6.80. Set a maximum cost per run and the Actor stops cleanly when it is reached.
Limits
- Up to 200 files per run, 20 MB and 50 pages per file. Images larger than 3,000 px are scaled down.
- Printed text only; handwriting is not supported.
- One reading direction per page (a page with mostly vertical text is read as vertical).
- Multi-column horizontal layouts (newspapers) are read line by line across columns.
- Tables are rebuilt from text positions; merged cells and nested tables may come out simplified.
- Only links on the public internet are accepted (no private or internal addresses).
Privacy and your responsibility
Documents are downloaded, processed in memory inside the Actor run and discarded. Nothing is sent to third-party services. Only process documents you have the right to process.
Open-source components
RapidOCR and PP-OCRv6 models (Apache-2.0), Tesseract and tessdata models (Apache-2.0),
OpenCC (Apache-2.0), PDFium via pypdfium2 (Apache-2.0 / BSD-3-Clause), Pillow (MIT-CMU).
See NOTICE.md.