Datasets:

Modalities:
Text
Formats:
csv
Size:
< 1K
DOI:
Libraries:
Datasets
pandas
License:
prompt
stringlengths
20
149
quoted_text
stringlengths
3
99
type
stringclasses
4 values
A classic red can with the text "Soda" in bold, white letters written on it.
Soda
object
A basketball with the word "Hoops" prominently displayed on it.
Hoops
object
A bright yellow smiley face sticker with the word "Smile" written underneath.
Smile
object
A rustic wooden sign with the words "Welcome" carved into it.
Welcome
object
A handwritten sticky note with the reminder "Pick up groceries".
Pick up groceries
object
A t-shirt with the bold statement "Be Kind" printed in colorful letters.
Be Kind
object
A personalized necklace with the name "Sarah" engraved on a pendant.
Sarah
object
A birthday cake with "Happy Birthday!" written in colorful frosting.
Happy Birthday!
object
A pair of sunglasses with the word "Sunshine" etched on the lens.
Sunshine
object
A cushion with the words "Queen of Hearts" embroidered on it.
Queen of Hearts
object
A dog collar with the pet's name, "Lucky," engraved on a metal tag.
Lucky,
object
A vibrant mural with the inspiring message "Dream Big" painted in large letters.
Dream Big
object
A weathered chalkboard with the math equation "3 + 5 = 8" written on it.
3 + 5 = 8
object
A classic novel with the title "The Wind in the Forest" on the spine.
The Wind in the Forest
object
A pair of jeans with a pocket stitched with the word "Adventure".
Adventure
object
A coffee mug with the quote, "Coffee first."
Coffee first.
object
A jar of peanut butter with the label reading "Smooth & Creamy".
Smooth & Creamy
object
A street sign with the word "Yield" in bold yellow letters.
Yield
object
A necklace with a star-shaped pendant engraved with the word "Wish".
Wish
object
A stack of pancakes with the word "Delicious!" written in syrup.
Delicious!
object
A retro neon sign with the word "Open" flashing brightly.
Open
object
A handwritten grocery list with the items: "apples, bananas, yogurt."
apples, bananas, yogurt.
object
A child's drawing with the caption "My House" scrawled across the top.
My House
object
A photo of a graduation cap with the year "2024" printed on a tassel.
2024
object
A baseball cap with the word "Play Ball!" embroidered on it.
Play Ball!
object
A wedding invitation with the phrase "You're Invited!" elegantly printed.
You're Invited!
object
A box of chocolates with a label reading "Sweet Treats".
Sweet Treats
object
A magazine cover with the headline "Inspiring Stories".
Inspiring Stories
object
A travel luggage tag with "My Luggage" written on it.
My Luggage
object
A keyring with the word "Home" written on it.
Home
object
A motivational poster with the quote "Reach for the Stars".
Reach for the Stars
object
A coin with the words "Good Luck" inscribed on it.
Good Luck
object
A sandwich with the word "Yummy!" written in ketchup.
Yummy!
object
A tool with the word "Build" clearly stamped on it.
Build
object
A prize ribbon with the words "Winner" prominently displayed.
Winner
object
A scrap of paper that says "Hello Friend,"
Hello Friend,
object
A flag with the word "Peace" and a symbol of a dove.
Peace
object
A sports jersey with the word "Champion" on the back.
Champion
object
A bottle of shampoo with the words "Nourish & Shine".
Nourish & Shine
object
A ring with a sparkling gemstone and the word "Forever" engraved.
Forever
object
A map with the words "Find Your Way".
Find Your Way
object
A painting with the word "Imagine" subtly placed within the artwork.
Imagine
object
A piece of fruit with a sticker featuring the word "Fresh".
Fresh
object
A toy with the label "Hours of Fun".
Hours of Fun
object
A house with the word "Welcome" on a doormat.
Welcome
object
A handwritten note with the simple message "Thank You".
Thank You
object
A birthday cake with the inscription "Happy 20th!" written in colorful icing.
Happy 20th!
object
A post it note with the phrase "In God We Trust" written on it.
In God We Trust
object
A coffee mug with the phrase "But First, Coffee" printed on the side.
But First, Coffee
object
A red t-shirt with the statement "Love Wins" in rainbow lettering.
Love Wins
object
A bright yellow traffic sign with the text "School Zone" in bold, black letters.
School Zone
signage
A wooden plaque with the engraved phrase "Home Sweet Home" above a doorway.
Home Sweet Home
signage
A weathered "For Sale" sign posted in front of a house.
For Sale
signage
A digital billboard displaying an advertisement with the slogan "Just Do All of It" in large font.
Just Do All of It
signage
A neon sign above a store buzzing with the word "Sale" in red.
Sale
signage
A hand-painted sign at a farmer's market reading "Fresh Produce".
Fresh Produce
signage
A metal plaque at a historical landmark with the text "Established 1876".
Established 1876
signage
A "Beware of Dog" sign displayed prominently on a fence.
Beware of Dog
signage
A vibrant banner hung across a street reading "Welcome to the Festival!"
Welcome to the Festival!
signage
A "No Parking" sign.
No Parking
signage
A humorous sign on a shop door reading "Open (most days)".
Open (most days)
signage
A sign in a library whispering "Quiet Please".
Quiet Please
signage
A road sign indicating the direction and distance to the "Next Rest Stop".
Next Rest Stop
signage
A vintage-style sign outside a cafe advertising "The Best Coffee in Town".
The Best Coffee in Town
signage
A colorful yard sale sign with the words "Treasures Within!".
Treasures Within!
signage
A sign at a construction site reading "Caution Hard Hats Required".
Caution Hard Hats Required
signage
A handwritten chalkboard sign featuring a restaurant's "Daily Specials".
Daily Specials
signage
A sign marking a hiking trail entrance with "Enjoy the Views".
Enjoy the Views
signage
A neon sign flashing "Vacancy" at a roadside motel.
Vacancy
signage
A rustic wooden sign pointing towards a campground with the text "Adventure Awaits".
Adventure Awaits
signage
A store window display with a large sign announcing "50% Off Sale!".
50% Off Sale!
signage
A sign outside a bakery with the tempting words "Fresh Baked Bread".
Fresh Baked Bread
signage
A "Wet Paint" sign placed strategically on a freshly painted bench.
Wet Paint
signage
A sign in a museum exhibit with the title "Ancient Artifacts".
Ancient Artifacts
signage
A sign in a doctor's waiting room kindly asking "Please silence your phones".
Please silence your phones
signage
A sign marking a fire exit with the word "Exit" in bold, glowing letters.
Exit
signage
A wooden beach sign with "Life's a Beach" painted on it.
Life's a Beach
signage
A parking garage sign indicating "Reserved Parking" areas.
Reserved Parking
signage
A large street sign marking the intersection of two major streets, with the text "Intersection".
Intersection
signage
A small business sign showcasing "Open 24 Hours".
Open 24 Hours
signage
A handmade sign at a craft fair displaying "Unique Gifts".
Unique Gifts
signage
A sign at the zoo reminding visitors "Do Not Feed the Animals".
Do Not Feed the Animals
signage
A metal plaque commemorating a park bench with the inscription "In Loving Memory".
In Loving Memory
signage
A decorative sign hanging from a porch swing with the word "Relax".
Relax
signage
A sign welcoming hikers to a national park with the message "Leave Only Footprints".
Leave Only Footprints
signage
A "Please Recycle" sign placed next to a set of bins.
Please Recycle
signage
A warning sign at a beach reading "Caution Strong Currents".
Caution Strong Currents
signage
A road sign indicating a "Scenic Overlook" ahead.
Scenic Overlook
signage
A sign above a bookstore entrance that reads "Escape into a Good Book".
Escape into a Good Book
signage
A neon ice cream shop sign shaped like a giant ice cream cone, with the words "Ice Cream Here".
Ice Cream Here
signage
A billboard with the words "Max Power" written on it.
Max Power
signage
A road sign marking a sharp curve with the text "Slow Down".
Slow Down
signage
A handmade sign outside an artist's studio reading "Paintings for Sale".
Paintings for Sale
signage
A simple "Thank You" sign displayed prominently in a store.
Thank You
signage
A sign promoting a community event called "No Cheese Chovember".
No Cheese Chovember
signage
A vintage-style metal sign advertising "Ice Cold Soda" outside a general store.
Ice Cold Soda
signage
A modern backlit sign displaying the logo and name of a coffee shop, "Caffeine Dreams".
Caffeine Dreams
signage
A sign warning swimmers "Caution Strong Currents" posted near a beach.
Caution Strong Currents
signage
A colorful roadside sign promoting a local farm with "Fresh Produce Here".
Fresh Produce Here
signage
A wooden sign with the name of a quaint bed and breakfast, "The Cozy Cottage".
The Cozy Cottage
signage

