CapMIT1003 Click-Contingent Image Captioning
Reveal a blurred image with up to 10 clicks, then caption it, using click_reveal and text on eight CC0 Commons photographs instead of the MIT1003 images.
Get This Design
Clone or download from the repository
Quick start:
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/image/specialized/capmit1003-click-contingent-captioning
potato start config.yamlAbout this dataset
CapMIT1003 is a dataset of captions paired with click-contingent image explorations, collected by Zanca and colleagues and described in an arXiv preprint from 2024. A web application showed images from MIT1003 to participants and asked for captions while they explored the image through clicks. Each click revealed an area corresponding to two degrees of visual angle, to simulate foveated vision, and participants could click up to 10 times before writing a caption. Participants were told to describe the content of the image in one or two sentences, in English. The paper does not say who the participants were, and it reports 27,865 clicks on 4,573 observations over 153 sessions. The paper names no venue, and the dataset card has no license.
This design reproduces that flow with the click_reveal scheme followed by a text scheme. The image is shown blurred, each click shows a sharp circle, and the clicks are stored with position and time. The radius is an adaptation. The paper gives a two-degree window but no screen size, image size, or viewing distance, so the radius of 0.05 of the image width is the design's own choice and the click_reveal default. The design does not claim that value equals two degrees. The click_reveal docs give radius = D * tan(a / 2) / W for an image W wide viewed from distance D, with a the window width in degrees, and the formula appears in the task instructions.
The eight sample images are CC0 photographs of cafe scenes from Wikimedia Commons by Nicolas Vigier and Willem van de Poll, each checked on its file page, and are not MIT1003 stimuli. The paper's click interface cites an earlier work that this design does not read. The design requires Potato 2.15.0 or later.
- Click limit
- Up to 10 clicks per image
- Revealed window in the paper
- Two degrees of visual angle
- Caption length
- One or two sentences, in English
- Sample images
- 8 CC0 Wikimedia Commons photographs
- Radius in this design
- 0.05 of the image width (own choice, not two degrees)
Configuration File
This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.
# yaml-language-server: $schema=https://potatoannotator.readthedocs.io/en/latest/schemas/potato-config.schema.json
# CapMIT1003: click-contingent image exploration while captioning (arXiv 2024)
# Requires Potato 2.15.0 or later (click_reveal).
#
# Paper: Zanca, Zugarini, Dietz, Altstidl, Turban Ndjeuha, Schwinn and Eskofier, "Caption-Driven
# Explorations: Aligning Image and Text Embeddings through Human-Inspired Foveated Vision",
# arXiv 2408.09948, doi 10.48550/arXiv.2408.09948 (an arXiv preprint)
# Data: https://huggingface.co/datasets/azugarini/CapMIT1003 (no license on the card; the stimuli are
# MIT1003 images). The eight photographs here are CC0 images from Wikimedia Commons, credited in
# the "credit" field and checked on each file page, so no CapMIT1003 item or image is copied.
# Protocol (paper section 2): a web application "presents images from MIT1003 to participants and prompts
# them to provide captions while performing click-contingent image explorations". "A click will
# reveal information in an area corresponding to two degrees of visual angle, to simulate
# foveated vision. Participants can click up to 10 times, before providing a caption. We
# instructed users to describe the content of the image with 'one or two sentences', in
# English."
# Adaptation (radius): the paper gives a window of two degrees of visual angle but no screen size, image
# size or viewing distance, so the pixel radius cannot be recovered. Radius 0.05 (a fraction of
# the image width, and the click_reveal default) is this design's own choice and is NOT claimed
# to equal two degrees. The click_reveal docs give radius = D * tan(a / 2) / W for an image W cm
# wide seen from D cm, where a is the window width in degrees. For a = 2, W = 30 and D = 60 that
# gives about 0.035. A web page does not control viewing distance, so set the radius for your
# own setup.
# Other adaptations: the paper's collection protocol cites an earlier work for the click interface, which
# this design does not read. Images are illustrative cafe scenes, not MIT1003 stimuli.
annotation_task_name: "Click-contingent captioning"
data_files:
- sample-data.json
item_properties:
id_key: id
text_key: text
task_dir: .
output_annotation_dir: annotation_output
export_annotation_format: jsonl
user_config:
allow_all_users: true
instance_display:
fields:
- key: credit
type: text
label: "Photo credit"
annotation_schemes:
- annotation_type: click_reveal
name: attention
description: "The image is blurred. Click the places you want to see clearly, up to 10 times, then write the caption."
source_field: image
blur: 24
radius: 0.05
max_clicks: 10
min_clicks: 1
label_requirement:
required: true
- annotation_type: text
name: caption
description: "Describe the content of the image in one or two sentences, in English."
multiline: true
rows: 2
cols: 60
label_requirement:
required: true
annotation_instructions: |
Click up to 10 points on the blurred image to reveal them, then describe the image in one or two
sentences. A click cannot be taken back. Each click reveals a circle with a radius of 5 percent of the
image width, a setting chosen for this demo. The paper's window is two degrees of visual angle, and
the radius for a given screen and viewing distance is D * tan(a / 2) / W, with D the viewing distance,
W the image width on screen, and a the window width in degrees.
Sample Data
[
{
"id": "cap_001",
"image": "https://thumb.wikimedia.org/wikipedia/commons/thumb/0/06/Cafe_Colon%2C_Tanger.jpg/960px-Cafe_Colon%2C_Tanger.jpg",
"text": "Describe the image in one or two sentences.",
"credit": "\"Cafe Colon, Tanger\" by Nicolas Vigier, CC0, https://commons.wikimedia.org/wiki/File:Cafe_Colon,_Tanger.jpg"
},
{
"id": "cap_002",
"image": "https://thumb.wikimedia.org/wikipedia/commons/thumb/e/ec/Cafe_Tingis%2C_Tanger.jpg/960px-Cafe_Tingis%2C_Tanger.jpg",
"text": "Describe the image in one or two sentences.",
"credit": "\"Cafe Tingis, Tanger\" by Nicolas Vigier, CC0, https://commons.wikimedia.org/wiki/File:Cafe_Tingis,_Tanger.jpg"
}
]
// ... and 6 more itemsGet This Design
Clone or download from the repository
Quick start:
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/image/specialized/capmit1003-click-contingent-captioning
potato start config.yamlDataset & paper
Zanca et al., arXiv 2024
- Paper DOI
- 10.48550/arXiv.2408.09948
Citation (BibTeX)
@misc{zanca2024capmit1003,
doi = {10.48550/ARXIV.2408.09948},
url = {https://arxiv.org/abs/2408.09948},
author = {Zanca, Dario and Zugarini, Andrea and Dietz, Simon and Altstidl, Thomas R. and Ndjeuha, Mark A. Turban and Schwinn, Leo and Eskofier, Bjoern},
title = {Caption-Driven Explorations: Aligning Image and Text Embeddings through Human-Inspired Foveated Vision},
publisher = {arXiv},
year = {2024}
}Details
Annotation Types
Domain
Use Cases
Tags
Found an issue or want to improve this design?
Open an Issue(opens in a new tab)Related Designs
AbsVis Abstract Concept Attributions for Images
Write abstract concepts for a photo, rate a candidate concept, and pick the best and worst of four, using text, radio and bws over CC BY images.
Breakfast Actions Segmentation
Fine-grained temporal action segmentation of breakfast preparation activities. Annotators label sequences of cooking actions like 'take cup', 'pour milk', 'stir'.
CUB-200-2011: Fine-Grained Bird Species Dataset
CUB-200-2011 is a fine-grained bird image dataset of 11,788 photos across 200 species, each labeled with parts, attributes, and a bounding box (Wah et al., 2011). This Potato config reproduces the labeling task.