Skip to main content

Transform, analyze, and visualize computer vision annotations.

Project description

PyLabel

pip install pylabel

PyLabel is a Python package to help computer vision practitioners get labelled data sets ready to be used in deep learning models. The core functionality is to translate bounding box annotations between different formats-for example, from coco to yolo.

PyLabel capabilities:

  • Import/Export: Translate annotation formats. PyLabel currently supports Coco, VOC, and Yolo bounding box formats. The task of converting formats can be accomplished with 2 commands--import and export.
    from pylabel import importer
    dataset = importer.ImportCoco(path_to_annotations)
    dataset.ExportToVOC()
    
  • Analyze: PyLabel can help you explore your visual datasets be providing summary statistics such as the count of images and classes to help you identify class imbalances.
  • Visualize: Render images from your dataset with bounding boxes overlaid so you can confirm the accuracy of the annotations. PyLabel uses the bbox-visualizer package to draw bounding boxes.
  • Split (Coming Soon): Spilt image datasets into train, test, and val with stratification to get consistent class distribution across the split datasets.

Sample Notebooks

See PyLabel in action in these sample Jupyter notebooks:

About PyLabel

PyLabel is being developed by Jeremy Fraenkel, Alex Heaton, and Derek Topper as the Capstope project for the Master of Information and Data Science (MIDS) at the UC Berkeley School of Information. If you have any questions or feedback please create an issue. Please let us know how we can make PyLabel more useful.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pylabel-0.1.17.tar.gz (18.2 kB view hashes)

Uploaded Source

Built Distribution

pylabel-0.1.17-py3-none-any.whl (19.7 kB view hashes)

Uploaded 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