معرفی شرکت ها


SpriteSheet-Bella-1.0.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

-
ویژگی مقدار
سیستم عامل OS Independent
نام فایل SpriteSheet-Bella-1.0.1
نام SpriteSheet-Bella
نسخه کتابخانه 1.0.1
نگهدارنده ['Nhung LAI']
ایمیل نگهدارنده []
نویسنده Nhung LAI
ایمیل نویسنده nhungbella0511@gmail.com
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/SpriteSheet-Bella/
مجوز MIT
# Sprite Sheet ## Project Description A sprite is a small raster graphic (a bitmap) that represents an object such as a character, a vehicle, a projectile, etc. Sprites are a popular way to create large, complex scenes as you can manipulate each sprite separately from the rest of the scene. This allows for greater control over how the scene is rendered, as well as over how the players can interact with the scene. Sprites are mainly used in 2D video games, such as Shoot'em up in which the hero combats a large number of enemies by shooting at them while dodging their fire. ## Project Goal - Waypoint 1: Find the Most Common Color in an Image - Waypoint 2: Write a Class Sprite - Waypoint 3: Find Sprites in an Image - Waypoint 4: Draw Sprite Label Bounding Boxes - Waypoint 5: Write a Class SpriteSheet - Waypoint 6: Package and Distribute the Python Library ## Project Benefit Three main features of this project, more useful in Computer Vision: - Find the Most Common Color in an Image - Find Sprites in an Image - Draw Sprite Label Bounding Boxes It can split your image with many sprites and you can improve it to work in Computer Vision. ## Technology - Python (PIL, Numpy) ## Project Team - Nhung LAI ## Feature ### Find the Most Common Color in an Image Returns the pixel color that is the most used in this image. ### Find Sprites in an Image Returns a tuple (sprites, label_map) where: - sprites: A collection of key-value pairs (a dictionary) where each key-value pair maps the key (the label of a sprite) to its associated value (a Sprite object); - label_map: A 2D array of integers of equal dimension (width and height) as the original image where the sprites are packed in. The label_map array maps each pixel of the image passed to the function to the label of the sprite this pixel corresponds to, or 0 if this pixel doesn't belong to a sprite (e.g., background color). ### Draw Sprite Label Bounding Boxes Draws the masks of the sprites at the exact same position that the sprites were in the original image. Draws each sprite mask with a random uniform color (one color per sprite mask). Also draws a rectangle (bounding box) around each sprite mask, of the same color used for drawing the sprite mask. ## Usage ### Install packages: pillow (PIL), numpy, python 3.7.4 You have to install packages above: ```bash pip install pillow ``` and ```bash pip install numpy ``` ### Install New Python 3.7.4 Go to this link and download new python version: https://www.python.org/downloads/ ### Install my package ```bash pip install SpriteSheet_Bella ``` ## Contact (Author & Maintainer) - Name: Nhung LAI - Email: nhungbella0511@gmail.com


نیازمندی

مقدار نام
==3.1.1 bleach
==2019.11.28 certifi
==1.14.0 cffi
==3.0.4 chardet
==2.8 cryptography
==0.16 docutils
==2.8 idna
==21.1.0 keyring
==1.18.1 numpy
==7.0.0 pillow
==1.5.0.1 pkginfo
==2.19 pycparser
==2.5.2 pygments
==24.0 readme-renderer
==2.22.0 requests
==0.9.1 requests-toolbelt
==1.14.0 six
==4.43.0 tqdm
==3.1.1 twine
==1.25.8 urllib3
==0.5.1 webencodings
==0.34.2 wheel
==3.0.0 zipp
==1.5.0 importlib-metadata
==0.4.2 jeepney
==3.1.2 secretstorage
==1.4.3 appdirs
==19.3.0 attrs
==1.5.1 cached-property
==1.3.2 cerberus
==2019.11.28 certifi
==3.0.4 chardet
==7.0 click
==0.4.3 colorama
==0.3.0 distlib
==2.0.2 first
==2.8 idna
==1.0.1 orderedmultidict
==19.2 packaging
==0.7.0 pathspec
==0.8.1 pep517
==0.5.0 pip-shims
==3.0.1 pipenv-setup
==0.0.2 pipfile
==0.2.3 plette[validation]
==2.4.6 pyparsing
==2020.2.18 regex
==2.22.0 requests
==1.5.3 requirementslib
==1.14.0 six
==0.10.0 toml
==0.5.8 tomlkit
==1.4.1 typed-ast
==3.7.4.1 typing
==1.25.8 urllib3
==0.5.0 vistir
==0.34.2 wheel
==3.0.0 zipp
==1.5.0 importlib-metadata
==19.10b0 black


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl SpriteSheet-Bella-1.0.1:

    pip install SpriteSheet-Bella-1.0.1.whl


نصب پکیج tar.gz SpriteSheet-Bella-1.0.1:

    pip install SpriteSheet-Bella-1.0.1.tar.gz