An useful detect sprite of image package
Project description
SPRITE-DETECTION PROJECT
Sprite-detection is a tool using python library to detect sprite sheet in a image
This tool will help you spend less time when you want to detect sprite to making a game or animetion, ...
How to using this tool
First you must Download our tool and import to your device
Before start using you should download all depencencies of this tool
Second pass an image path or Image object to SpriteSheet Object of our. That's it easy right^^.
EXAMPLE:
from sprite_detection_tool.spriteutil import SpriteSheet
a = SpriteSheet(path/Image object)
We have 2 method of SpriteSheet object in this tool you can using:
- find_sprites() method will return a list [sprites, label_map]
EXAMPLE:
from sprite_detection_tool.spriteutil import SpriteSheet
a = SpriteSheet(path/Image object)
sprites, label_map = a.find_sprites()
- create_sprite_labels_image() method return an Image object
EXAMPLE:
from sprite_detection_tool.spriteutil import SpriteSheet
a = SpriteSheet(path/Image object)
sprites, label_map = a.find_sprites()
create_sprite_labels_image(sprites, label_map).show()
How you can help
- Use our community test server and write up issues
- If you are a developer, install the software for development
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for sprite-detection-tool-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76bb9165dff9a07dbc2d13b0df3d94881dedddc572e7365f65bfe7abe84be143 |
|
MD5 | 1779790f38d48cd5a79342412f5b1c56 |
|
BLAKE2b-256 | 87667ba07325c26f0e374b2b768a1b867890547a6ef3028371b078a39229cca2 |
Close
Hashes for sprite_detection_tool-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0353db94453c34392f0ea2a077da58124ac9bed9b69f79ff41ace992b91cef85 |
|
MD5 | 50a428c1b13cc57c25ec81110737feac |
|
BLAKE2b-256 | 9ea643025b17f2b8c5fa22890f20b0312af2b866b64a4fedc2c066234fd13872 |