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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pascalgt-0.0.2-2109270938.tar.gz
.
File metadata
- Download URL: pascalgt-0.0.2-2109270938.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | aad86ece7df6385c4a26d1fa9e802404d1456b3a36a168d8ca60403cebe817b9 |
|
MD5 | 95007405cd5e23a2831ab8104d3db08a |
|
BLAKE2b-256 | 520726cfc03a64f29fdb79d53f4ff41f6b3c48fe439834617f4e31cd85c79328 |
File details
Details for the file pascalgt-0.0.2.post2109270938-py3-none-any.whl
.
File metadata
- Download URL: pascalgt-0.0.2.post2109270938-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa8f62c9d0ed8c6f14a0ce8c15c3268cbacef72a60112245103f9818f60e1ea2 |
|
MD5 | 6159e48b5658de75d572b4306b4f5178 |
|
BLAKE2b-256 | b0c035a2362718ae023256e36fbc21dc1cebf0ed902ac77b1d8f93dfbd88abdb |