Git Product home page Git Product logo

shapes-dataset's Introduction

2D Geometric Shapes Dataset

Thumbnail

Description

This repository contains a Python script used to generate a dataset of 2D geometric shapes, along with the dataset itself. The dataset includes 16 different geometric shapes, each randomly oriented and positioned within a 224x224 pixel image.

Shapes Included

  • Circle
  • Semicircle
  • Oval
  • Triangle
  • Square
  • Rectangle
  • Parallelogram
  • Rhombus
  • Trapezoid
  • Kite
  • Pentagon
  • Hexagon
  • Heptagon
  • Octagon
  • Nonagon
  • Decagon

Dataset Structure

  • shapes_dataset/: Contains subdirectories for each shape, with 100 PNG images per shape.
    • circle/
      • circle_1.png
      • circle_2.png
      • ...
    • semicircle/
    • ...
  • Total Images: 1,600 (100 images * 16 shapes)

Installation

To generate the dataset on your own, clone this repository and run the script:

git clone https://github.com/Khalid1G/shapes-dataset.git
cd shapes-dataset
pip install pillow
python generate_shapes_dataset.py

License

This dataset is released under the MIT License.

Usage

The dataset can be used for various purposes, such as training machine learning models for shape classification or object detection tasks. The images are saved in PNG format with transparent backgrounds, making them easy to overlay on other images.

Contributing

Contributions to this repository are welcome. Some ideas for contributions include:

  • Adding new shapes to the dataset
  • Improving the script to generate more diverse shapes
  • Creating additional scripts to preprocess or augment the dataset
  • Using the dataset for a machine learning project and sharing the results

If you would like to contribute, please open an issue or a pull request.

Acknowledgements

This dataset was created by Khalid1G as part of a personal project. The shapes were generated using the Python Imaging Library (PIL) and saved as PNG images.

Contact

If you have any questions about this dataset, feel free to contact me at [email protected], [email protected], LinkedIn, or open an issue in this repository.

shapes-dataset's People

Contributors

khalid1g avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.