Metadata-Version: 2.1
Name: binaexperts
Version: 0.3.1
Summary: A dataset conversion SDK for different Computer Vision formats
Author: Nastaran Dab
Author-email: n.dab@binaexperts.com
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: PyYAML
Requires-Dist: requests
Requires-Dist: typing
Requires-Dist: jsonschema
Requires-Dist: abc
Requires-Dist: struct
Requires-Dist: opencv-python
Requires-Dist: numpy
Requires-Dist: datetime


# BinaExperts SDK

This SDK provides tools for converting various dataset formats (COCO, YOLO, etc.). It is designed to be modular and extensible, allowing easy addition of new formats.

"Note: This version of the BinaExperts SDK currently supports dataset conversions between COCO and YOLO formats only. Future versions will extend support to additional formats."
## Project Structure

```plaintext
binaexperts_sdk/
│
├── binaexperts/
│   ├── __init__.py
│   ├── convertors/
│   │   ├── __init__.py
│   │   ├── base.py        # Base class for converters
│   │   ├── const.py        # Constants used for dataset conversion settings and formats
│   │   ├── convertor.py     # Main class for managing dataset conversions
│   ├── schema/
│   │   ├── __init__.py
│   │   ├── coco.py                  # Schema for COCO format
│   │   ├── yolo.py                  # Schema for YOLO format
│   │   ├── normalizer.py           # Schema for Normalizer format
│   ├── utils/
│   │   ├── __init__.py
│   │   ├── utils.py
│ 
│
├── setup.py                         # Setup script for packaging the SDK
├── README.md                        # Project documentation
└── requirements.txt                 # Python dependencies

```
## Installation

You can install the BinaExperts SDK directly from PyPI using `pip`:

```bash
pip install binaexperts
```
## Usage

Once you've installed the BinaExperts SDK, you can start converting datasets between different formats. Here's how to use the SDK:

### Basic Example

```python
import binaexperts
convertor = binaexperts.Convertor()

# Convert COCO format to YOLO format
convertor.convert(
    source_path='path/to/source_format_dataset.zip', 
    target_path='path/to/target_format_dataset.zip',
    source_format='coco',
    target_format='yolo'
)
```
### Supported Formats

The BinaExperts SDK currently supports the following formats:

- COCO
- YOLO


## License
This project is licensed under the MIT License.
