Metadata-Version: 2.3
Name: labelme-toolkit
Version: 1.3.1
Summary: Labelme Toolkit
Project-URL: Homepage, https://github.com/labelmeai/toolkit
Author-email: Kentaro Wada <www.kentaro.wada@gmail.com>
License: MIT
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Requires-Dist: click
Requires-Dist: imgviz
Requires-Dist: jinja2
Requires-Dist: loguru
Requires-Dist: numpy
Requires-Dist: osam-core>=0.1.1
Requires-Dist: osam>=0.2.0
Requires-Dist: pillow>=10.1
Provides-Extra: test
Requires-Dist: build; extra == 'test'
Requires-Dist: mypy; extra == 'test'
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-xdist; extra == 'test'
Requires-Dist: ruff; extra == 'test'
Requires-Dist: twine; extra == 'test'
Requires-Dist: types-pillow; extra == 'test'
Requires-Dist: types-setuptools; extra == 'test'
Description-Content-Type: text/markdown

<div align="center">
  <h1>Labelme Toolkit</h1>
  <p>Tools to streamline dataset creation with Labelme.</p>
</div>

<br/><br/>

<i>Labelme Toolkit</i> is a set of tools to streamline your dataset creation.

<i>Labelme Toolkit</i> provides:

1. **Automation** - Annotation by AI, data manipulation, validation, and export;
1. **Batch processing** - Process multiple files at once;
1. **Seamless integration with [Labelme](https://github.com/labelmeai/labelme)** - Compatible annotation format.

## Installation

```bash
pip install labelme-toolkit
```

## Usage

```bash
labelmetk <COMMAND> [OPTIONS]
```

### Commands

- `ai-annotate-rectangles`:  Annotate rectangle from text by AI.
- `extract-image`:           Extract image from a JSON file.
- `install-toolkit-pro`:     Install Toolkit Pro.
- `json-to-mask`:            Convert a Labelme JSON file to a mask.
- `json-to-visualization`:   Convert a Labelme JSON file to a visualization.
- `list-labels`:             List unique labels in the JSON files.

For step-by-step guide: [Labelme Toolkit Guide](https://gumroad.labelme.io/l/toolkit-guide).

For Pro version: [Labelme Toolkit Pro](https://gumroad.labelme.io/l/toolkit-pro).
