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

Uploaded Source

Built Distribution

pascalgt-0.0.2.post2109270953-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pascalgt-0.0.2-2109270953.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for pascalgt-0.0.2-2109270953.tar.gz
Algorithm Hash digest
SHA256 65e31047ebda17e9ab9addc98e8872a17490a4d02f2d87b0ea4d1457105ca8c5
MD5 9fd9eb2aab64aa07dde16a58f18f0082
BLAKE2b-256 2d3691fc2f87dd12fff14faec2788ed3f0d16a06743753408f2e23b6a67825d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pascalgt-0.0.2.post2109270953-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for pascalgt-0.0.2.post2109270953-py3-none-any.whl
Algorithm Hash digest
SHA256 017a3dcb8df0de815e09f14636b5eb60fe2a15d532ae5b6486ab8ae0f252ca3d
MD5 ee2a97a2995ed594dc5fed92d29540cb
BLAKE2b-256 3eda7bd409cde42f55347671dd7bf17e05f6d9d886567f65dd3bca94ddcc2b07

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