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 hashes)

Uploaded Source

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

Uploaded Python 2 Python 3

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