Create image annotation XML files in the PASCAL VOC format
Project description
This library can be used to create image annotation XML files in the PASCAL VOC file format.
Install
pip install pascal-voc-writer
Use
# Writer(path, width, height)
writer = Writer(‘path/to/img.jpg’, 800, 400)
# ::addObject(name, xmin, ymin, xmax, ymax)
writer.addObject(‘cat’, 100, 100, 200, 200)
# ::save(path)
writer.save(‘path/to/img.xml’)
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
File details
Details for the file pascal_voc_writer-0.1.4-py3.6.egg
.
File metadata
- Download URL: pascal_voc_writer-0.1.4-py3.6.egg
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6be06f0fd7ef53b693a1278222d599c829ec8b396699be4aabd93e2d14e572a0 |
|
MD5 | 7ceb23ac647c186f83602c1a56e451a7 |
|
BLAKE2b-256 | b542526f4d6c8f30d00918a63ab791be79aaf790cbc94894a3cf75a5462deb81 |
File details
Details for the file pascal_voc_writer-0.1.4-py2.py3-none-any.whl
.
File metadata
- Download URL: pascal_voc_writer-0.1.4-py2.py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5424d88873a7513da84825c8d07e865033c11c00f68270bc8b819a35b187ce3b |
|
MD5 | 72f3541dec486f193e08ba9699d7b9e9 |
|
BLAKE2b-256 | 9d82dd86999e6062fc34478f11ead7a68e6615d7e270b39624547edd1dbaba76 |