Metadata-Version: 2.2
Name: synthetic_data_gen
Version: 0.1.2
Summary: A package for generating synthetic data, using labelme and generating synthetic images.
Author-email: Sebastian Jörz <seppel8426@gmail.com>
License: MIT License
        
        Copyright (c) [year] [fullname]
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: kaggle
Requires-Dist: torch
Requires-Dist: torchvision
Requires-Dist: ultralytics
Requires-Dist: shapely
Requires-Dist: scikit-image
Requires-Dist: albumentations
Requires-Dist: joblib
Requires-Dist: labelme

Download the dataset:

```bash
kaggle datasets download -p microorganism-dataset sebastianjrz/microorganism-dataset --unzip
```

Files:

| File Name                             | Description                                                                                            |
| ------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| `data_generation_yolo_backgrounds.py` | Script to generate synthetic data using YOLO format                                                    |
| `create_input_images_from_labelme.py` | Script to extract labelme polygons into foreground images                                              |
| `dataset_mixer.py`                    | Script to mix multiple datasets into one (eg. synthetic images and real images)                        |
| `labelme_to_yolo_extractor.py`        | Script to convert labelme polygons into YOLO format (eg. use as additional real images)                |
| `train_model.py`                      | Script to train a model using synthetic and real data (using the `dataset_mixer.py` script internally) |
