Skip to main content

Package for collecting data and transforming to dataset

Project description

idatagate

idatagate is a CLI tool designed for managing and processing hand image datasets, as well as uploading files to Google Storage. It allows you to collect images, transform them into datasets, and manage files in Google Drive storage efficiently.

Table Of Contents

Features

  • Collect hand images with real-time landmark detection for multiple classes.
  • Upload files to Google Storage.
  • Download files or list files from Google Storage.

Installation

To install idatagate, run:

pipx install idatagate

Usage

Collecting Hand Images

To collect images, run:

idatagate collect --data-dir /path/to/save/images --classes-number 26 --samples-number 100

The command will take images for 26 different classes (such as the alphabet in sign language) and store them in the specified directory. Each class will have by default 100 images collected using landmark detection. The collection will continue until all images are gathered for each class. The image collection uses real-time landmark detection to capture high-quality images. For reference, the classes are aligned with the alphabet as demonstrated in this example image:

img

Example Command

idatagate collect --data-dir ./images --classes-number 26 --samples-number 100

This command will continuously capture images for 26 classes (each corresponding to a letter of the alphabet) until 100 samples per class are collected.

Uploading Files

To upload a zip file to Google Storage, use:

idatagate upload --key <API_KEY>

Make sure the key is already set before running the upload command. If the key is not set, use the idatagate set-key command as described earlier.

Listing Files

To list files in Google Storage, use:

idatagate list

Downloading Files

To download a file from Google Storage, you can specify a file ID:

idatagate download --file-id <FILE_ID>

Or download all files:

idatagate download

Instruction

Firsly collect the data with

idatagate collect

then upload files to server:

idatagate upload

Caching the Encryption Key

It is possible

Contributing

Feel free to open issues or contribute by submitting 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

idatagate-0.0.5.tar.gz (56.0 kB view details)

Uploaded Source

Built Distribution

idatagate-0.0.5-py3-none-any.whl (55.9 kB view details)

Uploaded Python 3

File details

Details for the file idatagate-0.0.5.tar.gz.

File metadata

  • Download URL: idatagate-0.0.5.tar.gz
  • Upload date:
  • Size: 56.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.10 Linux/6.8.0-1014-azure

File hashes

Hashes for idatagate-0.0.5.tar.gz
Algorithm Hash digest
SHA256 8f40d1b4fdf25e3e0be770b3d6491b06ff6f11727cf0ea992dd37415238a31d6
MD5 d1b44faf938b75376bacc255d77fd746
BLAKE2b-256 05d06adb663ad2f14aee5926321e09b41a531e894bbfb88ce56db9523aa3d045

See more details on using hashes here.

File details

Details for the file idatagate-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: idatagate-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 55.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.10 Linux/6.8.0-1014-azure

File hashes

Hashes for idatagate-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3593b8f0b2210ab04796ebc896811366e85dae9c67a96c7d01d978041ab3ddb3
MD5 9fce81dd9d6f24cac6382bfd1176bbcc
BLAKE2b-256 ab93d58280daca82a98d333599240e0aaea54cff68a1428ce2bf763de5fe7804

See more details on using hashes here.

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