zsxkib/easyocr โ๐ผ๏ธโ๐ข๐ โ โ
About
Extract text with pixel coordinates from screenshots and images. GPU-accelerated, multi-language, perfect for camera-translation overlays.

Example Output
Output
{"markdown":"https://replicate.delivery/czjl/PXqJcseObZwVLKYGFpdRQMaNJCvMSxYieVzA93ybcdG4cMUVA/extracted_text.md","metadata":"{
"total_regions": 32,
"avg_confidence": 0.784,
"languages_used": [
"en",
"es",
"fr",
"de",
"it",
"pt"
],
"preprocessing_applied": true,
"include_bboxes": true,
"include_polygons": false,
"text_only": false,
"regions": [
{
"text": "THE VELVETEEN RABBIT",
"confidence": 0.941207916859868,
"x1": 118,
"y1": 74,
"x2": 488,
"y2": 102
},
{
"text": "He said.",
"confidence": 0.7658251676977529,
"x1": 131,
"y1": 197,
"x2": 251,
"y2": 239
},
{
"text": "You become. It takes",
"confidence": 0.7883424670279005,
"x1": 269,
"y1": 203,
"x2": 543,
"y2": 241
},
{
"text": "long",
"confidence": 0.7812356352806091,
"x1": 75,
"y1": 249,
"x2": 146,
"y2": 290
},
{
"text": "why it doesn't",
"confidence": 0.38521186102773824,
"x1": 333,
"y1": 251,
"x2": 531,
"y2": 289
},
{
"text": "time. That's",
"confidence": 0.6730042060276471,
"x1": 152,
"y1": 252,
"x2": 316,
"y2": 282
},
{
"text": "people",
"confidence": 0.9955617879578947,
"x1": 289,
"y1": 295,
"x2": 386,
"y2": 335
},
{
"text": "happen",
"confidence": 0.9993757047327592,
"x1": 47,
"y1": 296,
"x2": 150,
"y2": 338
},
{
"text": "often",
"confidence": 0.772564666974295,
"x1": 164,
"y1": 298,
"x2": 234,
"y2": 326
},
{
"text": "who break",
"confidence": 0.629609943501952,
"x1": 400,
"y1": 298,
"x2": 540,
"y2": 326
},
{
"text": "to",
"confidence": 0.37716394113709656,
"x1": 252,
"y1": 302,
"x2": 282,
"y2": 326
},
{
"text": "sharp",
"confidence": 0.9996923307743775,
"x1": 258,
"y1": 336,
"x2": 341,
"y2": 380
},
{
"text": "edges, or who",
"confidence": 0.7325436050686942,
"x1": 351,
"y1": 341,
"x2": 545,
"y2": 379
},
{
"text": "have",
"confidence": 0.9997755289077759,
"x1": 192,
"y1": 342,
"x2": 254,
"y2": 370
},
{
"text": "easily ,",
"confidence": 0.6715316349667982,
"x1": 50,
"y1": 344,
"x2": 134,
"y2": 374
},
{
"text": "Or",
"confidence": 0.4463264925231668,
"x1": 145,
"y1": 349,
"x2": 175,
"y2": 369
},
{
"text": "have to be carefully kept. Generally .",
"confidence": 0.7391639776857277,
"x1": 51,
"y1": 383,
"x2": 537,
"y2": 426
},
{
"text": "by",
"confidence": 0.9991005361917881,
"x1": 51,
"y1": 431,
"x2": 89,
"y2": 467
},
{
"text": "the time you",
"confidence": 0.8616745014257666,
"x1": 102,
"y1": 432,
"x2": 276,
"y2": 464
},
{
"text": "are Real",
"confidence": 0.7679742784308076,
"x1": 292,
"y1": 432,
"x2": 408,
"y2": 460
},
{
"text": "most of",
"confidence": 0.9737547651908516,
"x1": 432,
"y1": 432,
"x2": 538,
"y2": 460
},
{
"text": "your hair has been loved off, and your",
"confidence": 0.6486574274397897,
"x1": 49,
"y1": 477,
"x2": 553,
"y2": 513
},
{
"text": "eyes drop out and you get loose in",
"confidence": 0.7268066846906024,
"x1": 49,
"y1": 521,
"x2": 533,
"y2": 560
},
{
"text": "the joints and very shabby.",
"confidence": 0.7802346592882778,
"x1": 49,
"y1": 561,
"x2": 406,
"y2": 606
},
{
"text": "But these",
"confidence": 0.6352238534799304,
"x1": 418,
"y1": 568,
"x2": 548,
"y2": 596
},
{
"text": "things",
"confidence": 0.9995374935659934,
"x1": 45,
"y1": 609,
"x2": 136,
"y2": 653
},
{
"text": "don",
"confidence": 0.9999971093289124,
"x1": 131,
"y1": 609,
"x2": 188,
"y2": 645
},
{
"text": "[ matter at all, because once",
"confidence": 0.628246525255973,
"x1": 192,
"y1": 614,
"x2": 558,
"y2": 642
},
{
"text": "are Real you can't be ugly, except",
"confidence": 0.5269925409121868,
"x1": 107,
"y1": 657,
"x2": 553,
"y2": 695
},
{
"text": "you",
"confidence": 0.9964000559966266,
"x1": 48,
"y1": 664,
"x2": 98,
"y2": 692
},
{
"text": "to people who don't understand.",
"confidence": 0.8450373171637284,
"x1": 49,
"y1": 701,
"x2": 483,
"y2": 741
},
{
"text": "48",
"confidence": 0.9999988198884456,
"x1": 280,
"y1": 790,
"x2": 322,
"y2": 820
}
]
}"}
"total_regions": 32,
"avg_confidence": 0.784,
"languages_used": [
"en",
"es",
"fr",
"de",
"it",
"pt"
],
"preprocessing_applied": true,
"include_bboxes": true,
"include_polygons": false,
"text_only": false,
"regions": [
{
"text": "THE VELVETEEN RABBIT",
"confidence": 0.941207916859868,
"x1": 118,
"y1": 74,
"x2": 488,
"y2": 102
},
{
"text": "He said.",
"confidence": 0.7658251676977529,
"x1": 131,
"y1": 197,
"x2": 251,
"y2": 239
},
{
"text": "You become. It takes",
"confidence": 0.7883424670279005,
"x1": 269,
"y1": 203,
"x2": 543,
"y2": 241
},
{
"text": "long",
"confidence": 0.7812356352806091,
"x1": 75,
"y1": 249,
"x2": 146,
"y2": 290
},
{
"text": "why it doesn't",
"confidence": 0.38521186102773824,
"x1": 333,
"y1": 251,
"x2": 531,
"y2": 289
},
{
"text": "time. That's",
"confidence": 0.6730042060276471,
"x1": 152,
"y1": 252,
"x2": 316,
"y2": 282
},
{
"text": "people",
"confidence": 0.9955617879578947,
"x1": 289,
"y1": 295,
"x2": 386,
"y2": 335
},
{
"text": "happen",
"confidence": 0.9993757047327592,
"x1": 47,
"y1": 296,
"x2": 150,
"y2": 338
},
{
"text": "often",
"confidence": 0.772564666974295,
"x1": 164,
"y1": 298,
"x2": 234,
"y2": 326
},
{
"text": "who break",
"confidence": 0.629609943501952,
"x1": 400,
"y1": 298,
"x2": 540,
"y2": 326
},
{
"text": "to",
"confidence": 0.37716394113709656,
"x1": 252,
"y1": 302,
"x2": 282,
"y2": 326
},
{
"text": "sharp",
"confidence": 0.9996923307743775,
"x1": 258,
"y1": 336,
"x2": 341,
"y2": 380
},
{
"text": "edges, or who",
"confidence": 0.7325436050686942,
"x1": 351,
"y1": 341,
"x2": 545,
"y2": 379
},
{
"text": "have",
"confidence": 0.9997755289077759,
"x1": 192,
"y1": 342,
"x2": 254,
"y2": 370
},
{
"text": "easily ,",
"confidence": 0.6715316349667982,
"x1": 50,
"y1": 344,
"x2": 134,
"y2": 374
},
{
"text": "Or",
"confidence": 0.4463264925231668,
"x1": 145,
"y1": 349,
"x2": 175,
"y2": 369
},
{
"text": "have to be carefully kept. Generally .",
"confidence": 0.7391639776857277,
"x1": 51,
"y1": 383,
"x2": 537,
"y2": 426
},
{
"text": "by",
"confidence": 0.9991005361917881,
"x1": 51,
"y1": 431,
"x2": 89,
"y2": 467
},
{
"text": "the time you",
"confidence": 0.8616745014257666,
"x1": 102,
"y1": 432,
"x2": 276,
"y2": 464
},
{
"text": "are Real",
"confidence": 0.7679742784308076,
"x1": 292,
"y1": 432,
"x2": 408,
"y2": 460
},
{
"text": "most of",
"confidence": 0.9737547651908516,
"x1": 432,
"y1": 432,
"x2": 538,
"y2": 460
},
{
"text": "your hair has been loved off, and your",
"confidence": 0.6486574274397897,
"x1": 49,
"y1": 477,
"x2": 553,
"y2": 513
},
{
"text": "eyes drop out and you get loose in",
"confidence": 0.7268066846906024,
"x1": 49,
"y1": 521,
"x2": 533,
"y2": 560
},
{
"text": "the joints and very shabby.",
"confidence": 0.7802346592882778,
"x1": 49,
"y1": 561,
"x2": 406,
"y2": 606
},
{
"text": "But these",
"confidence": 0.6352238534799304,
"x1": 418,
"y1": 568,
"x2": 548,
"y2": 596
},
{
"text": "things",
"confidence": 0.9995374935659934,
"x1": 45,
"y1": 609,
"x2": 136,
"y2": 653
},
{
"text": "don",
"confidence": 0.9999971093289124,
"x1": 131,
"y1": 609,
"x2": 188,
"y2": 645
},
{
"text": "[ matter at all, because once",
"confidence": 0.628246525255973,
"x1": 192,
"y1": 614,
"x2": 558,
"y2": 642
},
{
"text": "are Real you can't be ugly, except",
"confidence": 0.5269925409121868,
"x1": 107,
"y1": 657,
"x2": 553,
"y2": 695
},
{
"text": "you",
"confidence": 0.9964000559966266,
"x1": 48,
"y1": 664,
"x2": 98,
"y2": 692
},
{
"text": "to people who don't understand.",
"confidence": 0.8450373171637284,
"x1": 49,
"y1": 701,
"x2": 483,
"y2": 741
},
{
"text": "48",
"confidence": 0.9999988198884456,
"x1": 280,
"y1": 790,
"x2": 322,
"y2": 820
}
]
}"}
Performance Metrics
1.46s
Prediction Time
1.48s
Total Time
All Input Parameters
{ "image": "https://replicate.delivery/pbxt/NhBf4jJCYYl3TZYzGoWMweuFdz5rfsFug7a5m99CCpsNlkqU/rab.webp", "languages": "", "text_only": false, "preprocessing": true, "include_bboxes": true, "min_confidence": 0.25, "include_polygons": false }
Input Parameters
- clahe
- Apply mild CLAHE contrast enhancement
- image (required)
- Screenshot or image file
- deskew
- Deskew small angles
- sharpen
- Apply mild unsharp mask to preserve small punctuation
- autotune
- Try a few parameter combos and pick best
- binarize
- Binarization mode (for scans)
- morph_op
- Morphology op after binarize
- languages
- Languages preset or custom list
- text_only
- Return only text lines (list of strings)
- beam_width
- Beam width (when decoder=beamsearch)
- dehyphenate
- Join hyphenated words across lines
- merge_level
- Text merging strength
- ocr_decoder
- Text decoder
- morph_kernel
- Morph kernel size
- trim_borders
- Trim outer borders
- preprocessing
- Apply preprocessing (recommended)
- allow_brackets
- Permit brackets []{}<>
- include_bboxes
- Include x1,y1,x2,y2 in output
- min_confidence
- Minimum confidence (0.0-1.0)
- invert_strategy
- Ensure dark text on light background
- upscale_min_dim
- Upscale small images so the shorter side reaches this size (px)
- custom_languages
- Custom language codes (comma-separated) โ used when languages=custom
- denoise_strength
- Denoising strength (0=off, 1-15)
- include_polygons
- Include 4-point polygon as flat list
- normalize_quotes
- Normalize common quotation marks and dashes
- allow_basic_punct
- Restrict to common punctuation to avoid odd symbols
- block_rare_symbols
- Block uncommon symbols ($ยงโขโ etc.)
- remove_page_numbers
- Remove likely page numbers near bottom
- remove_shadow_strength
- Uneven lighting removal (0=off)
Output Schema
Version Details
- Version ID
dd57bc29a831856d26d8a1b5a984d3dda62f85224e70a609f14fc04fd306e47e
- Version Created
- September 16, 2025