Upload folder using huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,3 +1,62 @@
|
|
| 1 |
---
|
| 2 |
license: cc-by-4.0
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: cc-by-4.0
|
| 3 |
---
|
| 4 |
+
|
| 5 |
+
# BeyondMasks
|
| 6 |
+
|
| 7 |
+
Dataset repository for **BeyondMasks: Evaluating Causal and Physical Consistency in Video Object Removal**, accepted to **ECCV 2026**.
|
| 8 |
+
|
| 9 |
+
Authors: [Yiğit Ekin](https://openreview.net/profile?id=~Yi%C4%9Fit_Ekin1), [Enes Sanli](https://openreview.net/profile?id=~Enes_Sanli1), [Aykut Erdem](https://openreview.net/profile?id=~Aykut_Erdem1), [Erkut Erdem](https://openreview.net/profile?id=~Erkut_Erdem1), [Aysegul Dundar](https://openreview.net/profile?id=~Aysegul_Dundar1)
|
| 10 |
+
|
| 11 |
+
BeyondMasks evaluates whether video object removal methods remove not only the target object, but also its causal and physical aftereffects such as shadows, reflections, and light effects.
|
| 12 |
+
|
| 13 |
+
## Repository Contents
|
| 14 |
+
|
| 15 |
+
```text
|
| 16 |
+
BeyondMasks/
|
| 17 |
+
├── masks/ # Binary mask videos indicating the object to remove
|
| 18 |
+
├── object_not_present/ # Ground-truth videos where the object and aftereffects are absent
|
| 19 |
+
├── objects_added/ # Input videos where the object and aftereffects are present
|
| 20 |
+
├── data_example.json # Example metadata format
|
| 21 |
+
└── eval.py # Proposed evaluation metric code
|
| 22 |
+
```
|
| 23 |
+
|
| 24 |
+
The three video folders are aligned by sample id. For example, `masks/1.mp4`, `object_not_present/1.mp4`, and `objects_added/1.mp4` correspond to the same sample.
|
| 25 |
+
|
| 26 |
+
## Dataset Fields
|
| 27 |
+
|
| 28 |
+
- `objects_added/`: input videos containing the target object and its physical aftereffects.
|
| 29 |
+
- `object_not_present/`: reference videos where the target object and corresponding aftereffects are not present.
|
| 30 |
+
- `masks/`: object masks for the region to remove.
|
| 31 |
+
- `data_example.json`: example annotation entries with the sample id, foreground object, and aftereffect type.
|
| 32 |
+
|
| 33 |
+
## Evaluation
|
| 34 |
+
|
| 35 |
+
`eval.py` contains the proposed LLM-based evaluation metric. It scores object removal quality and aftereffect removal quality using the input video, ground-truth video, and a method output video. Adjust the folder paths according to your filesystem
|
| 36 |
+
|
| 37 |
+
The script expects an evaluation root with this structure:
|
| 38 |
+
|
| 39 |
+
```text
|
| 40 |
+
eval_root/
|
| 41 |
+
├── fg/ # Input videos with object and aftereffects present
|
| 42 |
+
├── bg/ # Ground-truth videos with object and aftereffects absent
|
| 43 |
+
├── result/ # Method output videos to evaluate
|
| 44 |
+
└── data.json # Metadata annotations
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
Run:
|
| 48 |
+
|
| 49 |
+
```bash
|
| 50 |
+
export GEMINI_API_KEY=your_api_key
|
| 51 |
+
python eval.py --root /path/to/eval_root
|
| 52 |
+
```
|
| 53 |
+
|
| 54 |
+
Results are written to `core_evaluation_results.json`.
|
| 55 |
+
|
| 56 |
+
## License
|
| 57 |
+
|
| 58 |
+
This dataset is released under the CC BY 4.0 license.
|
| 59 |
+
|
| 60 |
+
## Citation
|
| 61 |
+
|
| 62 |
+
Citation information will be added when the paper metadata is available.
|