CoolFace
Datasetpublic

gauravkaul/DAMM_mouse_detection

Datasets used to create the Detect Any Mouse Model (or DAMM for short ) DAMM is a project focused on the detection and tracking of multiple animals within complex social and environmental settings. The goal of this project was to create mouse instance segmentation systems that generalize across cage and experimental setups. This README provides an overview of the datasets used in DAMM and the annotation structure. Annotation Structure Annotations in this project… See the full description on the dataset page: https://huggingface.co/datasets/gauravkaul/DAMM_mouse_detection.

sourceHugging Faceupdated 2y agoView on Hugging Face
4likes83downloads
Dataset Card

Datasets used to create the Detect Any Mouse Model (or DAMM for short )

DAMM is a project focused on the detection and tracking of multiple animals within complex social and environmental settings. The goal of this project was to create mouse instance segmentation systems that generalize across cage and experimental setups. This README provides an overview of the datasets used in DAMM and the annotation structure.

Annotation Structure

Annotations in this project are structured using a JSON format compatible with COCO-style annotations. Each annotation corresponds to an object in an image and includes the following fields:

  • file_name: The name of the image file, including its path.
  • height: The height of the image in pixels.
  • width: The width of the image in pixels.
  • image_id: An identifier for the image.
  • annotations: A list of annotations, where each annotation (dictionary) contains the following fields:
  • bbox: A bounding box representing the object's location in the image. Expressed as [[x1, y1], [x2, y2]], where (x1, y1) is the top-left corner and (x2, y2) is the bottom-right corner.
  • bbox_mode: The format of the bounding box coordinates, specified as BoxMode.XYXY_ABS for absolute coordinates in XYXY format.
  • category_id: The category identifier for the object.
  • segmentation: A list of closed polygon regions representing the object's mask. Each region is represented as [x1, y1, x2, y2, ..., xn, yn].

Detection Datasets

Detection datasets used in DAMM are stored in the detection_datasets/ directory (unzip detection_datasets.zip). The following tables list the number of examples for each split and their associated folder location. Each folder contains a metadata.json file containing the annotations.

AER Pretraining Dataset

Dataset NameNumber of ExamplesFolder Location
AER pretraining2209AER_pretraining_set/

AER Lab Sourced (In-house) Datasets

Dataset NameNumber of ExamplesFolder Location
playground103playground/
lightdarknest104light_dark_nest/
perfect_setup102perfect_setup/
colorfulmultimice102colorful_multi_mice/
blackmultimice101black_multi_mice/

Web Sourced (Publicly Available) Datasets

Dataset NameNumber of ExamplesFolder Location
goldenopenfield101golden_open_field/
mars_multi104mars_multi/
mcdannaldratoperant_chamber106mcdannald_rat_operant_chamber/
trimice_dlc101trimice_dlc/
pennington_maze102pennington_maze/
goldenhomecage_color100golden_home_cage_color/
goldenhomecage_greyscale101golden_home_cage_greyscale/

Challenge Datasets (Located within the challenge_setups/ folder)

Dataset NameNumber of ExamplesFolder Location
topblackDSLR71top_black_DSLR/
ratcagebrownDSLR73ratcage_brown_DSLR/
ratcagewhiteactioncam74ratcage_white_actioncam/
ratcageblackactioncam74ratcage_black_actioncam/
gratebrownactioncam73grate_brown_actioncam/
gratewhiteactioncam71grate_white_actioncam/
topbrownDSLR71top_brown_DSLR/
ratcageblackDSLR75ratcage_black_DSLR/
gratewhiteDSLR71grate_white_DSLR/
ratcagebrownactioncam75ratcage_brown_actioncam/
grateblackactioncam71grate_black_actioncam/
gratebrownDSLR75grate_brown_DSLR/
topwhiteDSLR100top_white_DSLR/
topbrownactioncam72top_brown_actioncam/
grateblackDSLR71grate_black_DSLR/
topwhiteactioncam70top_white_actioncam/
topblackactioncam71top_black_actioncam/
ratcagewhiteDSLR71ratcage_white_DSLR/

Tracking Datasets

Tracking datasets used in DAMM are stored in the tracking_datasets/ directory (unzip tracking_datasets.zip). Each folder contains tracking data similarly structured to detection data, with the additional key of frame_id for each annotation mapping to the video frame number.

Single Animal Datasets (Located within the single_animal_tracking/ folder)

Dataset NameFrames AnnotatedFPSDuration (seconds)
oft_12/oft_12.mp4108425.043.36
mcdannald_rat_operant_chamber_conditioning_02/mcdannald_rat_operant_chamber_conditioning_02.mp482814.8069456326561356.730133333333335
golden_mouse_open_field_social_familiarity_cd1_absent_01/golden_mouse_open_field_social_familiarity_cd1_absent_01.mp4138730.046.233333333333334
epm_1/epm_1.mp4241024.99810498811716157.691953125
single_spinach/single_spinach.mp4153130.051.03333333333333
smear_mouse_operant_chamber_olfactory_search_raw_01/smear_mouse_operant_chamber_olfactory_search_raw_01.mp414510.014.5
pennington_mouse_operant_chamber_exploration_02/pennington_mouse_operant_chamber_exploration_02.mp4151425.060.56

Multi-Animal Datasets (Located within the multi_animal_tracking/ folder)

Dataset NameFrames AnnotatedFPSDuration (seconds)
multi_ir_lighting/multi_ir_lighting.mp43659.91228308394210236.823
golden_mouse_operant_chamber_social_self_admin_09/golden_mouse_operant_chamber_social_self_admin_09.mp443730.052.166666666666664
mouse024_task1_annotator1/mouse024_task1_annotator1.mp4196530.065.5
golden_mouse_home_cage_social_72/golden_mouse_home_cage_social_72.mp4147030.049.0
top_white_iphone_3/top_white_iphone_3.mp417429.9775.00834167500834

This format maintains clarity while indicating the folder locations for each dataset category.

Usage and Citation

If you use this dataset, please make sure to cite the following article:

bibtex
@article{kaul2024damm,
  author    = {Gaurav Kaul and Jonathan McDevitt and Justin Johnson and Ada Eban-Rothschild},
  title     = {DAMM for the detection and tracking of multiple animals within complex social and environmental settings},
  journal   = {bioRxiv},
  year      = {2024}
}

license: cc-by-4.0