pvw

pascal-voc-writer

A python library for generating annotations in the PASCAL VOC format.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

194

Maintenance

Last Commit

3yrs ago

Contributors

2

Package

Dependencies

0

License

MIT

Categories

Readme

PASCAL VOC Writer

This library can be used to create image annotation XML files in the PASCAL VOC file format.

Install

pip install pascal-voc-writer

Use

from pascal_voc_writer import 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)

writer.save('path/to/img.xml')

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100