Skip to main content

For easier downloading

Project description

COCO 2018 Panoptic Segmentation Task API (Beta version)

This API is an experimental version of COCO 2018 Panoptic Segmentation Task API.

To install panopticapi, run:

pip install git+https://github.com/cocodataset/panopticapi.git

Summary

Evaluation script

panopticapi/evaluation.py calculates PQ metrics. For more information about the script usage: python -m panopticapi.evaluation --help

Format converters

COCO panoptic segmentation is stored in a new format. Unlike COCO detection format that stores each segment independently, COCO panoptic format stores all segmentations for an image in a single PNG file. This compact representation naturally maintains non-overlapping property of the panoptic segmentation.

We provide several converters for COCO panoptic format. Full description and usage examples are available here.

Semantic and instance segmentation heuristic combination

We provide a simple script that heuristically combines semantic and instance segmentation predictions into panoptic segmentation prediction.

The merging logic of the script is described in the panoptic segmentation paper. In addition, this script is able to filter out stuff predicted segments that have their area below the threshold defined by --stuff_area_limit parameter.

For more information about the script logic and usage: python -m panopticapi.combine_semantic_and_instance_predictions.py --help

COCO panoptic segmentation challenge categories

Json file panoptic_coco_categories.json contains the list of all categories used in COCO panoptic segmentation challenge 2018.

Visualization

visualization.py provides an example of generating visually appealing representation of the panoptic segmentation data.

Contact

If you have any questions regarding this API, please contact us at alexander.n.kirillov-at-gmail.com.

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 Distribution

If you're not sure about the file name format, learn more about wheel file names.

panopticapi_lite-0.2.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file panopticapi_lite-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for panopticapi_lite-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58d3ffa842a72240162e7fa744c602a0a5320baabbdb3295d770374f4639b486
MD5 0e23f58cd847387952f730e06b6b6eed
BLAKE2b-256 13141f67e673188c97e4a0ef987e7fe72577dcffcd5bef97b6dc84f7cdc25f65

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page