# IndoorCrowd

Structure:

- `code` : code for the project
- `dataset_sample`: sample from the dataset within 200MB

## Dataset:

The sample dataset contains only a sample from 2 scenes due to the limit of 50MB in the OpenReview submission.

It contains 2 parts:

- `det_seg` which contains a sample of frames from each scene with the detection and segmentation labels in the COCO format `.json` files.
- `mot` which contains a sample of frames from each scene with the MOT labels in the same format as the MOT challenge.

### Segmentation and Detection:

This folder is split with the `labels` and the `scene_frames` folders.

For the provided sample, the structure of `dataset_sample/det_seg` is:

```text
dataset_sample/
  det_seg/
    labels/
      timing.json
      acs_ec/
        acs_ec_recording_1771860009.json
      acs_eg/
        acs_eg_recording_1771861251_v2.json
      ie_central/
        ie_central_recording_1771945495_v1.json
      r_central/
        r_central_recording_1771950822.json
```

- **`labels/`**: contains COCO-style `.json` annotation files for detection and segmentation.
- **scene subfolders (`acs_ec`, `acs_eg`, `ie_central`, `r_central`)**: each folder groups labels for a specific scene; the file name encodes the scene name and recording id.
- **`timing.json`**: metadata describing the timing information of the recordings/scenes represented in this sample.

### Multi-Object Tracking:

For the provided sample, the structure of `dataset_sample/mot` is:

```text
dataset_sample/
  mot/
    acs-ec/
      ACS-EC_1771862890/
        clip_00001_00051/
          gt/
            gt.txt
          seqinfo.ini
    acs-eg/
      ACS-EG_1771862331/
        clip_00056_00191/
          gt/
            gt.txt
          seqinfo.ini
    ie-central/
      IE-Central_1771945495/
        clip_00001_00061/
          gt/
            gt.txt
          seqinfo.ini
    r-central/
      R-Central_1771950488/
        clip_00001_00156/
          gt/
            gt.txt
          seqinfo.ini
```

- **scene folders (`acs-ec`, `acs-eg`, `ie-central`, `r-central`)**: top-level grouping by scene name.
- **recording folders (`ACS-EC_1771862890`, etc.)**: identify a specific recording within a scene (scene name + recording id).
- **clip folders (`clip_XXXX_YYYY`)**: specify the frame range of the sample clip for that recording.
- **`gt/gt.txt`**: ground-truth MOT annotations in the standard MOTChallenge text format.
- **`seqinfo.ini`**: sequence metadata (e.g., frame rate, image size, and path conventions) following MOTChallenge structure.

## Code:

More information about the code is available in the `code` folder.
