File size: 778 Bytes
c744ed5
 
 
efe9b33
c744ed5
 
 
 
 
 
c813349
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
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.