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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for ImgDatasetBuilder-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa17138fe033c5404049e113c8cc215e988585edb05d0f9acd5da8686bbead29 |
|
MD5 | c7b9ddfd1ba0a0810efeed9dfcabea76 |
|
BLAKE2b-256 | 4f1f930410fbbbba55fc93c6ed49310e7b567fb32afa235b9a763f073f86326b |