Skip to main content

This package helps generate datasets of simple shapes like squares, circles, triangles, etc. for computer vision tasks.

Project description

ShapeSet

ShapeSet PyPI Publish

SHapeSet is a package designed to simplify and streamline your workflow for [briefly describe the main purpose or functionality of your package, e.g., "data processing", "API integration", etc.].

Features

  • Easy to use
  • Lightweight and efficient
  • Flexible data generation
  • Scalable in data size

Installation

pip install ShapeSet

Usage

from ShapeSet import dataset

# Example usage
dataset.generate(
        class_names,
        num_train,
        num_val,
        image_size,
        output_dir,
        seed
)

Note

Therefore, the minimum allowable image size is 80x80 pixels.
If you use a smaller size, you may get a ValueError: empty range for randrange().

Recommendation:
Use image_size >= 80 in your tests and dataset generation.

Contributing

Contributions are welcome! Please open issues or submit pull requests.

License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shapeset-0.1.1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shapeset-0.1.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file shapeset-0.1.1.tar.gz.

File metadata

  • Download URL: shapeset-0.1.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for shapeset-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b12bb2caf308ae2076add19d427b87645e8a482854f187aa309a1c8b0f0d01fe
MD5 d8c3bf4bd254adf22338b499b8f37e91
BLAKE2b-256 273797e9707c18dff645573e4ebdd9f7fb7d9c200832b844aa1a60e272937a27

See more details on using hashes here.

File details

Details for the file shapeset-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: shapeset-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for shapeset-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2cf051c8792e5585a95cce5471b975d1d2601e9094146d9f53588e3af2633e4e
MD5 138f46a8279111cb042e82b2ab65a339
BLAKE2b-256 7d1bc16117dbfc63965a6bb26ed914d8675ce0f0e723c1a47ff8c099eb41e02d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page