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.


pip install pascal-voc-writer


# 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)‘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.

Files for pascal-voc-writer, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size pascal_voc_writer-0.1.4-py2.py3-none-any.whl (4.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pascal_voc_writer-0.1.4-py3.6.egg (3.6 kB) File type Egg Python version 3.6 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page