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

Uploaded Source

Built Distribution

pascalgt-0.0.2.post2109261431-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pascalgt-0.0.2-2109261431.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-2109261431.tar.gz
Algorithm Hash digest
SHA256 e4d4d5370d196b7b23207e21eea286fc2531499b8ebcb5d598e3f7add5d5ebe3
MD5 032bb1016fe92493be23d5a1469f1566
BLAKE2b-256 a2b8bc2badaa90870be8844086afa755868d3137ee0ec91ebc4d25378c7666c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pascalgt-0.0.2.post2109261431-py3-none-any.whl
  • Upload date:
  • Size: 5.0 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.post2109261431-py3-none-any.whl
Algorithm Hash digest
SHA256 3e6f6a18bbea6c8abaeed2f511e640287dfc821c96f6be86e26e794d82ae22c3
MD5 4ea10de5f623024d1b228dfc82f38ff3
BLAKE2b-256 bd715a28475054f4991a5e0f6921b774b93e70c76ae4468299ab82d0b911df2f

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