Last updated:
0 purchases
pascalvocwriter 0.1.4
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’)
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.