CaptionCook4D / annotations /ANNOTATIONS.md
SitongGong's picture
Add files using upload-large-folder tool
0847d4c verified

CaptainCook4D: A Dataset for Understanding Errors in Procedural Activities

(This page is under continuous update and construction.)

DISCLAIMER: The proposed data splits showcase the ways in which our dataset can be used. We do not claim that these splits are the best or the only way to use the dataset. We encourage the community to explore other ways to use the dataset and share their findings with us.


Annotation Files

  1. Annotation CSVs
    1. Activity ID and Step ID Mapping
    2. Activity Step Description
    3. Average Segment Length
    4. Error Annotations
    5. Recording ID and Step ID Mapping
    6. Step Annotations
    7. Step ID and Step Description Mapping
  2. Annotation JSONs
    1. Activity ID and Step ID Mapping
    2. Complete Step Annotations JSON
    3. Error Annotations
    4. Error Category ID
    5. Recording ID and Step ID Mapping
    6. Step Annotations
    7. Step ID and Step Description Mapping
  3. Data Splits
    1. Splits based on Environments
      1. Combined
      2. Only Normal Videos
    2. Splits based on Persons
      1. Combined
      2. Only Normal Videos
    3. Splits based on Recipes
      1. Combined
      2. Only Normal Videos
    4. Splits based on Recordings
      1. Combined
      2. Only Normal Videos
  4. Metadata
    1. Average Segment Length
    2. Video Information
  5. Task Graphs

Annotation CSVs

File: activity_id_step_id_mapping.csv

Column Name Type Description
activity_idx int Activity ID
activity_name string Name of the activity (Recipe Name)
step_indices list List of Step IDs

File: activity_step_description.csv

Column Name Type Description
activity_idx int Activity ID
activity_name string Name of the activity (Recipe Name)
step_index int Step ID
step_description string Description of the step

File: average_segment_length.csv

Column Name Type Description
activity_id int Activity ID
activity_name string Name of the activity (Recipe Name)
average_segment_length float Average segment length of the activity

File: error_annotations.csv

Column Name Type Description
recording_id int Recording ID
step_id int Step ID
start_time float Start time of the step
end_time float End time of the step
description string Description of the step
has_errors bool Error in the step
Preparation Error bool Error Category: Preparation Error
error_description string Description of the preparation error
Measurement Error bool Error Category: Measurement Error
error_description string Description of the measurement error
Order Error bool Error Category: Order Error
error_description string Description of the order error
Timing Error bool Error Category: Timing Error
error_description string Description of the timing error
Technique Error bool Error Category: Technique Error
error_description string Description of the technique error
Temperature Error bool Error Category: Temperature Error
error_description string Description of the temperature error
Missing Step bool Error Category: Missing Step
error_description string Description of the missing step
Other bool Error Category: Other
error_description string Description of the other error

File: error_category_idx.csv

Column Name Type Description
error_category_idx int Error Category ID
error_category string Error Category Name

File: recording_id_step_idx.csv

Column Name Type Description
recording_id int Recording ID
activity_idx int Activity ID
step_indices list List of Step IDs in the recording

File: step_annotations.csv

Column Name Type Description
recording_id int Recording ID
step_id int Step ID
start_time float Start time of the step
end_time float End time of the step
description string Description of the step
has_errors bool Error in the step

File: step_idx_description.csv

Column Name Type Description
step_idx int Step ID
step_description string Description of the step

Annotation JSONs


File: step_idx_description.json

Can be used to map the step ID to the step description.

{
    "step_idx": "step_description"
}

File: step_annotations.json

Contains metadata for each recording where the nature of recordings is just limited to the boolean. For information about the error category and the error description please see complete_step_annotations.json

{
    "1_7": {
        "recording_id": "1_7",
        "steps": [
            {
                "step_id": 3,
                "start_time": "start_time",
                "end_time": "end_time",
                "description": "description",
                "has_errors": "has_errors"
            }, 
            ....
        ]
    },
    ....
}

File: recording_id_step_idx.json

Contains information about the steps ids in each recording. Note: Step IDs of repetitive steps are repeated in the order in which they are performed in the recording.

{
    "1_7" : [3, 1, 4, 12 ...],
   "1_10" : [3, 1, 4, 11 ...],
   ...
}

File: error_annotations.json

This file contains the complete error annotations for each recording. We attach errors that occur during each step as part of the steps. Here, tag describes the error category and description presents the error description. Here we exclude information about the person and the environment in which they are recorded.

[
   {
        "recording_id": "1_10",
        "activity_id": 1,
        "is_error": true,
        "step_annotations": [
            {
                "description": "Microwave-Microwave the ramekin cup uncovered on high for 30 seconds",
                "step_id": 4,
                "errors": [
                    {
                        "tag": "Missing Step",
                        "description": "Skipped this step"
                    }
                ],
                "start_time": -1.0,
                "end_time": -1.0,
                "modified_description": "Skipped this step"
            },
            ...
        ]
    },
    ...
]

File: complete_step_annotations.json

This file contains the complete step annotations for each recording. It includes complete information about a recording namely (a) the person, (b) the environment, and (c) the errors that occur during each step of the recording

[
    "1_10" : {
        "recording_id": "1_10",
        "activity_id": 1,
        "person": "6",
        "environment": "1",
        "is_error": true,
        "step_annotations": [
            {
                "description": "Microwave-Microwave the ramekin cup uncovered on high for 30 seconds",
                "step_id": 4,
                "errors": [
                    {
                        "tag": "Missing Step",
                        "description": "Skipped this step"
                    }
                ],
                "start_time": -1.0,
                "end_time": -1.0,
                "modified_description": "Skipped this step"
            },
            ...
        ]
    },
    ...
]