Skip to main content

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.

Release files for idatagate 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for idatagate 0.0.5
File Size Uploaded
idatagate-0.0.5.tar.gz 56.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for idatagate 0.0.5
File Interpreter ABI Platform
idatagate-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size:111.9 kB

Release files / idatagate-0.0.5.tar.gz

Download URL idatagate-0.0.5.tar.gz
Size 56.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8f40d1b4fdf25e3e0be770b3d6491b06ff6f11727cf0ea992dd37415238a31d6
BLAKE2b-256 checksum
How to use checksums
05d06adb663ad2f14aee5926321e09b41a531e894bbfb88ce56db9523aa3d045
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.10 Linux/6.8.0-1014-azure

Release files / idatagate-0.0.5-py3-none-any.whl

Download URL idatagate-0.0.5-py3-none-any.whl
Size 55.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3593b8f0b2210ab04796ebc896811366e85dae9c67a96c7d01d978041ab3ddb3
BLAKE2b-256 checksum
How to use checksums
ab93d58280daca82a98d333599240e0aaea54cff68a1428ce2bf763de5fe7804
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.10 Linux/6.8.0-1014-azure

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page