Skip to main content

Build an image dataset with your webcam

Project description

Image Dataset Builder

This package allows you to create a dataset using your webcam.

Installation

pip install ImgDatasetBuilder

usage

from DatasetBuilder import DatasetBuilder

dbuilder = DatasetBuilder(classes=["my_class_one", "my_class_two"], out_dir="./data")

dbuilder.build()

You can also pass arguments to the 'build()':

    :param nb_item: - tuple representing  ==> (number_train_data, number_test_data, number_val_data)
                    - you can specify that you don't want a specific dataset by placing -1 at the correct position
                    - DEFAULT : (300, 100, 50)

    :param image_width: webcam's window screen width (DEFAULT = 800)
    :param image_height: webcam's window screen heigh (DEFAULT = 600)

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

ImgDatasetBuilder-1.0.2.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

ImgDatasetBuilder-1.0.2-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

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