|
--- |
|
license: cc0-1.0 |
|
task_categories: |
|
- text-to-image |
|
tags: |
|
- art |
|
--- |
|
|
|
Anime background and wallpaper images based on [skytnt/anime-segmentation](https://huggingface.co/datasets/skytnt/anime-segmentation). |
|
|
|
Archived with indexed tar files, you can easily download any of these images with `hfutils` or `dghs-imgutils` library. |
|
|
|
For example: |
|
|
|
```python |
|
from imgutils.resource import get_bg_image_file, random_image |
|
|
|
# get and download this background image file |
|
# return value should be the local path of given file |
|
get_bg_image_file('000001.jpg') |
|
|
|
# random select one background image from deepghs/anime-bg |
|
random_image() |
|
|
|
``` |
|
|
|
See [Documentation of imgutils.resource.background module](https://deepghs.github.io/imgutils/main/api_doc/resource/background.html) for more details. |