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

Link to pypi project page: https://pypi.org/project/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-2204141114.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pascalgt-0.0.2-2204141114.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for pascalgt-0.0.2-2204141114.tar.gz
Algorithm Hash digest
SHA256 fd339b3d153243fcb5fcf08837dc89bd2f058b41f735d2e33c225bde350061ab
MD5 32b92baf8ed8be94b3e2cc4a3cd3b609
BLAKE2b-256 abb581a519a5bd3e01ba3da3d2e3dce0af0a2d261dda02e4c237289c61145431

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pascalgt-0.0.2.post2204141114-py3-none-any.whl
Algorithm Hash digest
SHA256 63d08f1cb7ea6c8230c9807859f783c26576f81ee1e1a836a7dfc86fde4ef617
MD5 5f17435e6751657c1bfb6b39650c4294
BLAKE2b-256 04e35f3d557d08e654af030ac0df739bac7b0b88e198e47abdb2a7d71ff7ff01

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