/GFDataset

Dataset of characters of Granblue Fantasy

Primary LanguagePythonMIT LicenseMIT

GFDataset

Codes for collecting and processing character images from the game Granblue Fantasy.

Udates

  • 2020/12/01 - opened

What

The codes will collect and process images of characters in Granblue Fantasy from the wiki.
The process.py can be used to other images (but face detection only works with anime faces).

Collected images

  • Full body images

  • Deformed images

  • EX pose images

Processing

Usage

  • Clone repository and setup.

    git clone https://github.com/STomoya/GFDataset.git
    cd GFDataset
    ./setup.sh
  • Build Docker image

    docker-compose build
  • Scrape images from the wiki

    Takes about an hour because it waits at least 1sec between each GET. Run with --help option to see options.
    Default will save the images to data directory and erase the temporal files that are created during the process.

    docker-compose run --rm python python scrape.py
  • Process collected images

    Run with --help option to see options. Default will use the images in data directory.

    docker-compose run --rm python python process.py

License

MIT

Author

STomoya