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.3.tar.gz (55.8 kB view details)

Uploaded Source

Built Distribution

idatagate-0.0.3-py3-none-any.whl (55.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: idatagate-0.0.3.tar.gz
  • Upload date:
  • Size: 55.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1025-azure

File hashes

Hashes for idatagate-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e163ac11983438ab6421f9909665102712eb9b80d740cdfa5aa53c3c6d2fa4f3
MD5 ef73811fb8fed56562c16b7497ef9291
BLAKE2b-256 4f9183b89433a697e817bd7a29e1931be806689ae70886d086251ded021556ae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: idatagate-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 55.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1025-azure

File hashes

Hashes for idatagate-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a8ea92f05b1eb2ee5a48cd57b2be879151260edb308e131d6d04ecf91c2b623b
MD5 dfe42f9e78388061defdbe03597e65d4
BLAKE2b-256 fa9c5365a407cf10f527f5d7b1c2eb297ca20c9f7e8b8e303e556cda95c85d8d

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