lasot / README.md
ghomasHudson's picture
Add verified LaSOT category fox
2ef9a3b verified
|
Raw History Blame Contribute Delete
5.44 kB
---
license: other
license_name: lasot-personal-academic-educational
license_link: https://hengfan2010.github.io/projects/LaSOT/
language:
- en
tags:
- video
- object-tracking
- single-object-tracking
paperswithcode_id: lasot
configs:
- config_name: default
data_files:
- split: train
path: data/train/*.parquet
- split: test
path: data/test/*.parquet
---
# LaSOT — sequence-level MP4 videos and bounding boxes
**Status: INCOMPLETE — conversion/upload in progress.** Uploaded: 384 train and 96 test sequences
across 24 categories. The full conference benchmark has **1,120 train /
280 test sequences**, 70 categories, and more than 3.5 million frames.
The separate 150-sequence journal extension is **not included**.
Source: [LaSOT](https://hengfan2010.github.io/projects/LaSOT/). Original archives were obtained from
[l-lt/LaSOT](https://huggingface.co/datasets/l-lt/LaSOT)
at revision `a97464600e8c1ab91eb91a47332a20732830585e`. Each downloaded ZIP is verified against
the **SHA-256 and byte size in that pinned mirror's Git LFS metadata**. Sequence
lengths and dimensions are checked against the original website metadata.
The mirror ZIPs may differ from the authors' archived ZIPs; an original-author
checksum match is **not claimed**. Actual SHA-1 hashes and official checksum match
results are recorded per category in `conversion_manifest.json`; original
[category checksums](http://vision.cs.stonybrook.edu/~lasot/data/md5.txt) are retained for comparison.
For a local-source conversion, archive checksums are not applicable; see the manifest.
## Load
```python
from datasets import load_dataset, Video
ds = load_dataset("ghomasHudson/lasot", split="test", streaming=True)
# Metadata-only access does not require torchcodec or download the video files.
row = next(iter(ds.cast_column("video", Video(decode=False))))
print(row["video"]["path"], row["bboxes"][0])
# With compatible torch, torchcodec and FFmpeg installed:
row = next(iter(ds))
frame = row["video"].get_frame_at(0).data
bbox = row["bboxes"][0] # [x, y, width, height] for that exact frame
```
Videos are separate files in this repository, referenced by the `Video` column with
`hf://` paths. Parquet shards contain metadata, not embedded MP4 bytes. Loading
metadata does not download every video; decoding fetches the selected video on demand.
For a completely offline copy, download the repository and rewrite `video.path` to
the corresponding local MP4 before decoding. A Parquet-only download is not sufficient.
## Columns and alignment
One row is one **complete, untrimmed sequence**. All JPEGs appear once in numeric order.
No temporal subsampling, interpolation, frame duplication, or audio is added.
| Column | Meaning |
|---|---|
| `sequence_id`, `category` | Original sequence ID and category |
| `video` | Hugging Face `Video` feature pointing to the sequence's MP4 |
| `bboxes` | Per-frame `[x, y, width, height]`, absolute pixels, original values/origin |
| `full_occlusion`, `out_of_view` | Original per-frame flags; true means occluded/out of view |
| `visible` | `not (full_occlusion or out_of_view)`; not a partial-occlusion label |
| `description` | Original `nlp.txt` language description |
| `frame_names` | Original JPEG filenames, aligned with video and annotations |
| `num_frames` | Number of video frames and entries in every per-frame list |
| `width`, `height` | Original JPEG dimensions |
| `video_width`, `video_height` | Encoded dimensions, including any right/bottom padding |
| `fps` | Container playback rate: 30.0 FPS |
`bboxes[i]`, each flag at index `i`, and `frame_names[i]` correspond to decoded video
frame `i` (zero-based list indexing). Bounding-box coordinates are **not normalized,
clipped, shifted to a new origin, or changed to xyxy**. All-zero absent boxes are
retained. Consumers must apply any coordinate-origin conversion explicitly.
The playback rate is a conversion setting, not a claim about each source camera's FPS.
## Encoding and validation
Lossy H.264 (`libx264`, CRF 18, yuv420p). This is a re-encoded representation, not a byte-exact copy of the original JPEG frames. Odd image dimensions are padded by one pixel on the right/bottom, never resized.
Preset: `veryfast`. No spatial resizing. Encoding settings and completed
categories are recorded in `conversion_manifest.json`. Every output is decoded by `ffprobe` to
check its frame count; annotation lengths and image dimensions are validated first.
The official Protocol II split is used; there is no invented validation split.
Protocol I evaluates the union of train and test.
## Terms and attribution
The [original download page](https://hengfan2010.github.io/projects/LaSOT/) states:
“LaSOT can be freely used for personal, academic, or educational purposes.”
Copyright remains with the LaSOT authors and the respective source-video owners.
This conversion does not grant additional rights or assert a permissive software
license over the data. Check the original terms before redistribution or other uses.
```bibtex
@inproceedings{fan2019lasot,
title={LaSOT: A High-quality Benchmark for Large-scale Single Object Tracking},
author={Fan, Heng and Lin, Liting and Yang, Fan and Chu, Peng and Deng, Ge and
Yu, Sijia and Bai, Hexin and Xu, Yong and Liao, Chunyuan and Ling, Haibin},
booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
year={2019}
}
```