Metadata-Version: 2.1
Name: huggingface-datasets-cocoapi-tools
Version: 0.2.0
Summary: A helper library for easily converting MSCOCO format data using the loading script of huggingface datasets.
Author: Shunsuke KITADA
Author-email: shunsuke.kitada.0831@gmail.com
Requires-Python: >=3.9,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Provides-Extra: all
Provides-Extra: cocoapi
Provides-Extra: datasets
Requires-Dist: datasets[vision] (>=1.0.0) ; extra == "datasets" or extra == "all"
Requires-Dist: pycocotools (>=2.0.2) ; extra == "cocoapi" or extra == "all"
Requires-Dist: pydantic (>=2.0.0)
Description-Content-Type: text/markdown

# COCO API tools for 🤗 Huggingface Dataset

[![CI](https://github.com/shunk031/huggingface-datasets_cocoapi-tools/actions/workflows/ci.yaml/badge.svg)](https://github.com/shunk031/huggingface-datasets_cocoapi-tools/actions/workflows/ci.yaml)
[![Release](https://github.com/shunk031/huggingface-datasets_cocoapi-tools/actions/workflows/release.yaml/badge.svg)](https://github.com/shunk031/huggingface-datasets_cocoapi-tools/actions/workflows/release.yaml)
[![Deploy](https://github.com/shunk031/huggingface-datasets_cocoapi-tools/actions/workflows/deploy.yaml/badge.svg)](https://github.com/shunk031/huggingface-datasets_cocoapi-tools/actions/workflows/deploy.yaml)
[![Python](https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11-blue?logo=python)](https://pypi.python.org/pypi/huggingface-datasets-cocoapi-tools)
[![PyPI](https://img.shields.io/pypi/v/huggingface-datasets-cocoapi-tools.svg)](https://pypi.python.org/pypi/huggingface-datasets-cocoapi-tools)

A helper library for easily converting [MSCOCO format data](https://cocodataset.org/#home) using [the loading script](https://huggingface.co/docs/datasets/dataset_script) of [🤗 huggingface datasets](https://github.com/huggingface/datasets).

## Installation

You can install the library via pip:

```shell
pip install huggingface-datasets-cocoapi-tools
```

You can also install the library with the optional dependencies for [🤗 huggingface datasets](https://github.com/huggingface/datasets):

```
pip install 'huggingface-datasets-cocoapi-tools[datasets]'
```

## Acknowledgement

- cocodataset/cocoapi: COCO API - Dataset @ http://cocodataset.org/ https://github.com/cocodataset/cocoapi 
- ppwwyyxx/cocoapi: Contains the "pycocotools" package on PyPI. Changes made to the official cocoapi about packaging. https://github.com/ppwwyyxx/cocoapi 
- nightrome/cocostuffapi: COCO Stuff API https://github.com/nightrome/cocostuffapi 

