Update README (#1)
Browse files- Add README (879603da0b77bf11aa45d7f276e615cc5e068db7)
- Update (02e8c7c201dbb7da734ca1e17f8429c02cc8d2c8)
- Update (e54915212640b4703cd5279ddbae0268d6555333)
README.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language: en
|
| 4 |
+
tags:
|
| 5 |
+
- layer decomposition
|
| 6 |
+
- image segmentation
|
| 7 |
+
- image matting
|
| 8 |
+
- design
|
| 9 |
+
pipeline_tag: image-segmentation
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
## LayerD BiRefNet Matting Module
|
| 13 |
+
|
| 14 |
+
This repository contains the code and model weights for the matting module in [LayerD [ICCV'25]](https://arxiv.org/abs/), a layer decomposition framework for graphic design images.
|
| 15 |
+
The model in this repository is intended to be used as a part of the original [LayerD github repository](https://github.com/CyberAgentAILab/LayerD).
|
| 16 |
+
Please visit https://github.com/CyberAgentAILab/LayerD for more information.
|
| 17 |
+
|
| 18 |
+
The model architecture code is based on the [BiRefNet repository](https://huggingface.co/ZhengPeng7/BiRefNet). We thank the authors for releasing their high-quality matting model.
|
| 19 |
+
|
| 20 |
+
### Usage
|
| 21 |
+
|
| 22 |
+
This repository is intended for use with LayerD, so we recommend following the instructions in the [LayerD repository](https://github.com/CyberAgentAILab/LayerD).
|
| 23 |
+
|
| 24 |
+
For reference, the original LayerD uses this model as follows:
|
| 25 |
+
|
| 26 |
+
```python
|
| 27 |
+
from transformers import AutoModelForImageSegmentation
|
| 28 |
+
birefnet = AutoModelForImageSegmentation.from_pretrained('cyberagent/layerd-birefnet', trust_remote_code=True)
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
### License
|
| 32 |
+
|
| 33 |
+
This repository is released under the Apache-2.0 license, the same as [the LayerD repository](https://github.com/CyberAgentAILab/LayerD/blob/main/LICENSE).
|
| 34 |
+
The original BiRefNet is released under the [MIT license](https://huggingface.co/ZhengPeng7/BiRefNet/blob/main/README.md).
|
| 35 |
+
|
| 36 |
+
### Citation
|
| 37 |
+
|
| 38 |
+
```bibtex
|
| 39 |
+
@inproceedings{suzuki2025layerd,
|
| 40 |
+
title={LayerD: Decomposing Raster Graphic Designs into Layers},
|
| 41 |
+
author={Suzuki, Tomoyuki and Liu, Kang-Jun and Inoue, Naoto and Yamaguchi, Kota},
|
| 42 |
+
booktitle={ICCV},
|
| 43 |
+
year={2025}
|
| 44 |
+
}
|
| 45 |
+
```
|