image_gen_ocr_eval

Author: Peter J. Bevan

Date: 15/12/23

github: https://github.com/pbevan1/image-gen-spelling-eval


Table 1: Normalised Levenshtein similarity scores between instructed text and text present in image (as identified by OCR)

Model object signage natural long Overall
DALLE3 0.62 0.62 0.62 0.58 0.61
DeepFloydIF 0.57 0.56 0.66 0.39 0.54
DALLE2 0.44 0.35 0.42 0.22 0.36
SDXL 0.3 0.33 0.4 0.21 0.31
SD 0.28 0.26 0.32 0.22 0.27
PlayGroundV2 0.19 0.23 0.17 0.2 0.2
Wuerstchen 0.14 0.19 0.19 0.19 0.18
Kandinsky 0.13 0.2 0.18 0.17 0.17

This is a POC that calculates the normalised Levenshtein similarity between prompted text and the text present in the generated image (as recognised by OCR).

To us this to create a metric, we create a dataset of prompts, each instructing to include some text in the image. We also provide a column for ground truth generated text which contains only the instructed text. The below scorer is then run on the generated images, comparing the target text with the actual text, outputting a score. The scores are then averaged to give a benchmark score. A score of 1 indicates a perfect match to the text.

You can find the dataset at https://huggingface.co/datasets/pbevan11/image_gen_ocr_evaluation_data

Since this metric solely looks at text within the generated images and not image quality as a whole, this metric should be used alongside other benchmarks such as those in https://karine-h.github.io/T2I-CompBench/.


Image generation model spelling comparison

@misc {peter_j._bevan_2024,
    author       = { {Peter J. Bevan} },
    title        = { image_gen_ocr_evaluation_data (Revision 6182779) },
    year         = 2024,
    url          = { https://huggingface.co/datasets/pbevan11/image_gen_ocr_evaluation_data },
    doi          = { 10.57967/hf/1944 },
    publisher    = { Hugging Face }
}
Downloads last month
78