Skip to main content

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


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

pascal_voc_writer-0.1.4-py3.6.egg (3.6 kB view details)

Uploaded Source

pascal_voc_writer-0.1.4-py2.py3-none-any.whl (4.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pascal_voc_writer-0.1.4-py3.6.egg.

File metadata

File hashes

Hashes for pascal_voc_writer-0.1.4-py3.6.egg
Algorithm Hash digest
SHA256 6be06f0fd7ef53b693a1278222d599c829ec8b396699be4aabd93e2d14e572a0
MD5 7ceb23ac647c186f83602c1a56e451a7
BLAKE2b-256 b542526f4d6c8f30d00918a63ab791be79aaf790cbc94894a3cf75a5462deb81

See more details on using hashes here.

File details

Details for the file pascal_voc_writer-0.1.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pascal_voc_writer-0.1.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5424d88873a7513da84825c8d07e865033c11c00f68270bc8b819a35b187ce3b
MD5 72f3541dec486f193e08ba9699d7b9e9
BLAKE2b-256 9d82dd86999e6062fc34478f11ead7a68e6615d7e270b39624547edd1dbaba76

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