anime-bg / README.md
narugo's picture
Update README.md
c813349 verified
|
raw
history blame
778 Bytes
metadata
license: cc0-1.0
task_categories:
  - text-to-image
tags:
  - art

Anime background and wallpaper images based on skytnt/anime-segmentation.

Archived with indexed tar files, you can easily download any of these images with hfutils or dghs-imgutils library.

For example:

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 for more details.