Skip to main content

Tool for transform Pascal-VOC xml files and AWS Ground Truth manifest file.

Project description

pascalgt

Transform manifest file of AWS Ground Truth and Pascal VOC xml files mutually.

usage

install

pip install pascalgt

Pascal VOC to AWS Ground Truth manifest

from pascalgt.transformer import Pascal2GT

# transform Pascal VOC xml files into a manifest file of AWS Ground Truth
pascal2gt = Pascal2GT(project_name="test-project", s3_path="s3://test-project/images")
pascal2gt.run(path_target_manifest="./output.manifest", path_source_xml_dir="./xml/")

AWS Ground Truth manifest to Pascal VOC

from pascalgt.transformer import GT2Pascal

# transform a manifest file of AWS Ground Truth into Pascal VOC xml files
gt2pascal = GT2Pascal()
gt2pascal.run(path_source_manifest="./output.manifest", path_target_xml_dir="./xml")

license

The source code is licensed MIT.

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

pascalgt-0.0.2-2112221030.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

pascalgt-0.0.2.post2112221030-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file pascalgt-0.0.2-2112221030.tar.gz.

File metadata

  • Download URL: pascalgt-0.0.2-2112221030.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for pascalgt-0.0.2-2112221030.tar.gz
Algorithm Hash digest
SHA256 99e68220e7a2f5c7cf34fdc9f589a635eda146cb294303ec10b9b8b8d0e15400
MD5 e6cab89a79b44c43f544c57cc464d9d5
BLAKE2b-256 b4afc35e4e0cab9478d73c947618b21785b78caeb5a2ef66b3cbdbc137b68fbc

See more details on using hashes here.

File details

Details for the file pascalgt-0.0.2.post2112221030-py3-none-any.whl.

File metadata

  • Download URL: pascalgt-0.0.2.post2112221030-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for pascalgt-0.0.2.post2112221030-py3-none-any.whl
Algorithm Hash digest
SHA256 f4de952973d22d8926c8c69873abba39400e1993e195518cea25925cbb7bca83
MD5 aeb2d76fed77e57c4045a436df1c6c9c
BLAKE2b-256 14159edb332bd538e1b8946b0761527b745a20accd411490e9883b1b91146267

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