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bv02xYP
K<uSzEc1*Zs<O3:8
M0BhbZXB53n%VNG%[*p
_I>d(K;fRx;}H#l
tR<e;K@{Yz#49=kLZ
&aH{%iRYH=6q-zFrI<2^
jFk^x.-oSqvMs
eaAmYUN+}U
5t<b>IK|dM%!k88j:3r
R)Kx.F9))$|
*OjLx$5Oa*iA
rs_ecSxwQ@c$#R,Uf
I
w)|h?Vc>TWin8OZ<R3
>
U
a83=LY[kq};;3@yy
{
pa4l<;39?E
3$fd^.|2O1v
wDx,]Bq%2*;v
End of preview. Expand in Data Studio

πŸ‘οΈ Legend-OCR Dataset

Welcome to the Legend-OCR dataset! This is a highly robust, synthetically generated Vision dataset designed specifically for training Optical Character Recognition (OCR) models and Vision-Language Models (VLMs) like TrOCR, Florence-2, LLaVA, and Qwen-VL.

πŸ“Š Dataset Overview

  • Name: Legend-OCR
  • Type: Synthetic Vision-Text Pair
  • Size: 100,000 High-Quality Images (Configurable)
  • Format: Parquet (Embedded PNG Bytes + String Text)
  • Task: Image-to-Text / OCR
  • Characters Covered: Alphabets (A-Z, a-z), Numbers (0-9), and all standard Punctuation/Symbols.

πŸš€ Key Features & Generation Logic

This dataset was procedurally generated using Python (PIL) with advanced randomization techniques to make the AI models robust against real-world variations:

  1. Massive Font Variety: Uses multiple Linux-native fonts (Ubuntu, Roboto, Noto, Liberation) encompassing Regular, Bold, Italic, and Thin styles.
  2. Dynamic Text Lengths:
    • 30% of the dataset features Single Characters (perfect for basic symbol recognition and bounding box training).
    • 70% features 10 to 20 Characters (perfect for word and sentence-level context recognition).
  3. High-Contrast Backgrounds:
    • 50% Images: Dark Background with Light/White Text.
    • 50% Images: Light Background with Dark/Black Text.
  4. Dynamic Image Sizing: Bounding boxes and image canvas sizes scale automatically based on text length and randomized padding, teaching the model to focus on the subject rather than a fixed aspect ratio.
  5. Zero Hallucination: Since the dataset is synthetically generated natively in code, the ground truth text has a 100% accuracy rate.

πŸ“‚ Dataset Structure

Under the hood, the dataset is saved in highly compressed Parquet format. The schema looks like this:

{
  "image": {
    "bytes": "\u0089PNG\r\n\u001a\n\u0000\u0000\u0000\rIHDR...",
    "path": null
  },
  "text": "Hello@123!"
}
Downloads last month
57