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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file ImgDatasetBuilder-1.0.2.tar.gz.

File metadata

  • Download URL: ImgDatasetBuilder-1.0.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.0

File hashes

Hashes for ImgDatasetBuilder-1.0.2.tar.gz
Algorithm Hash digest
SHA256 16faca3c4dd1c918ce8d560d1e0c6198984764539746bdeb8fed55a27b5de8e3
MD5 9d7d60899255dfa9a35157960cabd499
BLAKE2b-256 f089673ac2af390ce8ebe1e6a92fc5c60905d5d9fc904b29d3868de4aad0a902

See more details on using hashes here.

File details

Details for the file ImgDatasetBuilder-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: ImgDatasetBuilder-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.0

File hashes

Hashes for ImgDatasetBuilder-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d0a08f9b811e56315c576be799e1457fe324bc65ea5dd21d4b323b784947f59d
MD5 48f90d6af68871004558e3d8b368cb5d
BLAKE2b-256 047a0e5309d5c480ba412e98e6542aa8fac3c1f64aef0cd5bd0cc5a05d324489

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