Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -17,31 +17,6 @@ This dataset specifically focuses on **3D anime-style** content, addressing the
|
|
| 17 |
|
| 18 |
The dataset organization follows a structured approach with separate directories for clear and blurry images, each containing thousands of carefully curated samples. With a total size of approximately 5GB, this dataset provides substantial training data for developing robust image quality assessment models. The **automatic annotation** process ensures consistent labeling while maintaining the dataset's scalability and reproducibility for research and development purposes.
|
| 19 |
|
| 20 |
-
## Usage
|
| 21 |
-
|
| 22 |
-
This dataset can be used with the `dghs-imgutils` library for efficient loading and processing:
|
| 23 |
-
|
| 24 |
-
```python
|
| 25 |
-
from dghs_imgutils import load_dataset_from_tar
|
| 26 |
-
|
| 27 |
-
# Load the dataset from tar archive
|
| 28 |
-
dataset = load_dataset_from_tar('3d_blurry.tar')
|
| 29 |
-
|
| 30 |
-
# The dataset contains clear and blurry image pairs
|
| 31 |
-
# Clear images are in 'clear/' directory
|
| 32 |
-
# Blurry images are in 'blurry/' directory
|
| 33 |
-
|
| 34 |
-
# Example usage for binary classification
|
| 35 |
-
for image_path, metadata in dataset.items():
|
| 36 |
-
if image_path.startswith('clear/'):
|
| 37 |
-
label = 0 # Clear image
|
| 38 |
-
elif image_path.startswith('blurry/'):
|
| 39 |
-
label = 1 # Blurry image
|
| 40 |
-
|
| 41 |
-
# Process image and label for training
|
| 42 |
-
# ...
|
| 43 |
-
```
|
| 44 |
-
|
| 45 |
## Dataset Structure
|
| 46 |
|
| 47 |
The dataset is organized in a tar archive with the following structure:
|
|
|
|
| 17 |
|
| 18 |
The dataset organization follows a structured approach with separate directories for clear and blurry images, each containing thousands of carefully curated samples. With a total size of approximately 5GB, this dataset provides substantial training data for developing robust image quality assessment models. The **automatic annotation** process ensures consistent labeling while maintaining the dataset's scalability and reproducibility for research and development purposes.
|
| 19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
## Dataset Structure
|
| 21 |
|
| 22 |
The dataset is organized in a tar archive with the following structure:
|