Datasets:
Formats:
json
Size:
1K - 10K
Tags:
document-ai
form-understanding
key-information-extraction
layout-analysis
multilingual
structured-prediction
License:
Add dataset augment samples
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- dataset-augment/Arabic-1/Arabic-1-01_augmented.png +3 -0
- dataset-augment/Arabic-1/augment_meta.json +192 -0
- dataset-augment/Arabic-2/Arabic-2-01_augmented.png +3 -0
- dataset-augment/Arabic-2/augment_meta.json +194 -0
- dataset-augment/Arabic-3/Arabic-3-01_augmented.png +3 -0
- dataset-augment/Arabic-3/augment_meta.json +192 -0
- dataset-augment/Arabic-4/Arabic-4-01_augmented.png +3 -0
- dataset-augment/Arabic-4/augment_meta.json +176 -0
- dataset-augment/Arabic-5/Arabic-5-01_augmented.png +3 -0
- dataset-augment/Arabic-5/augment_meta.json +176 -0
- dataset-augment/Arabic-6/Arabic-6-01_augmented.png +3 -0
- dataset-augment/Arabic-6/augment_meta.json +192 -0
- dataset-augment/Arabic-7/Arabic-7-01_augmented.png +3 -0
- dataset-augment/Arabic-7/augment_meta.json +192 -0
- dataset-augment/Arabic-8/Arabic-8-01_augmented.png +3 -0
- dataset-augment/Arabic-8/augment_meta.json +208 -0
- dataset-augment/README.md +22 -0
- dataset-augment/de_1/augment_meta.json +192 -0
- dataset-augment/de_1/de_1-01_augmented.png +3 -0
- dataset-augment/de_2/augment_meta.json +192 -0
- dataset-augment/de_2/de_2-01_augmented.png +3 -0
- dataset-augment/en_1/augment_meta.json +208 -0
- dataset-augment/en_1/en_1-01_augmented.png +3 -0
- dataset-augment/en_10/augment_meta.json +192 -0
- dataset-augment/en_10/en_10-01_augmented.png +3 -0
- dataset-augment/en_11/augment_meta.json +208 -0
- dataset-augment/en_11/en_11-01_augmented.png +3 -0
- dataset-augment/en_12/augment_meta.json +208 -0
- dataset-augment/en_12/en_12-01_augmented.png +3 -0
- dataset-augment/en_13/augment_meta.json +208 -0
- dataset-augment/en_13/en_13-01_augmented.png +3 -0
- dataset-augment/en_14/augment_meta.json +176 -0
- dataset-augment/en_14/en_14-01_augmented.png +3 -0
- dataset-augment/en_15/augment_meta.json +208 -0
- dataset-augment/en_15/en_15-01_augmented.png +3 -0
- dataset-augment/en_16/augment_meta.json +192 -0
- dataset-augment/en_16/en_16-01_augmented.png +3 -0
- dataset-augment/en_17/augment_meta.json +176 -0
- dataset-augment/en_17/en_17-01_augmented.png +3 -0
- dataset-augment/en_18/augment_meta.json +176 -0
- dataset-augment/en_18/en_18-01_augmented.png +3 -0
- dataset-augment/en_19/augment_meta.json +176 -0
- dataset-augment/en_19/en_19-01_augmented.png +3 -0
- dataset-augment/en_2/augment_meta.json +192 -0
- dataset-augment/en_2/en_2-01_augmented.png +3 -0
- dataset-augment/en_3/augment_meta.json +176 -0
- dataset-augment/en_3/en_3-01_augmented.png +3 -0
- dataset-augment/en_4/augment_meta.json +176 -0
- dataset-augment/en_4/en_4-01_augmented.png +3 -0
- dataset-augment/en_5/augment_meta.json +176 -0
dataset-augment/Arabic-1/Arabic-1-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/Arabic-1/augment_meta.json
ADDED
|
@@ -0,0 +1,192 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "Arabic-1",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 4207737310129349810,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/Arabic-1/01/Arabic-1-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/Arabic-1/Arabic-1-01_augmented.png",
|
| 10 |
+
"source_relative": "Arabic-1/01/Arabic-1-01.png",
|
| 11 |
+
"output_relative": "Arabic-1/Arabic-1-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 864,
|
| 14 |
+
"height": 1232
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 864,
|
| 18 |
+
"height": 1232
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 864,
|
| 33 |
+
"height": 1232
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 864,
|
| 37 |
+
"height": 1232
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 864,
|
| 41 |
+
"height": 1232
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 1460.1299,
|
| 45 |
+
"blur_score_cv_denoised": 285.003,
|
| 46 |
+
"foreground_ratio": 0.348909,
|
| 47 |
+
"mean_gray": 237.7933,
|
| 48 |
+
"std_gray": 35.5269
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 1341.4315,
|
| 52 |
+
"blur_score_cv_denoised": 108.9338,
|
| 53 |
+
"foreground_ratio": 0.357571,
|
| 54 |
+
"mean_gray": 218.1351,
|
| 55 |
+
"std_gray": 29.7178
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": -118.6984,
|
| 59 |
+
"blur_score_cv_denoised": -176.0692,
|
| 60 |
+
"foreground_ratio": 0.0087,
|
| 61 |
+
"mean_gray": -19.6582,
|
| 62 |
+
"std_gray": -5.8091
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 3,
|
| 78 |
+
"kernel_shape": "rect",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 2,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 799,
|
| 96 |
+
"center_y": 915,
|
| 97 |
+
"radius_px": 25.8317,
|
| 98 |
+
"amplitude_px": 13.0186,
|
| 99 |
+
"direction_deg": 189.7618,
|
| 100 |
+
"twist_ratio": 0.4773
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"center_x": 117,
|
| 104 |
+
"center_y": 938,
|
| 105 |
+
"radius_px": 24.6966,
|
| 106 |
+
"amplitude_px": 11.2826,
|
| 107 |
+
"direction_deg": 291.4043,
|
| 108 |
+
"twist_ratio": 0.2605
|
| 109 |
+
}
|
| 110 |
+
],
|
| 111 |
+
"warp_center_source": "foreground_mask",
|
| 112 |
+
"warp_local_patch_only": true,
|
| 113 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 114 |
+
"iterations": 1,
|
| 115 |
+
"strength": 0.6553,
|
| 116 |
+
"post_blur_sigma": 0.227,
|
| 117 |
+
"post_noise_sigma": 0.8509
|
| 118 |
+
},
|
| 119 |
+
"bend_params": {
|
| 120 |
+
"warp_mode": "local_bend_points",
|
| 121 |
+
"warp_point_count": 2,
|
| 122 |
+
"warp_radius_range_px": [
|
| 123 |
+
12.0,
|
| 124 |
+
36.0
|
| 125 |
+
],
|
| 126 |
+
"warp_amplitude_range_px": [
|
| 127 |
+
8.0,
|
| 128 |
+
15.0
|
| 129 |
+
],
|
| 130 |
+
"warp_twist_ratio_range": [
|
| 131 |
+
0.24,
|
| 132 |
+
0.48
|
| 133 |
+
],
|
| 134 |
+
"warp_points": [
|
| 135 |
+
{
|
| 136 |
+
"center_x": 799,
|
| 137 |
+
"center_y": 915,
|
| 138 |
+
"radius_px": 25.8317,
|
| 139 |
+
"amplitude_px": 13.0186,
|
| 140 |
+
"direction_deg": 189.7618,
|
| 141 |
+
"twist_ratio": 0.4773
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"center_x": 117,
|
| 145 |
+
"center_y": 938,
|
| 146 |
+
"radius_px": 24.6966,
|
| 147 |
+
"amplitude_px": 11.2826,
|
| 148 |
+
"direction_deg": 291.4043,
|
| 149 |
+
"twist_ratio": 0.2605
|
| 150 |
+
}
|
| 151 |
+
],
|
| 152 |
+
"warp_center_source": "foreground_mask",
|
| 153 |
+
"warp_local_patch_only": true,
|
| 154 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 155 |
+
},
|
| 156 |
+
"erosion_params": {
|
| 157 |
+
"operations": [
|
| 158 |
+
"foreground_ink_erosion",
|
| 159 |
+
"small_optional_blur",
|
| 160 |
+
"small_optional_noise"
|
| 161 |
+
],
|
| 162 |
+
"kernel_size": 2,
|
| 163 |
+
"kernel_shape": "rect",
|
| 164 |
+
"iterations": 2,
|
| 165 |
+
"strength": 0.9544,
|
| 166 |
+
"post_blur_sigma": 0.2129,
|
| 167 |
+
"post_noise_sigma": 1.0027
|
| 168 |
+
},
|
| 169 |
+
"blur_params": {
|
| 170 |
+
"operations": [
|
| 171 |
+
"contrast_brightness",
|
| 172 |
+
"gaussian_blur",
|
| 173 |
+
"optional_motion_blur",
|
| 174 |
+
"gaussian_noise",
|
| 175 |
+
"salt_pepper",
|
| 176 |
+
"jpeg_roundtrip"
|
| 177 |
+
],
|
| 178 |
+
"contrast": 0.9275,
|
| 179 |
+
"brightness": -1.5928,
|
| 180 |
+
"gaussian_blur_sigma": 0.2838,
|
| 181 |
+
"motion_applied": false,
|
| 182 |
+
"noise_sigma": 2.5277,
|
| 183 |
+
"salt_pepper_amount": 0.001473,
|
| 184 |
+
"jpeg_quality": 61
|
| 185 |
+
}
|
| 186 |
+
},
|
| 187 |
+
"diff_metrics": {
|
| 188 |
+
"mean_absdiff": 24.1217,
|
| 189 |
+
"p95_absdiff": 48.0,
|
| 190 |
+
"changed_pixel_ratio_gt8": 0.976935
|
| 191 |
+
}
|
| 192 |
+
}
|
dataset-augment/Arabic-2/Arabic-2-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/Arabic-2/augment_meta.json
ADDED
|
@@ -0,0 +1,194 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "Arabic-2",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 9475552982012264239,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/Arabic-2/01/Arabic-2-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/Arabic-2/Arabic-2-01_augmented.png",
|
| 10 |
+
"source_relative": "Arabic-2/01/Arabic-2-01.png",
|
| 11 |
+
"output_relative": "Arabic-2/Arabic-2-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 864,
|
| 14 |
+
"height": 1232
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 864,
|
| 18 |
+
"height": 1232
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 864,
|
| 33 |
+
"height": 1232
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 864,
|
| 37 |
+
"height": 1232
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 864,
|
| 41 |
+
"height": 1232
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 1081.2037,
|
| 45 |
+
"blur_score_cv_denoised": 251.3995,
|
| 46 |
+
"foreground_ratio": 0.357741,
|
| 47 |
+
"mean_gray": 238.5362,
|
| 48 |
+
"std_gray": 35.0963
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 968.5899,
|
| 52 |
+
"blur_score_cv_denoised": 75.2144,
|
| 53 |
+
"foreground_ratio": 0.205201,
|
| 54 |
+
"mean_gray": 238.8777,
|
| 55 |
+
"std_gray": 33.3977
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": -112.6138,
|
| 59 |
+
"blur_score_cv_denoised": -176.1851,
|
| 60 |
+
"foreground_ratio": -0.1525,
|
| 61 |
+
"mean_gray": 0.3415,
|
| 62 |
+
"std_gray": -1.6986
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 3,
|
| 78 |
+
"kernel_shape": "rect",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 2,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 757,
|
| 96 |
+
"center_y": 1105,
|
| 97 |
+
"radius_px": 27.8187,
|
| 98 |
+
"amplitude_px": 9.0917,
|
| 99 |
+
"direction_deg": 347.0061,
|
| 100 |
+
"twist_ratio": 0.421
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"center_x": 519,
|
| 104 |
+
"center_y": 192,
|
| 105 |
+
"radius_px": 33.5733,
|
| 106 |
+
"amplitude_px": 10.1972,
|
| 107 |
+
"direction_deg": 107.4988,
|
| 108 |
+
"twist_ratio": 0.3527
|
| 109 |
+
}
|
| 110 |
+
],
|
| 111 |
+
"warp_center_source": "foreground_mask",
|
| 112 |
+
"warp_local_patch_only": true,
|
| 113 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 114 |
+
"iterations": 1,
|
| 115 |
+
"strength": 0.5088,
|
| 116 |
+
"post_blur_sigma": 0.1916,
|
| 117 |
+
"post_noise_sigma": 1.3665
|
| 118 |
+
},
|
| 119 |
+
"bend_params": {
|
| 120 |
+
"warp_mode": "local_bend_points",
|
| 121 |
+
"warp_point_count": 2,
|
| 122 |
+
"warp_radius_range_px": [
|
| 123 |
+
12.0,
|
| 124 |
+
36.0
|
| 125 |
+
],
|
| 126 |
+
"warp_amplitude_range_px": [
|
| 127 |
+
8.0,
|
| 128 |
+
15.0
|
| 129 |
+
],
|
| 130 |
+
"warp_twist_ratio_range": [
|
| 131 |
+
0.24,
|
| 132 |
+
0.48
|
| 133 |
+
],
|
| 134 |
+
"warp_points": [
|
| 135 |
+
{
|
| 136 |
+
"center_x": 757,
|
| 137 |
+
"center_y": 1105,
|
| 138 |
+
"radius_px": 27.8187,
|
| 139 |
+
"amplitude_px": 9.0917,
|
| 140 |
+
"direction_deg": 347.0061,
|
| 141 |
+
"twist_ratio": 0.421
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"center_x": 519,
|
| 145 |
+
"center_y": 192,
|
| 146 |
+
"radius_px": 33.5733,
|
| 147 |
+
"amplitude_px": 10.1972,
|
| 148 |
+
"direction_deg": 107.4988,
|
| 149 |
+
"twist_ratio": 0.3527
|
| 150 |
+
}
|
| 151 |
+
],
|
| 152 |
+
"warp_center_source": "foreground_mask",
|
| 153 |
+
"warp_local_patch_only": true,
|
| 154 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 155 |
+
},
|
| 156 |
+
"erosion_params": {
|
| 157 |
+
"operations": [
|
| 158 |
+
"foreground_ink_erosion",
|
| 159 |
+
"small_optional_blur",
|
| 160 |
+
"small_optional_noise"
|
| 161 |
+
],
|
| 162 |
+
"kernel_size": 2,
|
| 163 |
+
"kernel_shape": "ellipse",
|
| 164 |
+
"iterations": 1,
|
| 165 |
+
"strength": 0.912,
|
| 166 |
+
"post_blur_sigma": 0.144,
|
| 167 |
+
"post_noise_sigma": 1.9861
|
| 168 |
+
},
|
| 169 |
+
"blur_params": {
|
| 170 |
+
"operations": [
|
| 171 |
+
"contrast_brightness",
|
| 172 |
+
"gaussian_blur",
|
| 173 |
+
"optional_motion_blur",
|
| 174 |
+
"gaussian_noise",
|
| 175 |
+
"salt_pepper",
|
| 176 |
+
"jpeg_roundtrip"
|
| 177 |
+
],
|
| 178 |
+
"contrast": 1.0757,
|
| 179 |
+
"brightness": -7.0165,
|
| 180 |
+
"gaussian_blur_sigma": 0.2621,
|
| 181 |
+
"motion_applied": true,
|
| 182 |
+
"motion_kernel": 5,
|
| 183 |
+
"motion_angle": -7.0668,
|
| 184 |
+
"noise_sigma": 3.6902,
|
| 185 |
+
"salt_pepper_amount": 0.001483,
|
| 186 |
+
"jpeg_quality": 76
|
| 187 |
+
}
|
| 188 |
+
},
|
| 189 |
+
"diff_metrics": {
|
| 190 |
+
"mean_absdiff": 6.8631,
|
| 191 |
+
"p95_absdiff": 29.0,
|
| 192 |
+
"changed_pixel_ratio_gt8": 0.205226
|
| 193 |
+
}
|
| 194 |
+
}
|
dataset-augment/Arabic-3/Arabic-3-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/Arabic-3/augment_meta.json
ADDED
|
@@ -0,0 +1,192 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "Arabic-3",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 16846268553644675330,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/Arabic-3/01/Arabic-3-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/Arabic-3/Arabic-3-01_augmented.png",
|
| 10 |
+
"source_relative": "Arabic-3/01/Arabic-3-01.png",
|
| 11 |
+
"output_relative": "Arabic-3/Arabic-3-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 864,
|
| 14 |
+
"height": 1232
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 864,
|
| 18 |
+
"height": 1232
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 864,
|
| 33 |
+
"height": 1232
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 864,
|
| 37 |
+
"height": 1232
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 864,
|
| 41 |
+
"height": 1232
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 1559.0336,
|
| 45 |
+
"blur_score_cv_denoised": 292.0282,
|
| 46 |
+
"foreground_ratio": 0.311376,
|
| 47 |
+
"mean_gray": 238.6484,
|
| 48 |
+
"std_gray": 35.1336
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 1949.938,
|
| 52 |
+
"blur_score_cv_denoised": 121.7275,
|
| 53 |
+
"foreground_ratio": 0.19823,
|
| 54 |
+
"mean_gray": 241.8988,
|
| 55 |
+
"std_gray": 30.4106
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": 390.9044,
|
| 59 |
+
"blur_score_cv_denoised": -170.3007,
|
| 60 |
+
"foreground_ratio": -0.1131,
|
| 61 |
+
"mean_gray": 3.2504,
|
| 62 |
+
"std_gray": -4.723
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 3,
|
| 78 |
+
"kernel_shape": "rect",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 2,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 245,
|
| 96 |
+
"center_y": 1117,
|
| 97 |
+
"radius_px": 28.6724,
|
| 98 |
+
"amplitude_px": 9.4926,
|
| 99 |
+
"direction_deg": 286.1914,
|
| 100 |
+
"twist_ratio": 0.4558
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"center_x": 496,
|
| 104 |
+
"center_y": 723,
|
| 105 |
+
"radius_px": 15.0282,
|
| 106 |
+
"amplitude_px": 9.3013,
|
| 107 |
+
"direction_deg": 174.1564,
|
| 108 |
+
"twist_ratio": 0.2571
|
| 109 |
+
}
|
| 110 |
+
],
|
| 111 |
+
"warp_center_source": "foreground_mask",
|
| 112 |
+
"warp_local_patch_only": true,
|
| 113 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 114 |
+
"iterations": 1,
|
| 115 |
+
"strength": 0.6169,
|
| 116 |
+
"post_blur_sigma": 0.3394,
|
| 117 |
+
"post_noise_sigma": 1.7566
|
| 118 |
+
},
|
| 119 |
+
"bend_params": {
|
| 120 |
+
"warp_mode": "local_bend_points",
|
| 121 |
+
"warp_point_count": 2,
|
| 122 |
+
"warp_radius_range_px": [
|
| 123 |
+
12.0,
|
| 124 |
+
36.0
|
| 125 |
+
],
|
| 126 |
+
"warp_amplitude_range_px": [
|
| 127 |
+
8.0,
|
| 128 |
+
15.0
|
| 129 |
+
],
|
| 130 |
+
"warp_twist_ratio_range": [
|
| 131 |
+
0.24,
|
| 132 |
+
0.48
|
| 133 |
+
],
|
| 134 |
+
"warp_points": [
|
| 135 |
+
{
|
| 136 |
+
"center_x": 245,
|
| 137 |
+
"center_y": 1117,
|
| 138 |
+
"radius_px": 28.6724,
|
| 139 |
+
"amplitude_px": 9.4926,
|
| 140 |
+
"direction_deg": 286.1914,
|
| 141 |
+
"twist_ratio": 0.4558
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"center_x": 496,
|
| 145 |
+
"center_y": 723,
|
| 146 |
+
"radius_px": 15.0282,
|
| 147 |
+
"amplitude_px": 9.3013,
|
| 148 |
+
"direction_deg": 174.1564,
|
| 149 |
+
"twist_ratio": 0.2571
|
| 150 |
+
}
|
| 151 |
+
],
|
| 152 |
+
"warp_center_source": "foreground_mask",
|
| 153 |
+
"warp_local_patch_only": true,
|
| 154 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 155 |
+
},
|
| 156 |
+
"erosion_params": {
|
| 157 |
+
"operations": [
|
| 158 |
+
"foreground_ink_erosion",
|
| 159 |
+
"small_optional_blur",
|
| 160 |
+
"small_optional_noise"
|
| 161 |
+
],
|
| 162 |
+
"kernel_size": 2,
|
| 163 |
+
"kernel_shape": "rect",
|
| 164 |
+
"iterations": 2,
|
| 165 |
+
"strength": 0.7583,
|
| 166 |
+
"post_blur_sigma": 0.2652,
|
| 167 |
+
"post_noise_sigma": 0.2469
|
| 168 |
+
},
|
| 169 |
+
"blur_params": {
|
| 170 |
+
"operations": [
|
| 171 |
+
"contrast_brightness",
|
| 172 |
+
"gaussian_blur",
|
| 173 |
+
"optional_motion_blur",
|
| 174 |
+
"gaussian_noise",
|
| 175 |
+
"salt_pepper",
|
| 176 |
+
"jpeg_roundtrip"
|
| 177 |
+
],
|
| 178 |
+
"contrast": 1.04,
|
| 179 |
+
"brightness": 7.16,
|
| 180 |
+
"gaussian_blur_sigma": 0.19,
|
| 181 |
+
"motion_applied": false,
|
| 182 |
+
"noise_sigma": 3.2558,
|
| 183 |
+
"salt_pepper_amount": 0.00238,
|
| 184 |
+
"jpeg_quality": 84
|
| 185 |
+
}
|
| 186 |
+
},
|
| 187 |
+
"diff_metrics": {
|
| 188 |
+
"mean_absdiff": 8.8856,
|
| 189 |
+
"p95_absdiff": 36.0,
|
| 190 |
+
"changed_pixel_ratio_gt8": 0.307589
|
| 191 |
+
}
|
| 192 |
+
}
|
dataset-augment/Arabic-4/Arabic-4-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/Arabic-4/augment_meta.json
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "Arabic-4",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 6383404116390716445,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/Arabic-4/01/Arabic-4-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/Arabic-4/Arabic-4-01_augmented.png",
|
| 10 |
+
"source_relative": "Arabic-4/01/Arabic-4-01.png",
|
| 11 |
+
"output_relative": "Arabic-4/Arabic-4-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 864,
|
| 14 |
+
"height": 1232
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 864,
|
| 18 |
+
"height": 1232
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 864,
|
| 33 |
+
"height": 1232
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 864,
|
| 37 |
+
"height": 1232
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 864,
|
| 41 |
+
"height": 1232
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 1559.0598,
|
| 45 |
+
"blur_score_cv_denoised": 278.3762,
|
| 46 |
+
"foreground_ratio": 0.464213,
|
| 47 |
+
"mean_gray": 231.9515,
|
| 48 |
+
"std_gray": 36.1082
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 1943.5135,
|
| 52 |
+
"blur_score_cv_denoised": 159.2264,
|
| 53 |
+
"foreground_ratio": 0.495756,
|
| 54 |
+
"mean_gray": 213.6287,
|
| 55 |
+
"std_gray": 35.2974
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": 384.4537,
|
| 59 |
+
"blur_score_cv_denoised": -119.1498,
|
| 60 |
+
"foreground_ratio": 0.0315,
|
| 61 |
+
"mean_gray": -18.3228,
|
| 62 |
+
"std_gray": -0.8108
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 3,
|
| 78 |
+
"kernel_shape": "rect",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 1,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 105,
|
| 96 |
+
"center_y": 533,
|
| 97 |
+
"radius_px": 30.1299,
|
| 98 |
+
"amplitude_px": 13.786,
|
| 99 |
+
"direction_deg": 344.4757,
|
| 100 |
+
"twist_ratio": 0.4643
|
| 101 |
+
}
|
| 102 |
+
],
|
| 103 |
+
"warp_center_source": "foreground_mask",
|
| 104 |
+
"warp_local_patch_only": true,
|
| 105 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 106 |
+
"iterations": 1,
|
| 107 |
+
"strength": 0.5296,
|
| 108 |
+
"post_blur_sigma": 0.2076,
|
| 109 |
+
"post_noise_sigma": 1.5744
|
| 110 |
+
},
|
| 111 |
+
"bend_params": {
|
| 112 |
+
"warp_mode": "local_bend_points",
|
| 113 |
+
"warp_point_count": 1,
|
| 114 |
+
"warp_radius_range_px": [
|
| 115 |
+
12.0,
|
| 116 |
+
36.0
|
| 117 |
+
],
|
| 118 |
+
"warp_amplitude_range_px": [
|
| 119 |
+
8.0,
|
| 120 |
+
15.0
|
| 121 |
+
],
|
| 122 |
+
"warp_twist_ratio_range": [
|
| 123 |
+
0.24,
|
| 124 |
+
0.48
|
| 125 |
+
],
|
| 126 |
+
"warp_points": [
|
| 127 |
+
{
|
| 128 |
+
"center_x": 105,
|
| 129 |
+
"center_y": 533,
|
| 130 |
+
"radius_px": 30.1299,
|
| 131 |
+
"amplitude_px": 13.786,
|
| 132 |
+
"direction_deg": 344.4757,
|
| 133 |
+
"twist_ratio": 0.4643
|
| 134 |
+
}
|
| 135 |
+
],
|
| 136 |
+
"warp_center_source": "foreground_mask",
|
| 137 |
+
"warp_local_patch_only": true,
|
| 138 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 139 |
+
},
|
| 140 |
+
"erosion_params": {
|
| 141 |
+
"operations": [
|
| 142 |
+
"foreground_ink_erosion",
|
| 143 |
+
"small_optional_blur",
|
| 144 |
+
"small_optional_noise"
|
| 145 |
+
],
|
| 146 |
+
"kernel_size": 2,
|
| 147 |
+
"kernel_shape": "rect",
|
| 148 |
+
"iterations": 1,
|
| 149 |
+
"strength": 0.9804,
|
| 150 |
+
"post_blur_sigma": 0.1768,
|
| 151 |
+
"post_noise_sigma": 1.0088
|
| 152 |
+
},
|
| 153 |
+
"blur_params": {
|
| 154 |
+
"operations": [
|
| 155 |
+
"contrast_brightness",
|
| 156 |
+
"gaussian_blur",
|
| 157 |
+
"optional_motion_blur",
|
| 158 |
+
"gaussian_noise",
|
| 159 |
+
"salt_pepper",
|
| 160 |
+
"jpeg_roundtrip"
|
| 161 |
+
],
|
| 162 |
+
"contrast": 0.9654,
|
| 163 |
+
"brightness": -7.1276,
|
| 164 |
+
"gaussian_blur_sigma": 0.1314,
|
| 165 |
+
"motion_applied": false,
|
| 166 |
+
"noise_sigma": 5.7804,
|
| 167 |
+
"salt_pepper_amount": 0.002445,
|
| 168 |
+
"jpeg_quality": 63
|
| 169 |
+
}
|
| 170 |
+
},
|
| 171 |
+
"diff_metrics": {
|
| 172 |
+
"mean_absdiff": 20.0791,
|
| 173 |
+
"p95_absdiff": 41.0,
|
| 174 |
+
"changed_pixel_ratio_gt8": 0.956664
|
| 175 |
+
}
|
| 176 |
+
}
|
dataset-augment/Arabic-5/Arabic-5-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/Arabic-5/augment_meta.json
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "Arabic-5",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 5001722706477954992,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/Arabic-5/01/Arabic-5-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/Arabic-5/Arabic-5-01_augmented.png",
|
| 10 |
+
"source_relative": "Arabic-5/01/Arabic-5-01.png",
|
| 11 |
+
"output_relative": "Arabic-5/Arabic-5-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 864,
|
| 14 |
+
"height": 1232
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 864,
|
| 18 |
+
"height": 1232
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 864,
|
| 33 |
+
"height": 1232
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 864,
|
| 37 |
+
"height": 1232
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 864,
|
| 41 |
+
"height": 1232
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 1268.3979,
|
| 45 |
+
"blur_score_cv_denoised": 245.0686,
|
| 46 |
+
"foreground_ratio": 0.524051,
|
| 47 |
+
"mean_gray": 226.7299,
|
| 48 |
+
"std_gray": 34.2035
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 1520.9366,
|
| 52 |
+
"blur_score_cv_denoised": 94.4085,
|
| 53 |
+
"foreground_ratio": 0.476124,
|
| 54 |
+
"mean_gray": 234.9277,
|
| 55 |
+
"std_gray": 28.4805
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": 252.5387,
|
| 59 |
+
"blur_score_cv_denoised": -150.6601,
|
| 60 |
+
"foreground_ratio": -0.0479,
|
| 61 |
+
"mean_gray": 8.1978,
|
| 62 |
+
"std_gray": -5.723
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 3,
|
| 78 |
+
"kernel_shape": "rect",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 1,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 22,
|
| 96 |
+
"center_y": 567,
|
| 97 |
+
"radius_px": 34.1878,
|
| 98 |
+
"amplitude_px": 12.653,
|
| 99 |
+
"direction_deg": 62.377,
|
| 100 |
+
"twist_ratio": 0.2783
|
| 101 |
+
}
|
| 102 |
+
],
|
| 103 |
+
"warp_center_source": "foreground_mask",
|
| 104 |
+
"warp_local_patch_only": true,
|
| 105 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 106 |
+
"iterations": 1,
|
| 107 |
+
"strength": 0.4719,
|
| 108 |
+
"post_blur_sigma": 0.1575,
|
| 109 |
+
"post_noise_sigma": 0.9031
|
| 110 |
+
},
|
| 111 |
+
"bend_params": {
|
| 112 |
+
"warp_mode": "local_bend_points",
|
| 113 |
+
"warp_point_count": 1,
|
| 114 |
+
"warp_radius_range_px": [
|
| 115 |
+
12.0,
|
| 116 |
+
36.0
|
| 117 |
+
],
|
| 118 |
+
"warp_amplitude_range_px": [
|
| 119 |
+
8.0,
|
| 120 |
+
15.0
|
| 121 |
+
],
|
| 122 |
+
"warp_twist_ratio_range": [
|
| 123 |
+
0.24,
|
| 124 |
+
0.48
|
| 125 |
+
],
|
| 126 |
+
"warp_points": [
|
| 127 |
+
{
|
| 128 |
+
"center_x": 22,
|
| 129 |
+
"center_y": 567,
|
| 130 |
+
"radius_px": 34.1878,
|
| 131 |
+
"amplitude_px": 12.653,
|
| 132 |
+
"direction_deg": 62.377,
|
| 133 |
+
"twist_ratio": 0.2783
|
| 134 |
+
}
|
| 135 |
+
],
|
| 136 |
+
"warp_center_source": "foreground_mask",
|
| 137 |
+
"warp_local_patch_only": true,
|
| 138 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 139 |
+
},
|
| 140 |
+
"erosion_params": {
|
| 141 |
+
"operations": [
|
| 142 |
+
"foreground_ink_erosion",
|
| 143 |
+
"small_optional_blur",
|
| 144 |
+
"small_optional_noise"
|
| 145 |
+
],
|
| 146 |
+
"kernel_size": 3,
|
| 147 |
+
"kernel_shape": "rect",
|
| 148 |
+
"iterations": 1,
|
| 149 |
+
"strength": 0.9782,
|
| 150 |
+
"post_blur_sigma": 0.2818,
|
| 151 |
+
"post_noise_sigma": 0.6384
|
| 152 |
+
},
|
| 153 |
+
"blur_params": {
|
| 154 |
+
"operations": [
|
| 155 |
+
"contrast_brightness",
|
| 156 |
+
"gaussian_blur",
|
| 157 |
+
"optional_motion_blur",
|
| 158 |
+
"gaussian_noise",
|
| 159 |
+
"salt_pepper",
|
| 160 |
+
"jpeg_roundtrip"
|
| 161 |
+
],
|
| 162 |
+
"contrast": 1.0715,
|
| 163 |
+
"brightness": -5.6307,
|
| 164 |
+
"gaussian_blur_sigma": 0.3221,
|
| 165 |
+
"motion_applied": false,
|
| 166 |
+
"noise_sigma": 5.1782,
|
| 167 |
+
"salt_pepper_amount": 0.001827,
|
| 168 |
+
"jpeg_quality": 63
|
| 169 |
+
}
|
| 170 |
+
},
|
| 171 |
+
"diff_metrics": {
|
| 172 |
+
"mean_absdiff": 9.7552,
|
| 173 |
+
"p95_absdiff": 27.0,
|
| 174 |
+
"changed_pixel_ratio_gt8": 0.380816
|
| 175 |
+
}
|
| 176 |
+
}
|
dataset-augment/Arabic-6/Arabic-6-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/Arabic-6/augment_meta.json
ADDED
|
@@ -0,0 +1,192 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "Arabic-6",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 15730533826956585623,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/Arabic-6/01/Arabic-6-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/Arabic-6/Arabic-6-01_augmented.png",
|
| 10 |
+
"source_relative": "Arabic-6/01/Arabic-6-01.png",
|
| 11 |
+
"output_relative": "Arabic-6/Arabic-6-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 864,
|
| 14 |
+
"height": 1232
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 864,
|
| 18 |
+
"height": 1232
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 864,
|
| 33 |
+
"height": 1232
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 864,
|
| 37 |
+
"height": 1232
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 864,
|
| 41 |
+
"height": 1232
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 1634.4456,
|
| 45 |
+
"blur_score_cv_denoised": 317.7713,
|
| 46 |
+
"foreground_ratio": 0.459323,
|
| 47 |
+
"mean_gray": 231.3671,
|
| 48 |
+
"std_gray": 38.8639
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 1516.9922,
|
| 52 |
+
"blur_score_cv_denoised": 149.1993,
|
| 53 |
+
"foreground_ratio": 0.485767,
|
| 54 |
+
"mean_gray": 215.7477,
|
| 55 |
+
"std_gray": 34.5842
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": -117.4534,
|
| 59 |
+
"blur_score_cv_denoised": -168.572,
|
| 60 |
+
"foreground_ratio": 0.0264,
|
| 61 |
+
"mean_gray": -15.6194,
|
| 62 |
+
"std_gray": -4.2797
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 3,
|
| 78 |
+
"kernel_shape": "rect",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 2,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 191,
|
| 96 |
+
"center_y": 775,
|
| 97 |
+
"radius_px": 32.5249,
|
| 98 |
+
"amplitude_px": 12.2687,
|
| 99 |
+
"direction_deg": 83.7011,
|
| 100 |
+
"twist_ratio": 0.3477
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"center_x": 466,
|
| 104 |
+
"center_y": 536,
|
| 105 |
+
"radius_px": 30.771,
|
| 106 |
+
"amplitude_px": 13.9055,
|
| 107 |
+
"direction_deg": 149.8984,
|
| 108 |
+
"twist_ratio": 0.3818
|
| 109 |
+
}
|
| 110 |
+
],
|
| 111 |
+
"warp_center_source": "foreground_mask",
|
| 112 |
+
"warp_local_patch_only": true,
|
| 113 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 114 |
+
"iterations": 1,
|
| 115 |
+
"strength": 0.4097,
|
| 116 |
+
"post_blur_sigma": 0.3585,
|
| 117 |
+
"post_noise_sigma": 0.5878
|
| 118 |
+
},
|
| 119 |
+
"bend_params": {
|
| 120 |
+
"warp_mode": "local_bend_points",
|
| 121 |
+
"warp_point_count": 2,
|
| 122 |
+
"warp_radius_range_px": [
|
| 123 |
+
12.0,
|
| 124 |
+
36.0
|
| 125 |
+
],
|
| 126 |
+
"warp_amplitude_range_px": [
|
| 127 |
+
8.0,
|
| 128 |
+
15.0
|
| 129 |
+
],
|
| 130 |
+
"warp_twist_ratio_range": [
|
| 131 |
+
0.24,
|
| 132 |
+
0.48
|
| 133 |
+
],
|
| 134 |
+
"warp_points": [
|
| 135 |
+
{
|
| 136 |
+
"center_x": 191,
|
| 137 |
+
"center_y": 775,
|
| 138 |
+
"radius_px": 32.5249,
|
| 139 |
+
"amplitude_px": 12.2687,
|
| 140 |
+
"direction_deg": 83.7011,
|
| 141 |
+
"twist_ratio": 0.3477
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"center_x": 466,
|
| 145 |
+
"center_y": 536,
|
| 146 |
+
"radius_px": 30.771,
|
| 147 |
+
"amplitude_px": 13.9055,
|
| 148 |
+
"direction_deg": 149.8984,
|
| 149 |
+
"twist_ratio": 0.3818
|
| 150 |
+
}
|
| 151 |
+
],
|
| 152 |
+
"warp_center_source": "foreground_mask",
|
| 153 |
+
"warp_local_patch_only": true,
|
| 154 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 155 |
+
},
|
| 156 |
+
"erosion_params": {
|
| 157 |
+
"operations": [
|
| 158 |
+
"foreground_ink_erosion",
|
| 159 |
+
"small_optional_blur",
|
| 160 |
+
"small_optional_noise"
|
| 161 |
+
],
|
| 162 |
+
"kernel_size": 2,
|
| 163 |
+
"kernel_shape": "rect",
|
| 164 |
+
"iterations": 1,
|
| 165 |
+
"strength": 0.9391,
|
| 166 |
+
"post_blur_sigma": 0.3635,
|
| 167 |
+
"post_noise_sigma": 1.9106
|
| 168 |
+
},
|
| 169 |
+
"blur_params": {
|
| 170 |
+
"operations": [
|
| 171 |
+
"contrast_brightness",
|
| 172 |
+
"gaussian_blur",
|
| 173 |
+
"optional_motion_blur",
|
| 174 |
+
"gaussian_noise",
|
| 175 |
+
"salt_pepper",
|
| 176 |
+
"jpeg_roundtrip"
|
| 177 |
+
],
|
| 178 |
+
"contrast": 0.947,
|
| 179 |
+
"brightness": -1.1339,
|
| 180 |
+
"gaussian_blur_sigma": 0.2734,
|
| 181 |
+
"motion_applied": false,
|
| 182 |
+
"noise_sigma": 4.9135,
|
| 183 |
+
"salt_pepper_amount": 0.001847,
|
| 184 |
+
"jpeg_quality": 75
|
| 185 |
+
}
|
| 186 |
+
},
|
| 187 |
+
"diff_metrics": {
|
| 188 |
+
"mean_absdiff": 18.6122,
|
| 189 |
+
"p95_absdiff": 40.0,
|
| 190 |
+
"changed_pixel_ratio_gt8": 0.950952
|
| 191 |
+
}
|
| 192 |
+
}
|
dataset-augment/Arabic-7/Arabic-7-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/Arabic-7/augment_meta.json
ADDED
|
@@ -0,0 +1,192 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "Arabic-7",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 7484402625374359792,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/Arabic-7/01/Arabic-7-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/Arabic-7/Arabic-7-01_augmented.png",
|
| 10 |
+
"source_relative": "Arabic-7/01/Arabic-7-01.png",
|
| 11 |
+
"output_relative": "Arabic-7/Arabic-7-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 864,
|
| 14 |
+
"height": 1232
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 864,
|
| 18 |
+
"height": 1232
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 864,
|
| 33 |
+
"height": 1232
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 864,
|
| 37 |
+
"height": 1232
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 864,
|
| 41 |
+
"height": 1232
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 1133.5766,
|
| 45 |
+
"blur_score_cv_denoised": 236.2521,
|
| 46 |
+
"foreground_ratio": 0.42583,
|
| 47 |
+
"mean_gray": 234.9609,
|
| 48 |
+
"std_gray": 31.7311
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 669.3569,
|
| 52 |
+
"blur_score_cv_denoised": 109.0167,
|
| 53 |
+
"foreground_ratio": 0.44426,
|
| 54 |
+
"mean_gray": 223.0889,
|
| 55 |
+
"std_gray": 29.904
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": -464.2197,
|
| 59 |
+
"blur_score_cv_denoised": -127.2354,
|
| 60 |
+
"foreground_ratio": 0.0184,
|
| 61 |
+
"mean_gray": -11.872,
|
| 62 |
+
"std_gray": -1.8271
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 3,
|
| 78 |
+
"kernel_shape": "rect",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 2,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 474,
|
| 96 |
+
"center_y": 430,
|
| 97 |
+
"radius_px": 24.8517,
|
| 98 |
+
"amplitude_px": 13.0862,
|
| 99 |
+
"direction_deg": 162.0997,
|
| 100 |
+
"twist_ratio": 0.4186
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"center_x": 368,
|
| 104 |
+
"center_y": 719,
|
| 105 |
+
"radius_px": 12.9681,
|
| 106 |
+
"amplitude_px": 9.4698,
|
| 107 |
+
"direction_deg": 117.629,
|
| 108 |
+
"twist_ratio": 0.4568
|
| 109 |
+
}
|
| 110 |
+
],
|
| 111 |
+
"warp_center_source": "foreground_mask",
|
| 112 |
+
"warp_local_patch_only": true,
|
| 113 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 114 |
+
"iterations": 1,
|
| 115 |
+
"strength": 0.4794,
|
| 116 |
+
"post_blur_sigma": 0.1763,
|
| 117 |
+
"post_noise_sigma": 1.3029
|
| 118 |
+
},
|
| 119 |
+
"bend_params": {
|
| 120 |
+
"warp_mode": "local_bend_points",
|
| 121 |
+
"warp_point_count": 2,
|
| 122 |
+
"warp_radius_range_px": [
|
| 123 |
+
12.0,
|
| 124 |
+
36.0
|
| 125 |
+
],
|
| 126 |
+
"warp_amplitude_range_px": [
|
| 127 |
+
8.0,
|
| 128 |
+
15.0
|
| 129 |
+
],
|
| 130 |
+
"warp_twist_ratio_range": [
|
| 131 |
+
0.24,
|
| 132 |
+
0.48
|
| 133 |
+
],
|
| 134 |
+
"warp_points": [
|
| 135 |
+
{
|
| 136 |
+
"center_x": 474,
|
| 137 |
+
"center_y": 430,
|
| 138 |
+
"radius_px": 24.8517,
|
| 139 |
+
"amplitude_px": 13.0862,
|
| 140 |
+
"direction_deg": 162.0997,
|
| 141 |
+
"twist_ratio": 0.4186
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"center_x": 368,
|
| 145 |
+
"center_y": 719,
|
| 146 |
+
"radius_px": 12.9681,
|
| 147 |
+
"amplitude_px": 9.4698,
|
| 148 |
+
"direction_deg": 117.629,
|
| 149 |
+
"twist_ratio": 0.4568
|
| 150 |
+
}
|
| 151 |
+
],
|
| 152 |
+
"warp_center_source": "foreground_mask",
|
| 153 |
+
"warp_local_patch_only": true,
|
| 154 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 155 |
+
},
|
| 156 |
+
"erosion_params": {
|
| 157 |
+
"operations": [
|
| 158 |
+
"foreground_ink_erosion",
|
| 159 |
+
"small_optional_blur",
|
| 160 |
+
"small_optional_noise"
|
| 161 |
+
],
|
| 162 |
+
"kernel_size": 2,
|
| 163 |
+
"kernel_shape": "rect",
|
| 164 |
+
"iterations": 1,
|
| 165 |
+
"strength": 0.806,
|
| 166 |
+
"post_blur_sigma": 0.0843,
|
| 167 |
+
"post_noise_sigma": 2.0757
|
| 168 |
+
},
|
| 169 |
+
"blur_params": {
|
| 170 |
+
"operations": [
|
| 171 |
+
"contrast_brightness",
|
| 172 |
+
"gaussian_blur",
|
| 173 |
+
"optional_motion_blur",
|
| 174 |
+
"gaussian_noise",
|
| 175 |
+
"salt_pepper",
|
| 176 |
+
"jpeg_roundtrip"
|
| 177 |
+
],
|
| 178 |
+
"contrast": 0.9469,
|
| 179 |
+
"brightness": 3.5377,
|
| 180 |
+
"gaussian_blur_sigma": 0.2542,
|
| 181 |
+
"motion_applied": false,
|
| 182 |
+
"noise_sigma": 3.7356,
|
| 183 |
+
"salt_pepper_amount": 0.000592,
|
| 184 |
+
"jpeg_quality": 55
|
| 185 |
+
}
|
| 186 |
+
},
|
| 187 |
+
"diff_metrics": {
|
| 188 |
+
"mean_absdiff": 13.4467,
|
| 189 |
+
"p95_absdiff": 29.0,
|
| 190 |
+
"changed_pixel_ratio_gt8": 0.87216
|
| 191 |
+
}
|
| 192 |
+
}
|
dataset-augment/Arabic-8/Arabic-8-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/Arabic-8/augment_meta.json
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "Arabic-8",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 8501127594688050940,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/Arabic-8/01/Arabic-8-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/Arabic-8/Arabic-8-01_augmented.png",
|
| 10 |
+
"source_relative": "Arabic-8/01/Arabic-8-01.png",
|
| 11 |
+
"output_relative": "Arabic-8/Arabic-8-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 864,
|
| 14 |
+
"height": 1232
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 864,
|
| 18 |
+
"height": 1232
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 864,
|
| 33 |
+
"height": 1232
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 864,
|
| 37 |
+
"height": 1232
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 864,
|
| 41 |
+
"height": 1232
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 1876.6674,
|
| 45 |
+
"blur_score_cv_denoised": 421.3861,
|
| 46 |
+
"foreground_ratio": 0.316277,
|
| 47 |
+
"mean_gray": 231.7855,
|
| 48 |
+
"std_gray": 41.715
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 1764.4453,
|
| 52 |
+
"blur_score_cv_denoised": 168.9823,
|
| 53 |
+
"foreground_ratio": 0.409999,
|
| 54 |
+
"mean_gray": 205.4319,
|
| 55 |
+
"std_gray": 42.2361
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": -112.2221,
|
| 59 |
+
"blur_score_cv_denoised": -252.4038,
|
| 60 |
+
"foreground_ratio": 0.0937,
|
| 61 |
+
"mean_gray": -26.3536,
|
| 62 |
+
"std_gray": 0.5211
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 4,
|
| 78 |
+
"kernel_shape": "ellipse",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 3,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 655,
|
| 96 |
+
"center_y": 1115,
|
| 97 |
+
"radius_px": 23.6727,
|
| 98 |
+
"amplitude_px": 13.3248,
|
| 99 |
+
"direction_deg": 48.3627,
|
| 100 |
+
"twist_ratio": 0.4486
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"center_x": 293,
|
| 104 |
+
"center_y": 472,
|
| 105 |
+
"radius_px": 33.4353,
|
| 106 |
+
"amplitude_px": 12.9766,
|
| 107 |
+
"direction_deg": 193.8118,
|
| 108 |
+
"twist_ratio": 0.286
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"center_x": 268,
|
| 112 |
+
"center_y": 1151,
|
| 113 |
+
"radius_px": 26.4503,
|
| 114 |
+
"amplitude_px": 8.7478,
|
| 115 |
+
"direction_deg": 299.0787,
|
| 116 |
+
"twist_ratio": 0.4544
|
| 117 |
+
}
|
| 118 |
+
],
|
| 119 |
+
"warp_center_source": "foreground_mask",
|
| 120 |
+
"warp_local_patch_only": true,
|
| 121 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 122 |
+
"iterations": 1,
|
| 123 |
+
"strength": 0.4991,
|
| 124 |
+
"post_blur_sigma": 0.2667,
|
| 125 |
+
"post_noise_sigma": 1.325
|
| 126 |
+
},
|
| 127 |
+
"bend_params": {
|
| 128 |
+
"warp_mode": "local_bend_points",
|
| 129 |
+
"warp_point_count": 3,
|
| 130 |
+
"warp_radius_range_px": [
|
| 131 |
+
12.0,
|
| 132 |
+
36.0
|
| 133 |
+
],
|
| 134 |
+
"warp_amplitude_range_px": [
|
| 135 |
+
8.0,
|
| 136 |
+
15.0
|
| 137 |
+
],
|
| 138 |
+
"warp_twist_ratio_range": [
|
| 139 |
+
0.24,
|
| 140 |
+
0.48
|
| 141 |
+
],
|
| 142 |
+
"warp_points": [
|
| 143 |
+
{
|
| 144 |
+
"center_x": 655,
|
| 145 |
+
"center_y": 1115,
|
| 146 |
+
"radius_px": 23.6727,
|
| 147 |
+
"amplitude_px": 13.3248,
|
| 148 |
+
"direction_deg": 48.3627,
|
| 149 |
+
"twist_ratio": 0.4486
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"center_x": 293,
|
| 153 |
+
"center_y": 472,
|
| 154 |
+
"radius_px": 33.4353,
|
| 155 |
+
"amplitude_px": 12.9766,
|
| 156 |
+
"direction_deg": 193.8118,
|
| 157 |
+
"twist_ratio": 0.286
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"center_x": 268,
|
| 161 |
+
"center_y": 1151,
|
| 162 |
+
"radius_px": 26.4503,
|
| 163 |
+
"amplitude_px": 8.7478,
|
| 164 |
+
"direction_deg": 299.0787,
|
| 165 |
+
"twist_ratio": 0.4544
|
| 166 |
+
}
|
| 167 |
+
],
|
| 168 |
+
"warp_center_source": "foreground_mask",
|
| 169 |
+
"warp_local_patch_only": true,
|
| 170 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 171 |
+
},
|
| 172 |
+
"erosion_params": {
|
| 173 |
+
"operations": [
|
| 174 |
+
"foreground_ink_erosion",
|
| 175 |
+
"small_optional_blur",
|
| 176 |
+
"small_optional_noise"
|
| 177 |
+
],
|
| 178 |
+
"kernel_size": 2,
|
| 179 |
+
"kernel_shape": "ellipse",
|
| 180 |
+
"iterations": 1,
|
| 181 |
+
"strength": 0.7673,
|
| 182 |
+
"post_blur_sigma": 0.1251,
|
| 183 |
+
"post_noise_sigma": 1.0442
|
| 184 |
+
},
|
| 185 |
+
"blur_params": {
|
| 186 |
+
"operations": [
|
| 187 |
+
"contrast_brightness",
|
| 188 |
+
"gaussian_blur",
|
| 189 |
+
"optional_motion_blur",
|
| 190 |
+
"gaussian_noise",
|
| 191 |
+
"salt_pepper",
|
| 192 |
+
"jpeg_roundtrip"
|
| 193 |
+
],
|
| 194 |
+
"contrast": 0.9363,
|
| 195 |
+
"brightness": -4.8936,
|
| 196 |
+
"gaussian_blur_sigma": 0.3052,
|
| 197 |
+
"motion_applied": false,
|
| 198 |
+
"noise_sigma": 6.6703,
|
| 199 |
+
"salt_pepper_amount": 0.002262,
|
| 200 |
+
"jpeg_quality": 58
|
| 201 |
+
}
|
| 202 |
+
},
|
| 203 |
+
"diff_metrics": {
|
| 204 |
+
"mean_absdiff": 27.9637,
|
| 205 |
+
"p95_absdiff": 73.0,
|
| 206 |
+
"changed_pixel_ratio_gt8": 0.97268
|
| 207 |
+
}
|
| 208 |
+
}
|
dataset-augment/README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Dataset Augment Metadata Mapping
|
| 2 |
+
|
| 3 |
+
```text
|
| 4 |
+
V.blur_score <- metrics_after.blur_score_cv_denoised
|
| 5 |
+
V.blur_score_raw <- metrics_after.blur_score_cv
|
| 6 |
+
V.foreground_ratio <- metrics_after.foreground_ratio
|
| 7 |
+
V.mean_gray <- metrics_after.mean_gray
|
| 8 |
+
V.std_gray <- metrics_after.std_gray
|
| 9 |
+
|
| 10 |
+
V.augment.blur_noise <- params.blur_params
|
| 11 |
+
V.augment.dilate <- params.dilate_params
|
| 12 |
+
V.augment.erode <- params.erosion_params
|
| 13 |
+
V.augment.diff_metrics <- diff_metrics
|
| 14 |
+
```
|
| 15 |
+
|
| 16 |
+
Notes:
|
| 17 |
+
|
| 18 |
+
- `blur_score` -> `blur_score_cv_denoised`,
|
| 19 |
+
- `blur_score_raw` keeps the un-denoised CV value for traceability.
|
| 20 |
+
- `blur_noise` contains blur, noise, salt/pepper, motion blur, and JPEG settings.
|
| 21 |
+
- `dilate` contains foreground ink/table-line thickening and local bend parameters.
|
| 22 |
+
- `erode` contains foreground ink/table-line thinning/fading parameters.
|
dataset-augment/de_1/augment_meta.json
ADDED
|
@@ -0,0 +1,192 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "de_1",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 3441823837752969943,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/de_1/01/de_1-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/de_1/de_1-01_augmented.png",
|
| 10 |
+
"source_relative": "de_1/01/de_1-01.png",
|
| 11 |
+
"output_relative": "de_1/de_1-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 864,
|
| 14 |
+
"height": 1232
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 864,
|
| 18 |
+
"height": 1232
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 864,
|
| 33 |
+
"height": 1232
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 864,
|
| 37 |
+
"height": 1232
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 864,
|
| 41 |
+
"height": 1232
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 2229.6106,
|
| 45 |
+
"blur_score_cv_denoised": 299.9238,
|
| 46 |
+
"foreground_ratio": 0.231644,
|
| 47 |
+
"mean_gray": 233.784,
|
| 48 |
+
"std_gray": 33.4987
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 846.5267,
|
| 52 |
+
"blur_score_cv_denoised": 127.1353,
|
| 53 |
+
"foreground_ratio": 0.262121,
|
| 54 |
+
"mean_gray": 235.6907,
|
| 55 |
+
"std_gray": 32.5641
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": -1383.0839,
|
| 59 |
+
"blur_score_cv_denoised": -172.7885,
|
| 60 |
+
"foreground_ratio": 0.0305,
|
| 61 |
+
"mean_gray": 1.9067,
|
| 62 |
+
"std_gray": -0.9346
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 3,
|
| 78 |
+
"kernel_shape": "ellipse",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 2,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 90,
|
| 96 |
+
"center_y": 647,
|
| 97 |
+
"radius_px": 21.8958,
|
| 98 |
+
"amplitude_px": 11.4867,
|
| 99 |
+
"direction_deg": 161.4291,
|
| 100 |
+
"twist_ratio": 0.2822
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"center_x": 691,
|
| 104 |
+
"center_y": 1042,
|
| 105 |
+
"radius_px": 20.3172,
|
| 106 |
+
"amplitude_px": 13.8905,
|
| 107 |
+
"direction_deg": 105.2591,
|
| 108 |
+
"twist_ratio": 0.4095
|
| 109 |
+
}
|
| 110 |
+
],
|
| 111 |
+
"warp_center_source": "foreground_mask",
|
| 112 |
+
"warp_local_patch_only": true,
|
| 113 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 114 |
+
"iterations": 1,
|
| 115 |
+
"strength": 0.6013,
|
| 116 |
+
"post_blur_sigma": 0.3486,
|
| 117 |
+
"post_noise_sigma": 1.2724
|
| 118 |
+
},
|
| 119 |
+
"bend_params": {
|
| 120 |
+
"warp_mode": "local_bend_points",
|
| 121 |
+
"warp_point_count": 2,
|
| 122 |
+
"warp_radius_range_px": [
|
| 123 |
+
12.0,
|
| 124 |
+
36.0
|
| 125 |
+
],
|
| 126 |
+
"warp_amplitude_range_px": [
|
| 127 |
+
8.0,
|
| 128 |
+
15.0
|
| 129 |
+
],
|
| 130 |
+
"warp_twist_ratio_range": [
|
| 131 |
+
0.24,
|
| 132 |
+
0.48
|
| 133 |
+
],
|
| 134 |
+
"warp_points": [
|
| 135 |
+
{
|
| 136 |
+
"center_x": 90,
|
| 137 |
+
"center_y": 647,
|
| 138 |
+
"radius_px": 21.8958,
|
| 139 |
+
"amplitude_px": 11.4867,
|
| 140 |
+
"direction_deg": 161.4291,
|
| 141 |
+
"twist_ratio": 0.2822
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"center_x": 691,
|
| 145 |
+
"center_y": 1042,
|
| 146 |
+
"radius_px": 20.3172,
|
| 147 |
+
"amplitude_px": 13.8905,
|
| 148 |
+
"direction_deg": 105.2591,
|
| 149 |
+
"twist_ratio": 0.4095
|
| 150 |
+
}
|
| 151 |
+
],
|
| 152 |
+
"warp_center_source": "foreground_mask",
|
| 153 |
+
"warp_local_patch_only": true,
|
| 154 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 155 |
+
},
|
| 156 |
+
"erosion_params": {
|
| 157 |
+
"operations": [
|
| 158 |
+
"foreground_ink_erosion",
|
| 159 |
+
"small_optional_blur",
|
| 160 |
+
"small_optional_noise"
|
| 161 |
+
],
|
| 162 |
+
"kernel_size": 2,
|
| 163 |
+
"kernel_shape": "rect",
|
| 164 |
+
"iterations": 1,
|
| 165 |
+
"strength": 0.7681,
|
| 166 |
+
"post_blur_sigma": 0.4483,
|
| 167 |
+
"post_noise_sigma": 0.6056
|
| 168 |
+
},
|
| 169 |
+
"blur_params": {
|
| 170 |
+
"operations": [
|
| 171 |
+
"contrast_brightness",
|
| 172 |
+
"gaussian_blur",
|
| 173 |
+
"optional_motion_blur",
|
| 174 |
+
"gaussian_noise",
|
| 175 |
+
"salt_pepper",
|
| 176 |
+
"jpeg_roundtrip"
|
| 177 |
+
],
|
| 178 |
+
"contrast": 0.9917,
|
| 179 |
+
"brightness": 7.0778,
|
| 180 |
+
"gaussian_blur_sigma": 0.148,
|
| 181 |
+
"motion_applied": false,
|
| 182 |
+
"noise_sigma": 3.3074,
|
| 183 |
+
"salt_pepper_amount": 0.000721,
|
| 184 |
+
"jpeg_quality": 84
|
| 185 |
+
}
|
| 186 |
+
},
|
| 187 |
+
"diff_metrics": {
|
| 188 |
+
"mean_absdiff": 8.251,
|
| 189 |
+
"p95_absdiff": 37.0,
|
| 190 |
+
"changed_pixel_ratio_gt8": 0.167481
|
| 191 |
+
}
|
| 192 |
+
}
|
dataset-augment/de_1/de_1-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/de_2/augment_meta.json
ADDED
|
@@ -0,0 +1,192 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "de_2",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 16941753034082942070,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/de_2/01/de_2-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/de_2/de_2-01_augmented.png",
|
| 10 |
+
"source_relative": "de_2/01/de_2-01.png",
|
| 11 |
+
"output_relative": "de_2/de_2-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 864,
|
| 14 |
+
"height": 1232
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 864,
|
| 18 |
+
"height": 1232
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 864,
|
| 33 |
+
"height": 1232
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 864,
|
| 37 |
+
"height": 1232
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 864,
|
| 41 |
+
"height": 1232
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 3296.4131,
|
| 45 |
+
"blur_score_cv_denoised": 500.8419,
|
| 46 |
+
"foreground_ratio": 0.178937,
|
| 47 |
+
"mean_gray": 237.3705,
|
| 48 |
+
"std_gray": 37.3164
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 1556.8568,
|
| 52 |
+
"blur_score_cv_denoised": 137.4939,
|
| 53 |
+
"foreground_ratio": 0.181414,
|
| 54 |
+
"mean_gray": 226.2413,
|
| 55 |
+
"std_gray": 23.651
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": -1739.5563,
|
| 59 |
+
"blur_score_cv_denoised": -363.348,
|
| 60 |
+
"foreground_ratio": 0.0025,
|
| 61 |
+
"mean_gray": -11.1292,
|
| 62 |
+
"std_gray": -13.6654
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 3,
|
| 78 |
+
"kernel_shape": "rect",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 2,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 409,
|
| 96 |
+
"center_y": 308,
|
| 97 |
+
"radius_px": 21.038,
|
| 98 |
+
"amplitude_px": 11.8105,
|
| 99 |
+
"direction_deg": 343.49,
|
| 100 |
+
"twist_ratio": 0.4528
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"center_x": 121,
|
| 104 |
+
"center_y": 461,
|
| 105 |
+
"radius_px": 20.123,
|
| 106 |
+
"amplitude_px": 11.4796,
|
| 107 |
+
"direction_deg": 118.4373,
|
| 108 |
+
"twist_ratio": 0.3201
|
| 109 |
+
}
|
| 110 |
+
],
|
| 111 |
+
"warp_center_source": "foreground_mask",
|
| 112 |
+
"warp_local_patch_only": true,
|
| 113 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 114 |
+
"iterations": 1,
|
| 115 |
+
"strength": 0.4836,
|
| 116 |
+
"post_blur_sigma": 0.2196,
|
| 117 |
+
"post_noise_sigma": 1.346
|
| 118 |
+
},
|
| 119 |
+
"bend_params": {
|
| 120 |
+
"warp_mode": "local_bend_points",
|
| 121 |
+
"warp_point_count": 2,
|
| 122 |
+
"warp_radius_range_px": [
|
| 123 |
+
12.0,
|
| 124 |
+
36.0
|
| 125 |
+
],
|
| 126 |
+
"warp_amplitude_range_px": [
|
| 127 |
+
8.0,
|
| 128 |
+
15.0
|
| 129 |
+
],
|
| 130 |
+
"warp_twist_ratio_range": [
|
| 131 |
+
0.24,
|
| 132 |
+
0.48
|
| 133 |
+
],
|
| 134 |
+
"warp_points": [
|
| 135 |
+
{
|
| 136 |
+
"center_x": 409,
|
| 137 |
+
"center_y": 308,
|
| 138 |
+
"radius_px": 21.038,
|
| 139 |
+
"amplitude_px": 11.8105,
|
| 140 |
+
"direction_deg": 343.49,
|
| 141 |
+
"twist_ratio": 0.4528
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"center_x": 121,
|
| 145 |
+
"center_y": 461,
|
| 146 |
+
"radius_px": 20.123,
|
| 147 |
+
"amplitude_px": 11.4796,
|
| 148 |
+
"direction_deg": 118.4373,
|
| 149 |
+
"twist_ratio": 0.3201
|
| 150 |
+
}
|
| 151 |
+
],
|
| 152 |
+
"warp_center_source": "foreground_mask",
|
| 153 |
+
"warp_local_patch_only": true,
|
| 154 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 155 |
+
},
|
| 156 |
+
"erosion_params": {
|
| 157 |
+
"operations": [
|
| 158 |
+
"foreground_ink_erosion",
|
| 159 |
+
"small_optional_blur",
|
| 160 |
+
"small_optional_noise"
|
| 161 |
+
],
|
| 162 |
+
"kernel_size": 2,
|
| 163 |
+
"kernel_shape": "rect",
|
| 164 |
+
"iterations": 2,
|
| 165 |
+
"strength": 0.9851,
|
| 166 |
+
"post_blur_sigma": 0.0858,
|
| 167 |
+
"post_noise_sigma": 0.0115
|
| 168 |
+
},
|
| 169 |
+
"blur_params": {
|
| 170 |
+
"operations": [
|
| 171 |
+
"contrast_brightness",
|
| 172 |
+
"gaussian_blur",
|
| 173 |
+
"optional_motion_blur",
|
| 174 |
+
"gaussian_noise",
|
| 175 |
+
"salt_pepper",
|
| 176 |
+
"jpeg_roundtrip"
|
| 177 |
+
],
|
| 178 |
+
"contrast": 0.9572,
|
| 179 |
+
"brightness": -3.3159,
|
| 180 |
+
"gaussian_blur_sigma": 0.307,
|
| 181 |
+
"motion_applied": false,
|
| 182 |
+
"noise_sigma": 4.1191,
|
| 183 |
+
"salt_pepper_amount": 0.001374,
|
| 184 |
+
"jpeg_quality": 55
|
| 185 |
+
}
|
| 186 |
+
},
|
| 187 |
+
"diff_metrics": {
|
| 188 |
+
"mean_absdiff": 22.3021,
|
| 189 |
+
"p95_absdiff": 76.0,
|
| 190 |
+
"changed_pixel_ratio_gt8": 0.947788
|
| 191 |
+
}
|
| 192 |
+
}
|
dataset-augment/de_2/de_2-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/en_1/augment_meta.json
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "en_1",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 870013348000822528,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/en_1/01/en_1-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/en_1/en_1-01_augmented.png",
|
| 10 |
+
"source_relative": "en_1/01/en_1-01.png",
|
| 11 |
+
"output_relative": "en_1/en_1-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 864,
|
| 14 |
+
"height": 1232
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 864,
|
| 18 |
+
"height": 1232
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 864,
|
| 33 |
+
"height": 1232
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 864,
|
| 37 |
+
"height": 1232
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 864,
|
| 41 |
+
"height": 1232
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 2925.5693,
|
| 45 |
+
"blur_score_cv_denoised": 530.4335,
|
| 46 |
+
"foreground_ratio": 0.146235,
|
| 47 |
+
"mean_gray": 241.2727,
|
| 48 |
+
"std_gray": 40.3896
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 1955.1582,
|
| 52 |
+
"blur_score_cv_denoised": 148.7627,
|
| 53 |
+
"foreground_ratio": 0.230187,
|
| 54 |
+
"mean_gray": 219.0951,
|
| 55 |
+
"std_gray": 52.2472
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": -970.4111,
|
| 59 |
+
"blur_score_cv_denoised": -381.6708,
|
| 60 |
+
"foreground_ratio": 0.084,
|
| 61 |
+
"mean_gray": -22.1776,
|
| 62 |
+
"std_gray": 11.8576
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 3,
|
| 78 |
+
"kernel_shape": "rect",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 3,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 96,
|
| 96 |
+
"center_y": 534,
|
| 97 |
+
"radius_px": 13.0953,
|
| 98 |
+
"amplitude_px": 12.6512,
|
| 99 |
+
"direction_deg": 37.0878,
|
| 100 |
+
"twist_ratio": 0.3101
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"center_x": 566,
|
| 104 |
+
"center_y": 366,
|
| 105 |
+
"radius_px": 29.8953,
|
| 106 |
+
"amplitude_px": 12.8553,
|
| 107 |
+
"direction_deg": 329.712,
|
| 108 |
+
"twist_ratio": 0.3223
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"center_x": 121,
|
| 112 |
+
"center_y": 370,
|
| 113 |
+
"radius_px": 35.1656,
|
| 114 |
+
"amplitude_px": 10.565,
|
| 115 |
+
"direction_deg": 0.3366,
|
| 116 |
+
"twist_ratio": 0.2742
|
| 117 |
+
}
|
| 118 |
+
],
|
| 119 |
+
"warp_center_source": "foreground_mask",
|
| 120 |
+
"warp_local_patch_only": true,
|
| 121 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 122 |
+
"iterations": 2,
|
| 123 |
+
"strength": 0.6056,
|
| 124 |
+
"post_blur_sigma": 0.3182,
|
| 125 |
+
"post_noise_sigma": 1.2992
|
| 126 |
+
},
|
| 127 |
+
"bend_params": {
|
| 128 |
+
"warp_mode": "local_bend_points",
|
| 129 |
+
"warp_point_count": 3,
|
| 130 |
+
"warp_radius_range_px": [
|
| 131 |
+
12.0,
|
| 132 |
+
36.0
|
| 133 |
+
],
|
| 134 |
+
"warp_amplitude_range_px": [
|
| 135 |
+
8.0,
|
| 136 |
+
15.0
|
| 137 |
+
],
|
| 138 |
+
"warp_twist_ratio_range": [
|
| 139 |
+
0.24,
|
| 140 |
+
0.48
|
| 141 |
+
],
|
| 142 |
+
"warp_points": [
|
| 143 |
+
{
|
| 144 |
+
"center_x": 96,
|
| 145 |
+
"center_y": 534,
|
| 146 |
+
"radius_px": 13.0953,
|
| 147 |
+
"amplitude_px": 12.6512,
|
| 148 |
+
"direction_deg": 37.0878,
|
| 149 |
+
"twist_ratio": 0.3101
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"center_x": 566,
|
| 153 |
+
"center_y": 366,
|
| 154 |
+
"radius_px": 29.8953,
|
| 155 |
+
"amplitude_px": 12.8553,
|
| 156 |
+
"direction_deg": 329.712,
|
| 157 |
+
"twist_ratio": 0.3223
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"center_x": 121,
|
| 161 |
+
"center_y": 370,
|
| 162 |
+
"radius_px": 35.1656,
|
| 163 |
+
"amplitude_px": 10.565,
|
| 164 |
+
"direction_deg": 0.3366,
|
| 165 |
+
"twist_ratio": 0.2742
|
| 166 |
+
}
|
| 167 |
+
],
|
| 168 |
+
"warp_center_source": "foreground_mask",
|
| 169 |
+
"warp_local_patch_only": true,
|
| 170 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 171 |
+
},
|
| 172 |
+
"erosion_params": {
|
| 173 |
+
"operations": [
|
| 174 |
+
"foreground_ink_erosion",
|
| 175 |
+
"small_optional_blur",
|
| 176 |
+
"small_optional_noise"
|
| 177 |
+
],
|
| 178 |
+
"kernel_size": 2,
|
| 179 |
+
"kernel_shape": "rect",
|
| 180 |
+
"iterations": 1,
|
| 181 |
+
"strength": 0.7943,
|
| 182 |
+
"post_blur_sigma": 0.2648,
|
| 183 |
+
"post_noise_sigma": 0.9906
|
| 184 |
+
},
|
| 185 |
+
"blur_params": {
|
| 186 |
+
"operations": [
|
| 187 |
+
"contrast_brightness",
|
| 188 |
+
"gaussian_blur",
|
| 189 |
+
"optional_motion_blur",
|
| 190 |
+
"gaussian_noise",
|
| 191 |
+
"salt_pepper",
|
| 192 |
+
"jpeg_roundtrip"
|
| 193 |
+
],
|
| 194 |
+
"contrast": 0.9587,
|
| 195 |
+
"brightness": 1.9303,
|
| 196 |
+
"gaussian_blur_sigma": 0.2192,
|
| 197 |
+
"motion_applied": false,
|
| 198 |
+
"noise_sigma": 6.8102,
|
| 199 |
+
"salt_pepper_amount": 0.00226,
|
| 200 |
+
"jpeg_quality": 71
|
| 201 |
+
}
|
| 202 |
+
},
|
| 203 |
+
"diff_metrics": {
|
| 204 |
+
"mean_absdiff": 23.8076,
|
| 205 |
+
"p95_absdiff": 114.0,
|
| 206 |
+
"changed_pixel_ratio_gt8": 0.760255
|
| 207 |
+
}
|
| 208 |
+
}
|
dataset-augment/en_1/en_1-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/en_10/augment_meta.json
ADDED
|
@@ -0,0 +1,192 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "en_10",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 3359335467408886625,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/en_10/01/en_10-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/en_10/en_10-01_augmented.png",
|
| 10 |
+
"source_relative": "en_10/01/en_10-01.png",
|
| 11 |
+
"output_relative": "en_10/en_10-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 864,
|
| 14 |
+
"height": 1232
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 864,
|
| 18 |
+
"height": 1232
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 864,
|
| 33 |
+
"height": 1232
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 864,
|
| 37 |
+
"height": 1232
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 864,
|
| 41 |
+
"height": 1232
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 3529.1695,
|
| 45 |
+
"blur_score_cv_denoised": 566.2074,
|
| 46 |
+
"foreground_ratio": 0.380163,
|
| 47 |
+
"mean_gray": 212.0998,
|
| 48 |
+
"std_gray": 77.8913
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 2091.4284,
|
| 52 |
+
"blur_score_cv_denoised": 263.4723,
|
| 53 |
+
"foreground_ratio": 0.404486,
|
| 54 |
+
"mean_gray": 211.3528,
|
| 55 |
+
"std_gray": 73.062
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": -1437.7411,
|
| 59 |
+
"blur_score_cv_denoised": -302.7351,
|
| 60 |
+
"foreground_ratio": 0.0243,
|
| 61 |
+
"mean_gray": -0.747,
|
| 62 |
+
"std_gray": -4.8293
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 3,
|
| 78 |
+
"kernel_shape": "rect",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 2,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 38,
|
| 96 |
+
"center_y": 817,
|
| 97 |
+
"radius_px": 24.2533,
|
| 98 |
+
"amplitude_px": 12.3471,
|
| 99 |
+
"direction_deg": 54.744,
|
| 100 |
+
"twist_ratio": 0.2646
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"center_x": 50,
|
| 104 |
+
"center_y": 1092,
|
| 105 |
+
"radius_px": 22.1239,
|
| 106 |
+
"amplitude_px": 14.1126,
|
| 107 |
+
"direction_deg": 304.2944,
|
| 108 |
+
"twist_ratio": 0.4282
|
| 109 |
+
}
|
| 110 |
+
],
|
| 111 |
+
"warp_center_source": "foreground_mask",
|
| 112 |
+
"warp_local_patch_only": true,
|
| 113 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 114 |
+
"iterations": 1,
|
| 115 |
+
"strength": 0.6372,
|
| 116 |
+
"post_blur_sigma": 0.2547,
|
| 117 |
+
"post_noise_sigma": 1.209
|
| 118 |
+
},
|
| 119 |
+
"bend_params": {
|
| 120 |
+
"warp_mode": "local_bend_points",
|
| 121 |
+
"warp_point_count": 2,
|
| 122 |
+
"warp_radius_range_px": [
|
| 123 |
+
12.0,
|
| 124 |
+
36.0
|
| 125 |
+
],
|
| 126 |
+
"warp_amplitude_range_px": [
|
| 127 |
+
8.0,
|
| 128 |
+
15.0
|
| 129 |
+
],
|
| 130 |
+
"warp_twist_ratio_range": [
|
| 131 |
+
0.24,
|
| 132 |
+
0.48
|
| 133 |
+
],
|
| 134 |
+
"warp_points": [
|
| 135 |
+
{
|
| 136 |
+
"center_x": 38,
|
| 137 |
+
"center_y": 817,
|
| 138 |
+
"radius_px": 24.2533,
|
| 139 |
+
"amplitude_px": 12.3471,
|
| 140 |
+
"direction_deg": 54.744,
|
| 141 |
+
"twist_ratio": 0.2646
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"center_x": 50,
|
| 145 |
+
"center_y": 1092,
|
| 146 |
+
"radius_px": 22.1239,
|
| 147 |
+
"amplitude_px": 14.1126,
|
| 148 |
+
"direction_deg": 304.2944,
|
| 149 |
+
"twist_ratio": 0.4282
|
| 150 |
+
}
|
| 151 |
+
],
|
| 152 |
+
"warp_center_source": "foreground_mask",
|
| 153 |
+
"warp_local_patch_only": true,
|
| 154 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 155 |
+
},
|
| 156 |
+
"erosion_params": {
|
| 157 |
+
"operations": [
|
| 158 |
+
"foreground_ink_erosion",
|
| 159 |
+
"small_optional_blur",
|
| 160 |
+
"small_optional_noise"
|
| 161 |
+
],
|
| 162 |
+
"kernel_size": 3,
|
| 163 |
+
"kernel_shape": "rect",
|
| 164 |
+
"iterations": 1,
|
| 165 |
+
"strength": 0.8622,
|
| 166 |
+
"post_blur_sigma": 0.2777,
|
| 167 |
+
"post_noise_sigma": 0.7274
|
| 168 |
+
},
|
| 169 |
+
"blur_params": {
|
| 170 |
+
"operations": [
|
| 171 |
+
"contrast_brightness",
|
| 172 |
+
"gaussian_blur",
|
| 173 |
+
"optional_motion_blur",
|
| 174 |
+
"gaussian_noise",
|
| 175 |
+
"salt_pepper",
|
| 176 |
+
"jpeg_roundtrip"
|
| 177 |
+
],
|
| 178 |
+
"contrast": 0.9857,
|
| 179 |
+
"brightness": 3.8938,
|
| 180 |
+
"gaussian_blur_sigma": 0.3114,
|
| 181 |
+
"motion_applied": false,
|
| 182 |
+
"noise_sigma": 6.1584,
|
| 183 |
+
"salt_pepper_amount": 0.001765,
|
| 184 |
+
"jpeg_quality": 78
|
| 185 |
+
}
|
| 186 |
+
},
|
| 187 |
+
"diff_metrics": {
|
| 188 |
+
"mean_absdiff": 9.0293,
|
| 189 |
+
"p95_absdiff": 37.0,
|
| 190 |
+
"changed_pixel_ratio_gt8": 0.258516
|
| 191 |
+
}
|
| 192 |
+
}
|
dataset-augment/en_10/en_10-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/en_11/augment_meta.json
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "en_11",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 12943855080387790809,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/en_11/01/en_11-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/en_11/en_11-01_augmented.png",
|
| 10 |
+
"source_relative": "en_11/01/en_11-01.png",
|
| 11 |
+
"output_relative": "en_11/en_11-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 864,
|
| 14 |
+
"height": 1232
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 864,
|
| 18 |
+
"height": 1232
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 864,
|
| 33 |
+
"height": 1232
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 864,
|
| 37 |
+
"height": 1232
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 864,
|
| 41 |
+
"height": 1232
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 2412.3177,
|
| 45 |
+
"blur_score_cv_denoised": 347.5943,
|
| 46 |
+
"foreground_ratio": 0.204538,
|
| 47 |
+
"mean_gray": 242.1514,
|
| 48 |
+
"std_gray": 31.4473
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 1545.0029,
|
| 52 |
+
"blur_score_cv_denoised": 229.2929,
|
| 53 |
+
"foreground_ratio": 0.232157,
|
| 54 |
+
"mean_gray": 238.544,
|
| 55 |
+
"std_gray": 31.6844
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": -867.3148,
|
| 59 |
+
"blur_score_cv_denoised": -118.3014,
|
| 60 |
+
"foreground_ratio": 0.0276,
|
| 61 |
+
"mean_gray": -3.6074,
|
| 62 |
+
"std_gray": 0.2371
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 3,
|
| 78 |
+
"kernel_shape": "ellipse",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 3,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 734,
|
| 96 |
+
"center_y": 459,
|
| 97 |
+
"radius_px": 12.5104,
|
| 98 |
+
"amplitude_px": 13.6773,
|
| 99 |
+
"direction_deg": 148.6325,
|
| 100 |
+
"twist_ratio": 0.3318
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"center_x": 446,
|
| 104 |
+
"center_y": 388,
|
| 105 |
+
"radius_px": 16.701,
|
| 106 |
+
"amplitude_px": 14.1293,
|
| 107 |
+
"direction_deg": 34.7529,
|
| 108 |
+
"twist_ratio": 0.4135
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"center_x": 268,
|
| 112 |
+
"center_y": 488,
|
| 113 |
+
"radius_px": 25.1148,
|
| 114 |
+
"amplitude_px": 12.3682,
|
| 115 |
+
"direction_deg": 258.9723,
|
| 116 |
+
"twist_ratio": 0.4368
|
| 117 |
+
}
|
| 118 |
+
],
|
| 119 |
+
"warp_center_source": "foreground_mask",
|
| 120 |
+
"warp_local_patch_only": true,
|
| 121 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 122 |
+
"iterations": 1,
|
| 123 |
+
"strength": 0.6666,
|
| 124 |
+
"post_blur_sigma": 0.2249,
|
| 125 |
+
"post_noise_sigma": 1.6937
|
| 126 |
+
},
|
| 127 |
+
"bend_params": {
|
| 128 |
+
"warp_mode": "local_bend_points",
|
| 129 |
+
"warp_point_count": 3,
|
| 130 |
+
"warp_radius_range_px": [
|
| 131 |
+
12.0,
|
| 132 |
+
36.0
|
| 133 |
+
],
|
| 134 |
+
"warp_amplitude_range_px": [
|
| 135 |
+
8.0,
|
| 136 |
+
15.0
|
| 137 |
+
],
|
| 138 |
+
"warp_twist_ratio_range": [
|
| 139 |
+
0.24,
|
| 140 |
+
0.48
|
| 141 |
+
],
|
| 142 |
+
"warp_points": [
|
| 143 |
+
{
|
| 144 |
+
"center_x": 734,
|
| 145 |
+
"center_y": 459,
|
| 146 |
+
"radius_px": 12.5104,
|
| 147 |
+
"amplitude_px": 13.6773,
|
| 148 |
+
"direction_deg": 148.6325,
|
| 149 |
+
"twist_ratio": 0.3318
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"center_x": 446,
|
| 153 |
+
"center_y": 388,
|
| 154 |
+
"radius_px": 16.701,
|
| 155 |
+
"amplitude_px": 14.1293,
|
| 156 |
+
"direction_deg": 34.7529,
|
| 157 |
+
"twist_ratio": 0.4135
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"center_x": 268,
|
| 161 |
+
"center_y": 488,
|
| 162 |
+
"radius_px": 25.1148,
|
| 163 |
+
"amplitude_px": 12.3682,
|
| 164 |
+
"direction_deg": 258.9723,
|
| 165 |
+
"twist_ratio": 0.4368
|
| 166 |
+
}
|
| 167 |
+
],
|
| 168 |
+
"warp_center_source": "foreground_mask",
|
| 169 |
+
"warp_local_patch_only": true,
|
| 170 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 171 |
+
},
|
| 172 |
+
"erosion_params": {
|
| 173 |
+
"operations": [
|
| 174 |
+
"foreground_ink_erosion",
|
| 175 |
+
"small_optional_blur",
|
| 176 |
+
"small_optional_noise"
|
| 177 |
+
],
|
| 178 |
+
"kernel_size": 2,
|
| 179 |
+
"kernel_shape": "cross",
|
| 180 |
+
"iterations": 1,
|
| 181 |
+
"strength": 0.8507,
|
| 182 |
+
"post_blur_sigma": 0.0038,
|
| 183 |
+
"post_noise_sigma": 0.7502
|
| 184 |
+
},
|
| 185 |
+
"blur_params": {
|
| 186 |
+
"operations": [
|
| 187 |
+
"contrast_brightness",
|
| 188 |
+
"gaussian_blur",
|
| 189 |
+
"optional_motion_blur",
|
| 190 |
+
"gaussian_noise",
|
| 191 |
+
"salt_pepper",
|
| 192 |
+
"jpeg_roundtrip"
|
| 193 |
+
],
|
| 194 |
+
"contrast": 1.0498,
|
| 195 |
+
"brightness": -3.3476,
|
| 196 |
+
"gaussian_blur_sigma": 0.1991,
|
| 197 |
+
"motion_applied": false,
|
| 198 |
+
"noise_sigma": 7.8611,
|
| 199 |
+
"salt_pepper_amount": 0.000932,
|
| 200 |
+
"jpeg_quality": 65
|
| 201 |
+
}
|
| 202 |
+
},
|
| 203 |
+
"diff_metrics": {
|
| 204 |
+
"mean_absdiff": 7.4762,
|
| 205 |
+
"p95_absdiff": 36.0,
|
| 206 |
+
"changed_pixel_ratio_gt8": 0.181347
|
| 207 |
+
}
|
| 208 |
+
}
|
dataset-augment/en_11/en_11-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/en_12/augment_meta.json
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "en_12",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 12331218165776703984,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/en_12/01/en_12-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/en_12/en_12-01_augmented.png",
|
| 10 |
+
"source_relative": "en_12/01/en_12-01.png",
|
| 11 |
+
"output_relative": "en_12/en_12-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 864,
|
| 14 |
+
"height": 1232
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 864,
|
| 18 |
+
"height": 1232
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 864,
|
| 33 |
+
"height": 1232
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 864,
|
| 37 |
+
"height": 1232
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 864,
|
| 41 |
+
"height": 1232
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 2506.0322,
|
| 45 |
+
"blur_score_cv_denoised": 380.8277,
|
| 46 |
+
"foreground_ratio": 0.208214,
|
| 47 |
+
"mean_gray": 241.734,
|
| 48 |
+
"std_gray": 33.0528
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 1404.5601,
|
| 52 |
+
"blur_score_cv_denoised": 116.3618,
|
| 53 |
+
"foreground_ratio": 0.226857,
|
| 54 |
+
"mean_gray": 240.6363,
|
| 55 |
+
"std_gray": 27.4554
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": -1101.4721,
|
| 59 |
+
"blur_score_cv_denoised": -264.4659,
|
| 60 |
+
"foreground_ratio": 0.0186,
|
| 61 |
+
"mean_gray": -1.0977,
|
| 62 |
+
"std_gray": -5.5974
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 4,
|
| 78 |
+
"kernel_shape": "rect",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 3,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 724,
|
| 96 |
+
"center_y": 817,
|
| 97 |
+
"radius_px": 24.8206,
|
| 98 |
+
"amplitude_px": 10.0745,
|
| 99 |
+
"direction_deg": 292.257,
|
| 100 |
+
"twist_ratio": 0.4261
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"center_x": 402,
|
| 104 |
+
"center_y": 583,
|
| 105 |
+
"radius_px": 22.1994,
|
| 106 |
+
"amplitude_px": 9.8579,
|
| 107 |
+
"direction_deg": 317.6182,
|
| 108 |
+
"twist_ratio": 0.4747
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"center_x": 789,
|
| 112 |
+
"center_y": 705,
|
| 113 |
+
"radius_px": 27.2089,
|
| 114 |
+
"amplitude_px": 12.9448,
|
| 115 |
+
"direction_deg": 258.8397,
|
| 116 |
+
"twist_ratio": 0.3897
|
| 117 |
+
}
|
| 118 |
+
],
|
| 119 |
+
"warp_center_source": "foreground_mask",
|
| 120 |
+
"warp_local_patch_only": true,
|
| 121 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 122 |
+
"iterations": 1,
|
| 123 |
+
"strength": 0.5507,
|
| 124 |
+
"post_blur_sigma": 0.1866,
|
| 125 |
+
"post_noise_sigma": 0.9328
|
| 126 |
+
},
|
| 127 |
+
"bend_params": {
|
| 128 |
+
"warp_mode": "local_bend_points",
|
| 129 |
+
"warp_point_count": 3,
|
| 130 |
+
"warp_radius_range_px": [
|
| 131 |
+
12.0,
|
| 132 |
+
36.0
|
| 133 |
+
],
|
| 134 |
+
"warp_amplitude_range_px": [
|
| 135 |
+
8.0,
|
| 136 |
+
15.0
|
| 137 |
+
],
|
| 138 |
+
"warp_twist_ratio_range": [
|
| 139 |
+
0.24,
|
| 140 |
+
0.48
|
| 141 |
+
],
|
| 142 |
+
"warp_points": [
|
| 143 |
+
{
|
| 144 |
+
"center_x": 724,
|
| 145 |
+
"center_y": 817,
|
| 146 |
+
"radius_px": 24.8206,
|
| 147 |
+
"amplitude_px": 10.0745,
|
| 148 |
+
"direction_deg": 292.257,
|
| 149 |
+
"twist_ratio": 0.4261
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"center_x": 402,
|
| 153 |
+
"center_y": 583,
|
| 154 |
+
"radius_px": 22.1994,
|
| 155 |
+
"amplitude_px": 9.8579,
|
| 156 |
+
"direction_deg": 317.6182,
|
| 157 |
+
"twist_ratio": 0.4747
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"center_x": 789,
|
| 161 |
+
"center_y": 705,
|
| 162 |
+
"radius_px": 27.2089,
|
| 163 |
+
"amplitude_px": 12.9448,
|
| 164 |
+
"direction_deg": 258.8397,
|
| 165 |
+
"twist_ratio": 0.3897
|
| 166 |
+
}
|
| 167 |
+
],
|
| 168 |
+
"warp_center_source": "foreground_mask",
|
| 169 |
+
"warp_local_patch_only": true,
|
| 170 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 171 |
+
},
|
| 172 |
+
"erosion_params": {
|
| 173 |
+
"operations": [
|
| 174 |
+
"foreground_ink_erosion",
|
| 175 |
+
"small_optional_blur",
|
| 176 |
+
"small_optional_noise"
|
| 177 |
+
],
|
| 178 |
+
"kernel_size": 3,
|
| 179 |
+
"kernel_shape": "rect",
|
| 180 |
+
"iterations": 1,
|
| 181 |
+
"strength": 0.8217,
|
| 182 |
+
"post_blur_sigma": 0.4075,
|
| 183 |
+
"post_noise_sigma": 2.0102
|
| 184 |
+
},
|
| 185 |
+
"blur_params": {
|
| 186 |
+
"operations": [
|
| 187 |
+
"contrast_brightness",
|
| 188 |
+
"gaussian_blur",
|
| 189 |
+
"optional_motion_blur",
|
| 190 |
+
"gaussian_noise",
|
| 191 |
+
"salt_pepper",
|
| 192 |
+
"jpeg_roundtrip"
|
| 193 |
+
],
|
| 194 |
+
"contrast": 1.0657,
|
| 195 |
+
"brightness": 4.178,
|
| 196 |
+
"gaussian_blur_sigma": 0.3149,
|
| 197 |
+
"motion_applied": false,
|
| 198 |
+
"noise_sigma": 6.579,
|
| 199 |
+
"salt_pepper_amount": 0.001583,
|
| 200 |
+
"jpeg_quality": 88
|
| 201 |
+
}
|
| 202 |
+
},
|
| 203 |
+
"diff_metrics": {
|
| 204 |
+
"mean_absdiff": 9.0128,
|
| 205 |
+
"p95_absdiff": 48.0,
|
| 206 |
+
"changed_pixel_ratio_gt8": 0.19519
|
| 207 |
+
}
|
| 208 |
+
}
|
dataset-augment/en_12/en_12-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/en_13/augment_meta.json
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "en_13",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 2698857593063572943,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/en_13/01/en_13-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/en_13/en_13-01_augmented.png",
|
| 10 |
+
"source_relative": "en_13/01/en_13-01.png",
|
| 11 |
+
"output_relative": "en_13/en_13-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 864,
|
| 14 |
+
"height": 1232
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 864,
|
| 18 |
+
"height": 1232
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 864,
|
| 33 |
+
"height": 1232
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 864,
|
| 37 |
+
"height": 1232
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 864,
|
| 41 |
+
"height": 1232
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 6509.8764,
|
| 45 |
+
"blur_score_cv_denoised": 978.4987,
|
| 46 |
+
"foreground_ratio": 0.299376,
|
| 47 |
+
"mean_gray": 229.5034,
|
| 48 |
+
"std_gray": 52.7745
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 3209.3632,
|
| 52 |
+
"blur_score_cv_denoised": 538.5411,
|
| 53 |
+
"foreground_ratio": 0.36281,
|
| 54 |
+
"mean_gray": 219.6414,
|
| 55 |
+
"std_gray": 52.3441
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": -3300.5132,
|
| 59 |
+
"blur_score_cv_denoised": -439.9576,
|
| 60 |
+
"foreground_ratio": 0.0634,
|
| 61 |
+
"mean_gray": -9.862,
|
| 62 |
+
"std_gray": -0.4304
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 3,
|
| 78 |
+
"kernel_shape": "ellipse",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 3,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 127,
|
| 96 |
+
"center_y": 258,
|
| 97 |
+
"radius_px": 20.5292,
|
| 98 |
+
"amplitude_px": 12.3874,
|
| 99 |
+
"direction_deg": 170.3879,
|
| 100 |
+
"twist_ratio": 0.398
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"center_x": 374,
|
| 104 |
+
"center_y": 480,
|
| 105 |
+
"radius_px": 29.0001,
|
| 106 |
+
"amplitude_px": 14.8397,
|
| 107 |
+
"direction_deg": 284.7849,
|
| 108 |
+
"twist_ratio": 0.4751
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"center_x": 313,
|
| 112 |
+
"center_y": 160,
|
| 113 |
+
"radius_px": 22.6215,
|
| 114 |
+
"amplitude_px": 8.6119,
|
| 115 |
+
"direction_deg": 100.0224,
|
| 116 |
+
"twist_ratio": 0.3756
|
| 117 |
+
}
|
| 118 |
+
],
|
| 119 |
+
"warp_center_source": "foreground_mask",
|
| 120 |
+
"warp_local_patch_only": true,
|
| 121 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 122 |
+
"iterations": 1,
|
| 123 |
+
"strength": 0.6529,
|
| 124 |
+
"post_blur_sigma": 0.1262,
|
| 125 |
+
"post_noise_sigma": 0.6543
|
| 126 |
+
},
|
| 127 |
+
"bend_params": {
|
| 128 |
+
"warp_mode": "local_bend_points",
|
| 129 |
+
"warp_point_count": 3,
|
| 130 |
+
"warp_radius_range_px": [
|
| 131 |
+
12.0,
|
| 132 |
+
36.0
|
| 133 |
+
],
|
| 134 |
+
"warp_amplitude_range_px": [
|
| 135 |
+
8.0,
|
| 136 |
+
15.0
|
| 137 |
+
],
|
| 138 |
+
"warp_twist_ratio_range": [
|
| 139 |
+
0.24,
|
| 140 |
+
0.48
|
| 141 |
+
],
|
| 142 |
+
"warp_points": [
|
| 143 |
+
{
|
| 144 |
+
"center_x": 127,
|
| 145 |
+
"center_y": 258,
|
| 146 |
+
"radius_px": 20.5292,
|
| 147 |
+
"amplitude_px": 12.3874,
|
| 148 |
+
"direction_deg": 170.3879,
|
| 149 |
+
"twist_ratio": 0.398
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"center_x": 374,
|
| 153 |
+
"center_y": 480,
|
| 154 |
+
"radius_px": 29.0001,
|
| 155 |
+
"amplitude_px": 14.8397,
|
| 156 |
+
"direction_deg": 284.7849,
|
| 157 |
+
"twist_ratio": 0.4751
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"center_x": 313,
|
| 161 |
+
"center_y": 160,
|
| 162 |
+
"radius_px": 22.6215,
|
| 163 |
+
"amplitude_px": 8.6119,
|
| 164 |
+
"direction_deg": 100.0224,
|
| 165 |
+
"twist_ratio": 0.3756
|
| 166 |
+
}
|
| 167 |
+
],
|
| 168 |
+
"warp_center_source": "foreground_mask",
|
| 169 |
+
"warp_local_patch_only": true,
|
| 170 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 171 |
+
},
|
| 172 |
+
"erosion_params": {
|
| 173 |
+
"operations": [
|
| 174 |
+
"foreground_ink_erosion",
|
| 175 |
+
"small_optional_blur",
|
| 176 |
+
"small_optional_noise"
|
| 177 |
+
],
|
| 178 |
+
"kernel_size": 2,
|
| 179 |
+
"kernel_shape": "rect",
|
| 180 |
+
"iterations": 1,
|
| 181 |
+
"strength": 0.8174,
|
| 182 |
+
"post_blur_sigma": 0.3424,
|
| 183 |
+
"post_noise_sigma": 0.8545
|
| 184 |
+
},
|
| 185 |
+
"blur_params": {
|
| 186 |
+
"operations": [
|
| 187 |
+
"contrast_brightness",
|
| 188 |
+
"gaussian_blur",
|
| 189 |
+
"optional_motion_blur",
|
| 190 |
+
"gaussian_noise",
|
| 191 |
+
"salt_pepper",
|
| 192 |
+
"jpeg_roundtrip"
|
| 193 |
+
],
|
| 194 |
+
"contrast": 1.0007,
|
| 195 |
+
"brightness": -2.8389,
|
| 196 |
+
"gaussian_blur_sigma": 0.3533,
|
| 197 |
+
"motion_applied": false,
|
| 198 |
+
"noise_sigma": 7.736,
|
| 199 |
+
"salt_pepper_amount": 0.002137,
|
| 200 |
+
"jpeg_quality": 80
|
| 201 |
+
}
|
| 202 |
+
},
|
| 203 |
+
"diff_metrics": {
|
| 204 |
+
"mean_absdiff": 16.4803,
|
| 205 |
+
"p95_absdiff": 76.0,
|
| 206 |
+
"changed_pixel_ratio_gt8": 0.402573
|
| 207 |
+
}
|
| 208 |
+
}
|
dataset-augment/en_13/en_13-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/en_14/augment_meta.json
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "en_14",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 16485598550733080085,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/en_14/01/en_14-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/en_14/en_14-01_augmented.png",
|
| 10 |
+
"source_relative": "en_14/01/en_14-01.png",
|
| 11 |
+
"output_relative": "en_14/en_14-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 1232,
|
| 14 |
+
"height": 864
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 1232,
|
| 18 |
+
"height": 864
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 1232,
|
| 33 |
+
"height": 864
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 1232,
|
| 37 |
+
"height": 864
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 1232,
|
| 41 |
+
"height": 864
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 4381.5579,
|
| 45 |
+
"blur_score_cv_denoised": 849.9487,
|
| 46 |
+
"foreground_ratio": 0.243829,
|
| 47 |
+
"mean_gray": 233.8314,
|
| 48 |
+
"std_gray": 50.1794
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 2834.0614,
|
| 52 |
+
"blur_score_cv_denoised": 356.996,
|
| 53 |
+
"foreground_ratio": 0.278288,
|
| 54 |
+
"mean_gray": 232.3693,
|
| 55 |
+
"std_gray": 40.5331
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": -1547.4965,
|
| 59 |
+
"blur_score_cv_denoised": -492.9527,
|
| 60 |
+
"foreground_ratio": 0.0345,
|
| 61 |
+
"mean_gray": -1.4621,
|
| 62 |
+
"std_gray": -9.6463
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 3,
|
| 78 |
+
"kernel_shape": "rect",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 1,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 580,
|
| 96 |
+
"center_y": 468,
|
| 97 |
+
"radius_px": 31.4402,
|
| 98 |
+
"amplitude_px": 13.3945,
|
| 99 |
+
"direction_deg": 23.3623,
|
| 100 |
+
"twist_ratio": 0.3411
|
| 101 |
+
}
|
| 102 |
+
],
|
| 103 |
+
"warp_center_source": "foreground_mask",
|
| 104 |
+
"warp_local_patch_only": true,
|
| 105 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 106 |
+
"iterations": 1,
|
| 107 |
+
"strength": 0.5515,
|
| 108 |
+
"post_blur_sigma": 0.3205,
|
| 109 |
+
"post_noise_sigma": 1.5374
|
| 110 |
+
},
|
| 111 |
+
"bend_params": {
|
| 112 |
+
"warp_mode": "local_bend_points",
|
| 113 |
+
"warp_point_count": 1,
|
| 114 |
+
"warp_radius_range_px": [
|
| 115 |
+
12.0,
|
| 116 |
+
36.0
|
| 117 |
+
],
|
| 118 |
+
"warp_amplitude_range_px": [
|
| 119 |
+
8.0,
|
| 120 |
+
15.0
|
| 121 |
+
],
|
| 122 |
+
"warp_twist_ratio_range": [
|
| 123 |
+
0.24,
|
| 124 |
+
0.48
|
| 125 |
+
],
|
| 126 |
+
"warp_points": [
|
| 127 |
+
{
|
| 128 |
+
"center_x": 580,
|
| 129 |
+
"center_y": 468,
|
| 130 |
+
"radius_px": 31.4402,
|
| 131 |
+
"amplitude_px": 13.3945,
|
| 132 |
+
"direction_deg": 23.3623,
|
| 133 |
+
"twist_ratio": 0.3411
|
| 134 |
+
}
|
| 135 |
+
],
|
| 136 |
+
"warp_center_source": "foreground_mask",
|
| 137 |
+
"warp_local_patch_only": true,
|
| 138 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 139 |
+
},
|
| 140 |
+
"erosion_params": {
|
| 141 |
+
"operations": [
|
| 142 |
+
"foreground_ink_erosion",
|
| 143 |
+
"small_optional_blur",
|
| 144 |
+
"small_optional_noise"
|
| 145 |
+
],
|
| 146 |
+
"kernel_size": 3,
|
| 147 |
+
"kernel_shape": "ellipse",
|
| 148 |
+
"iterations": 1,
|
| 149 |
+
"strength": 0.9213,
|
| 150 |
+
"post_blur_sigma": 0.3056,
|
| 151 |
+
"post_noise_sigma": 0.732
|
| 152 |
+
},
|
| 153 |
+
"blur_params": {
|
| 154 |
+
"operations": [
|
| 155 |
+
"contrast_brightness",
|
| 156 |
+
"gaussian_blur",
|
| 157 |
+
"optional_motion_blur",
|
| 158 |
+
"gaussian_noise",
|
| 159 |
+
"salt_pepper",
|
| 160 |
+
"jpeg_roundtrip"
|
| 161 |
+
],
|
| 162 |
+
"contrast": 0.9886,
|
| 163 |
+
"brightness": 3.5001,
|
| 164 |
+
"gaussian_blur_sigma": 0.2096,
|
| 165 |
+
"motion_applied": false,
|
| 166 |
+
"noise_sigma": 7.3613,
|
| 167 |
+
"salt_pepper_amount": 0.002394,
|
| 168 |
+
"jpeg_quality": 58
|
| 169 |
+
}
|
| 170 |
+
},
|
| 171 |
+
"diff_metrics": {
|
| 172 |
+
"mean_absdiff": 10.5446,
|
| 173 |
+
"p95_absdiff": 50.0,
|
| 174 |
+
"changed_pixel_ratio_gt8": 0.24343
|
| 175 |
+
}
|
| 176 |
+
}
|
dataset-augment/en_14/en_14-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/en_15/augment_meta.json
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "en_15",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 2530141177715876759,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/en_15/01/en_15-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/en_15/en_15-01_augmented.png",
|
| 10 |
+
"source_relative": "en_15/01/en_15-01.png",
|
| 11 |
+
"output_relative": "en_15/en_15-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 864,
|
| 14 |
+
"height": 1232
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 864,
|
| 18 |
+
"height": 1232
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 864,
|
| 33 |
+
"height": 1232
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 864,
|
| 37 |
+
"height": 1232
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 864,
|
| 41 |
+
"height": 1232
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 2385.4031,
|
| 45 |
+
"blur_score_cv_denoised": 371.4946,
|
| 46 |
+
"foreground_ratio": 0.174138,
|
| 47 |
+
"mean_gray": 239.1725,
|
| 48 |
+
"std_gray": 35.9782
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 1445.7017,
|
| 52 |
+
"blur_score_cv_denoised": 227.8012,
|
| 53 |
+
"foreground_ratio": 0.185754,
|
| 54 |
+
"mean_gray": 240.4588,
|
| 55 |
+
"std_gray": 35.6785
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": -939.7014,
|
| 59 |
+
"blur_score_cv_denoised": -143.6934,
|
| 60 |
+
"foreground_ratio": 0.0116,
|
| 61 |
+
"mean_gray": 1.2863,
|
| 62 |
+
"std_gray": -0.2997
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 3,
|
| 78 |
+
"kernel_shape": "ellipse",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 3,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 392,
|
| 96 |
+
"center_y": 588,
|
| 97 |
+
"radius_px": 23.7662,
|
| 98 |
+
"amplitude_px": 11.6507,
|
| 99 |
+
"direction_deg": 347.9318,
|
| 100 |
+
"twist_ratio": 0.4269
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"center_x": 370,
|
| 104 |
+
"center_y": 479,
|
| 105 |
+
"radius_px": 23.2075,
|
| 106 |
+
"amplitude_px": 14.5657,
|
| 107 |
+
"direction_deg": 154.377,
|
| 108 |
+
"twist_ratio": 0.3805
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"center_x": 473,
|
| 112 |
+
"center_y": 317,
|
| 113 |
+
"radius_px": 33.8343,
|
| 114 |
+
"amplitude_px": 9.0081,
|
| 115 |
+
"direction_deg": 210.9945,
|
| 116 |
+
"twist_ratio": 0.3011
|
| 117 |
+
}
|
| 118 |
+
],
|
| 119 |
+
"warp_center_source": "foreground_mask",
|
| 120 |
+
"warp_local_patch_only": true,
|
| 121 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 122 |
+
"iterations": 1,
|
| 123 |
+
"strength": 0.6061,
|
| 124 |
+
"post_blur_sigma": 0.1917,
|
| 125 |
+
"post_noise_sigma": 1.7524
|
| 126 |
+
},
|
| 127 |
+
"bend_params": {
|
| 128 |
+
"warp_mode": "local_bend_points",
|
| 129 |
+
"warp_point_count": 3,
|
| 130 |
+
"warp_radius_range_px": [
|
| 131 |
+
12.0,
|
| 132 |
+
36.0
|
| 133 |
+
],
|
| 134 |
+
"warp_amplitude_range_px": [
|
| 135 |
+
8.0,
|
| 136 |
+
15.0
|
| 137 |
+
],
|
| 138 |
+
"warp_twist_ratio_range": [
|
| 139 |
+
0.24,
|
| 140 |
+
0.48
|
| 141 |
+
],
|
| 142 |
+
"warp_points": [
|
| 143 |
+
{
|
| 144 |
+
"center_x": 392,
|
| 145 |
+
"center_y": 588,
|
| 146 |
+
"radius_px": 23.7662,
|
| 147 |
+
"amplitude_px": 11.6507,
|
| 148 |
+
"direction_deg": 347.9318,
|
| 149 |
+
"twist_ratio": 0.4269
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"center_x": 370,
|
| 153 |
+
"center_y": 479,
|
| 154 |
+
"radius_px": 23.2075,
|
| 155 |
+
"amplitude_px": 14.5657,
|
| 156 |
+
"direction_deg": 154.377,
|
| 157 |
+
"twist_ratio": 0.3805
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"center_x": 473,
|
| 161 |
+
"center_y": 317,
|
| 162 |
+
"radius_px": 33.8343,
|
| 163 |
+
"amplitude_px": 9.0081,
|
| 164 |
+
"direction_deg": 210.9945,
|
| 165 |
+
"twist_ratio": 0.3011
|
| 166 |
+
}
|
| 167 |
+
],
|
| 168 |
+
"warp_center_source": "foreground_mask",
|
| 169 |
+
"warp_local_patch_only": true,
|
| 170 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 171 |
+
},
|
| 172 |
+
"erosion_params": {
|
| 173 |
+
"operations": [
|
| 174 |
+
"foreground_ink_erosion",
|
| 175 |
+
"small_optional_blur",
|
| 176 |
+
"small_optional_noise"
|
| 177 |
+
],
|
| 178 |
+
"kernel_size": 2,
|
| 179 |
+
"kernel_shape": "rect",
|
| 180 |
+
"iterations": 1,
|
| 181 |
+
"strength": 0.8513,
|
| 182 |
+
"post_blur_sigma": 0.0542,
|
| 183 |
+
"post_noise_sigma": 0.1879
|
| 184 |
+
},
|
| 185 |
+
"blur_params": {
|
| 186 |
+
"operations": [
|
| 187 |
+
"contrast_brightness",
|
| 188 |
+
"gaussian_blur",
|
| 189 |
+
"optional_motion_blur",
|
| 190 |
+
"gaussian_noise",
|
| 191 |
+
"salt_pepper",
|
| 192 |
+
"jpeg_roundtrip"
|
| 193 |
+
],
|
| 194 |
+
"contrast": 1.0661,
|
| 195 |
+
"brightness": -5.9106,
|
| 196 |
+
"gaussian_blur_sigma": 0.2051,
|
| 197 |
+
"motion_applied": false,
|
| 198 |
+
"noise_sigma": 4.8485,
|
| 199 |
+
"salt_pepper_amount": 0.000956,
|
| 200 |
+
"jpeg_quality": 65
|
| 201 |
+
}
|
| 202 |
+
},
|
| 203 |
+
"diff_metrics": {
|
| 204 |
+
"mean_absdiff": 7.7818,
|
| 205 |
+
"p95_absdiff": 37.0,
|
| 206 |
+
"changed_pixel_ratio_gt8": 0.148773
|
| 207 |
+
}
|
| 208 |
+
}
|
dataset-augment/en_15/en_15-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/en_16/augment_meta.json
ADDED
|
@@ -0,0 +1,192 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "en_16",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 13038749385831684025,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/en_16/01/en_16-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/en_16/en_16-01_augmented.png",
|
| 10 |
+
"source_relative": "en_16/01/en_16-01.png",
|
| 11 |
+
"output_relative": "en_16/en_16-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 1232,
|
| 14 |
+
"height": 864
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 1232,
|
| 18 |
+
"height": 864
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 1232,
|
| 33 |
+
"height": 864
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 1232,
|
| 37 |
+
"height": 864
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 1232,
|
| 41 |
+
"height": 864
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 2725.7839,
|
| 45 |
+
"blur_score_cv_denoised": 553.5173,
|
| 46 |
+
"foreground_ratio": 0.218379,
|
| 47 |
+
"mean_gray": 235.6914,
|
| 48 |
+
"std_gray": 47.0868
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 2120.6796,
|
| 52 |
+
"blur_score_cv_denoised": 314.6767,
|
| 53 |
+
"foreground_ratio": 0.223416,
|
| 54 |
+
"mean_gray": 236.1358,
|
| 55 |
+
"std_gray": 43.8741
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": -605.1043,
|
| 59 |
+
"blur_score_cv_denoised": -238.8406,
|
| 60 |
+
"foreground_ratio": 0.005,
|
| 61 |
+
"mean_gray": 0.4444,
|
| 62 |
+
"std_gray": -3.2127
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 3,
|
| 78 |
+
"kernel_shape": "ellipse",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 2,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 748,
|
| 96 |
+
"center_y": 518,
|
| 97 |
+
"radius_px": 35.0373,
|
| 98 |
+
"amplitude_px": 14.2179,
|
| 99 |
+
"direction_deg": 19.6938,
|
| 100 |
+
"twist_ratio": 0.265
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"center_x": 326,
|
| 104 |
+
"center_y": 258,
|
| 105 |
+
"radius_px": 12.945,
|
| 106 |
+
"amplitude_px": 8.2323,
|
| 107 |
+
"direction_deg": 356.0841,
|
| 108 |
+
"twist_ratio": 0.4068
|
| 109 |
+
}
|
| 110 |
+
],
|
| 111 |
+
"warp_center_source": "foreground_mask",
|
| 112 |
+
"warp_local_patch_only": true,
|
| 113 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 114 |
+
"iterations": 1,
|
| 115 |
+
"strength": 0.5584,
|
| 116 |
+
"post_blur_sigma": 0.3463,
|
| 117 |
+
"post_noise_sigma": 1.7403
|
| 118 |
+
},
|
| 119 |
+
"bend_params": {
|
| 120 |
+
"warp_mode": "local_bend_points",
|
| 121 |
+
"warp_point_count": 2,
|
| 122 |
+
"warp_radius_range_px": [
|
| 123 |
+
12.0,
|
| 124 |
+
36.0
|
| 125 |
+
],
|
| 126 |
+
"warp_amplitude_range_px": [
|
| 127 |
+
8.0,
|
| 128 |
+
15.0
|
| 129 |
+
],
|
| 130 |
+
"warp_twist_ratio_range": [
|
| 131 |
+
0.24,
|
| 132 |
+
0.48
|
| 133 |
+
],
|
| 134 |
+
"warp_points": [
|
| 135 |
+
{
|
| 136 |
+
"center_x": 748,
|
| 137 |
+
"center_y": 518,
|
| 138 |
+
"radius_px": 35.0373,
|
| 139 |
+
"amplitude_px": 14.2179,
|
| 140 |
+
"direction_deg": 19.6938,
|
| 141 |
+
"twist_ratio": 0.265
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"center_x": 326,
|
| 145 |
+
"center_y": 258,
|
| 146 |
+
"radius_px": 12.945,
|
| 147 |
+
"amplitude_px": 8.2323,
|
| 148 |
+
"direction_deg": 356.0841,
|
| 149 |
+
"twist_ratio": 0.4068
|
| 150 |
+
}
|
| 151 |
+
],
|
| 152 |
+
"warp_center_source": "foreground_mask",
|
| 153 |
+
"warp_local_patch_only": true,
|
| 154 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 155 |
+
},
|
| 156 |
+
"erosion_params": {
|
| 157 |
+
"operations": [
|
| 158 |
+
"foreground_ink_erosion",
|
| 159 |
+
"small_optional_blur",
|
| 160 |
+
"small_optional_noise"
|
| 161 |
+
],
|
| 162 |
+
"kernel_size": 2,
|
| 163 |
+
"kernel_shape": "rect",
|
| 164 |
+
"iterations": 1,
|
| 165 |
+
"strength": 0.9085,
|
| 166 |
+
"post_blur_sigma": 0.2409,
|
| 167 |
+
"post_noise_sigma": 1.4009
|
| 168 |
+
},
|
| 169 |
+
"blur_params": {
|
| 170 |
+
"operations": [
|
| 171 |
+
"contrast_brightness",
|
| 172 |
+
"gaussian_blur",
|
| 173 |
+
"optional_motion_blur",
|
| 174 |
+
"gaussian_noise",
|
| 175 |
+
"salt_pepper",
|
| 176 |
+
"jpeg_roundtrip"
|
| 177 |
+
],
|
| 178 |
+
"contrast": 1.0316,
|
| 179 |
+
"brightness": 3.2813,
|
| 180 |
+
"gaussian_blur_sigma": 0.154,
|
| 181 |
+
"motion_applied": false,
|
| 182 |
+
"noise_sigma": 3.6101,
|
| 183 |
+
"salt_pepper_amount": 0.001802,
|
| 184 |
+
"jpeg_quality": 77
|
| 185 |
+
}
|
| 186 |
+
},
|
| 187 |
+
"diff_metrics": {
|
| 188 |
+
"mean_absdiff": 7.9304,
|
| 189 |
+
"p95_absdiff": 50.0,
|
| 190 |
+
"changed_pixel_ratio_gt8": 0.178902
|
| 191 |
+
}
|
| 192 |
+
}
|
dataset-augment/en_16/en_16-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/en_17/augment_meta.json
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "en_17",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 11824496573951402384,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/en_17/01/en_17-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/en_17/en_17-01_augmented.png",
|
| 10 |
+
"source_relative": "en_17/01/en_17-01.png",
|
| 11 |
+
"output_relative": "en_17/en_17-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 864,
|
| 14 |
+
"height": 1232
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 864,
|
| 18 |
+
"height": 1232
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 864,
|
| 33 |
+
"height": 1232
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 864,
|
| 37 |
+
"height": 1232
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 864,
|
| 41 |
+
"height": 1232
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 3700.5391,
|
| 45 |
+
"blur_score_cv_denoised": 621.1373,
|
| 46 |
+
"foreground_ratio": 0.173243,
|
| 47 |
+
"mean_gray": 237.9238,
|
| 48 |
+
"std_gray": 43.7593
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 1838.6052,
|
| 52 |
+
"blur_score_cv_denoised": 272.6719,
|
| 53 |
+
"foreground_ratio": 0.205087,
|
| 54 |
+
"mean_gray": 235.2961,
|
| 55 |
+
"std_gray": 38.3665
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": -1861.9339,
|
| 59 |
+
"blur_score_cv_denoised": -348.4654,
|
| 60 |
+
"foreground_ratio": 0.0318,
|
| 61 |
+
"mean_gray": -2.6277,
|
| 62 |
+
"std_gray": -5.3928
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 3,
|
| 78 |
+
"kernel_shape": "ellipse",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 1,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 547,
|
| 96 |
+
"center_y": 390,
|
| 97 |
+
"radius_px": 32.1953,
|
| 98 |
+
"amplitude_px": 9.3055,
|
| 99 |
+
"direction_deg": 222.0105,
|
| 100 |
+
"twist_ratio": 0.2501
|
| 101 |
+
}
|
| 102 |
+
],
|
| 103 |
+
"warp_center_source": "foreground_mask",
|
| 104 |
+
"warp_local_patch_only": true,
|
| 105 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 106 |
+
"iterations": 1,
|
| 107 |
+
"strength": 0.4864,
|
| 108 |
+
"post_blur_sigma": 0.1403,
|
| 109 |
+
"post_noise_sigma": 1.712
|
| 110 |
+
},
|
| 111 |
+
"bend_params": {
|
| 112 |
+
"warp_mode": "local_bend_points",
|
| 113 |
+
"warp_point_count": 1,
|
| 114 |
+
"warp_radius_range_px": [
|
| 115 |
+
12.0,
|
| 116 |
+
36.0
|
| 117 |
+
],
|
| 118 |
+
"warp_amplitude_range_px": [
|
| 119 |
+
8.0,
|
| 120 |
+
15.0
|
| 121 |
+
],
|
| 122 |
+
"warp_twist_ratio_range": [
|
| 123 |
+
0.24,
|
| 124 |
+
0.48
|
| 125 |
+
],
|
| 126 |
+
"warp_points": [
|
| 127 |
+
{
|
| 128 |
+
"center_x": 547,
|
| 129 |
+
"center_y": 390,
|
| 130 |
+
"radius_px": 32.1953,
|
| 131 |
+
"amplitude_px": 9.3055,
|
| 132 |
+
"direction_deg": 222.0105,
|
| 133 |
+
"twist_ratio": 0.2501
|
| 134 |
+
}
|
| 135 |
+
],
|
| 136 |
+
"warp_center_source": "foreground_mask",
|
| 137 |
+
"warp_local_patch_only": true,
|
| 138 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 139 |
+
},
|
| 140 |
+
"erosion_params": {
|
| 141 |
+
"operations": [
|
| 142 |
+
"foreground_ink_erosion",
|
| 143 |
+
"small_optional_blur",
|
| 144 |
+
"small_optional_noise"
|
| 145 |
+
],
|
| 146 |
+
"kernel_size": 2,
|
| 147 |
+
"kernel_shape": "rect",
|
| 148 |
+
"iterations": 1,
|
| 149 |
+
"strength": 0.8022,
|
| 150 |
+
"post_blur_sigma": 0.3999,
|
| 151 |
+
"post_noise_sigma": 0.558
|
| 152 |
+
},
|
| 153 |
+
"blur_params": {
|
| 154 |
+
"operations": [
|
| 155 |
+
"contrast_brightness",
|
| 156 |
+
"gaussian_blur",
|
| 157 |
+
"optional_motion_blur",
|
| 158 |
+
"gaussian_noise",
|
| 159 |
+
"salt_pepper",
|
| 160 |
+
"jpeg_roundtrip"
|
| 161 |
+
],
|
| 162 |
+
"contrast": 0.972,
|
| 163 |
+
"brightness": 6.8435,
|
| 164 |
+
"gaussian_blur_sigma": 0.1831,
|
| 165 |
+
"motion_applied": false,
|
| 166 |
+
"noise_sigma": 4.0601,
|
| 167 |
+
"salt_pepper_amount": 0.001486,
|
| 168 |
+
"jpeg_quality": 55
|
| 169 |
+
}
|
| 170 |
+
},
|
| 171 |
+
"diff_metrics": {
|
| 172 |
+
"mean_absdiff": 9.0546,
|
| 173 |
+
"p95_absdiff": 54.0,
|
| 174 |
+
"changed_pixel_ratio_gt8": 0.181892
|
| 175 |
+
}
|
| 176 |
+
}
|
dataset-augment/en_17/en_17-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/en_18/augment_meta.json
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "en_18",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 16294388975992007193,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/en_18/01/en_18-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/en_18/en_18-01_augmented.png",
|
| 10 |
+
"source_relative": "en_18/01/en_18-01.png",
|
| 11 |
+
"output_relative": "en_18/en_18-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 864,
|
| 14 |
+
"height": 1232
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 864,
|
| 18 |
+
"height": 1232
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 864,
|
| 33 |
+
"height": 1232
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 864,
|
| 37 |
+
"height": 1232
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 864,
|
| 41 |
+
"height": 1232
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 3108.7493,
|
| 45 |
+
"blur_score_cv_denoised": 928.0943,
|
| 46 |
+
"foreground_ratio": 0.395109,
|
| 47 |
+
"mean_gray": 211.5274,
|
| 48 |
+
"std_gray": 65.389
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 2637.4762,
|
| 52 |
+
"blur_score_cv_denoised": 603.9018,
|
| 53 |
+
"foreground_ratio": 0.414333,
|
| 54 |
+
"mean_gray": 213.4984,
|
| 55 |
+
"std_gray": 63.4679
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": -471.2731,
|
| 59 |
+
"blur_score_cv_denoised": -324.1925,
|
| 60 |
+
"foreground_ratio": 0.0192,
|
| 61 |
+
"mean_gray": 1.971,
|
| 62 |
+
"std_gray": -1.9211
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 3,
|
| 78 |
+
"kernel_shape": "rect",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 1,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 509,
|
| 96 |
+
"center_y": 598,
|
| 97 |
+
"radius_px": 32.4963,
|
| 98 |
+
"amplitude_px": 13.2464,
|
| 99 |
+
"direction_deg": 189.9336,
|
| 100 |
+
"twist_ratio": 0.2416
|
| 101 |
+
}
|
| 102 |
+
],
|
| 103 |
+
"warp_center_source": "foreground_mask",
|
| 104 |
+
"warp_local_patch_only": true,
|
| 105 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 106 |
+
"iterations": 1,
|
| 107 |
+
"strength": 0.3952,
|
| 108 |
+
"post_blur_sigma": 0.1488,
|
| 109 |
+
"post_noise_sigma": 1.5002
|
| 110 |
+
},
|
| 111 |
+
"bend_params": {
|
| 112 |
+
"warp_mode": "local_bend_points",
|
| 113 |
+
"warp_point_count": 1,
|
| 114 |
+
"warp_radius_range_px": [
|
| 115 |
+
12.0,
|
| 116 |
+
36.0
|
| 117 |
+
],
|
| 118 |
+
"warp_amplitude_range_px": [
|
| 119 |
+
8.0,
|
| 120 |
+
15.0
|
| 121 |
+
],
|
| 122 |
+
"warp_twist_ratio_range": [
|
| 123 |
+
0.24,
|
| 124 |
+
0.48
|
| 125 |
+
],
|
| 126 |
+
"warp_points": [
|
| 127 |
+
{
|
| 128 |
+
"center_x": 509,
|
| 129 |
+
"center_y": 598,
|
| 130 |
+
"radius_px": 32.4963,
|
| 131 |
+
"amplitude_px": 13.2464,
|
| 132 |
+
"direction_deg": 189.9336,
|
| 133 |
+
"twist_ratio": 0.2416
|
| 134 |
+
}
|
| 135 |
+
],
|
| 136 |
+
"warp_center_source": "foreground_mask",
|
| 137 |
+
"warp_local_patch_only": true,
|
| 138 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 139 |
+
},
|
| 140 |
+
"erosion_params": {
|
| 141 |
+
"operations": [
|
| 142 |
+
"foreground_ink_erosion",
|
| 143 |
+
"small_optional_blur",
|
| 144 |
+
"small_optional_noise"
|
| 145 |
+
],
|
| 146 |
+
"kernel_size": 2,
|
| 147 |
+
"kernel_shape": "cross",
|
| 148 |
+
"iterations": 1,
|
| 149 |
+
"strength": 0.7858,
|
| 150 |
+
"post_blur_sigma": 0.1118,
|
| 151 |
+
"post_noise_sigma": 1.525
|
| 152 |
+
},
|
| 153 |
+
"blur_params": {
|
| 154 |
+
"operations": [
|
| 155 |
+
"contrast_brightness",
|
| 156 |
+
"gaussian_blur",
|
| 157 |
+
"optional_motion_blur",
|
| 158 |
+
"gaussian_noise",
|
| 159 |
+
"salt_pepper",
|
| 160 |
+
"jpeg_roundtrip"
|
| 161 |
+
],
|
| 162 |
+
"contrast": 1.0519,
|
| 163 |
+
"brightness": -0.7362,
|
| 164 |
+
"gaussian_blur_sigma": 0.2358,
|
| 165 |
+
"motion_applied": false,
|
| 166 |
+
"noise_sigma": 4.8091,
|
| 167 |
+
"salt_pepper_amount": 0.002122,
|
| 168 |
+
"jpeg_quality": 56
|
| 169 |
+
}
|
| 170 |
+
},
|
| 171 |
+
"diff_metrics": {
|
| 172 |
+
"mean_absdiff": 12.5099,
|
| 173 |
+
"p95_absdiff": 50.0,
|
| 174 |
+
"changed_pixel_ratio_gt8": 0.314227
|
| 175 |
+
}
|
| 176 |
+
}
|
dataset-augment/en_18/en_18-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/en_19/augment_meta.json
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "en_19",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 16044301361829478000,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/en_19/01/en_19-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/en_19/en_19-01_augmented.png",
|
| 10 |
+
"source_relative": "en_19/01/en_19-01.png",
|
| 11 |
+
"output_relative": "en_19/en_19-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 1232,
|
| 14 |
+
"height": 864
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 1232,
|
| 18 |
+
"height": 864
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 1232,
|
| 33 |
+
"height": 864
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 1232,
|
| 37 |
+
"height": 864
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 1232,
|
| 41 |
+
"height": 864
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 2820.6897,
|
| 45 |
+
"blur_score_cv_denoised": 651.8951,
|
| 46 |
+
"foreground_ratio": 0.233068,
|
| 47 |
+
"mean_gray": 226.2861,
|
| 48 |
+
"std_gray": 50.9014
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 2155.9557,
|
| 52 |
+
"blur_score_cv_denoised": 341.5394,
|
| 53 |
+
"foreground_ratio": 0.278444,
|
| 54 |
+
"mean_gray": 202.4214,
|
| 55 |
+
"std_gray": 50.3104
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": -664.734,
|
| 59 |
+
"blur_score_cv_denoised": -310.3557,
|
| 60 |
+
"foreground_ratio": 0.0454,
|
| 61 |
+
"mean_gray": -23.8647,
|
| 62 |
+
"std_gray": -0.591
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 3,
|
| 78 |
+
"kernel_shape": "rect",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 1,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 1012,
|
| 96 |
+
"center_y": 605,
|
| 97 |
+
"radius_px": 30.1638,
|
| 98 |
+
"amplitude_px": 8.7407,
|
| 99 |
+
"direction_deg": 260.7465,
|
| 100 |
+
"twist_ratio": 0.3432
|
| 101 |
+
}
|
| 102 |
+
],
|
| 103 |
+
"warp_center_source": "foreground_mask",
|
| 104 |
+
"warp_local_patch_only": true,
|
| 105 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 106 |
+
"iterations": 1,
|
| 107 |
+
"strength": 0.6725,
|
| 108 |
+
"post_blur_sigma": 0.3687,
|
| 109 |
+
"post_noise_sigma": 0.9362
|
| 110 |
+
},
|
| 111 |
+
"bend_params": {
|
| 112 |
+
"warp_mode": "local_bend_points",
|
| 113 |
+
"warp_point_count": 1,
|
| 114 |
+
"warp_radius_range_px": [
|
| 115 |
+
12.0,
|
| 116 |
+
36.0
|
| 117 |
+
],
|
| 118 |
+
"warp_amplitude_range_px": [
|
| 119 |
+
8.0,
|
| 120 |
+
15.0
|
| 121 |
+
],
|
| 122 |
+
"warp_twist_ratio_range": [
|
| 123 |
+
0.24,
|
| 124 |
+
0.48
|
| 125 |
+
],
|
| 126 |
+
"warp_points": [
|
| 127 |
+
{
|
| 128 |
+
"center_x": 1012,
|
| 129 |
+
"center_y": 605,
|
| 130 |
+
"radius_px": 30.1638,
|
| 131 |
+
"amplitude_px": 8.7407,
|
| 132 |
+
"direction_deg": 260.7465,
|
| 133 |
+
"twist_ratio": 0.3432
|
| 134 |
+
}
|
| 135 |
+
],
|
| 136 |
+
"warp_center_source": "foreground_mask",
|
| 137 |
+
"warp_local_patch_only": true,
|
| 138 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 139 |
+
},
|
| 140 |
+
"erosion_params": {
|
| 141 |
+
"operations": [
|
| 142 |
+
"foreground_ink_erosion",
|
| 143 |
+
"small_optional_blur",
|
| 144 |
+
"small_optional_noise"
|
| 145 |
+
],
|
| 146 |
+
"kernel_size": 2,
|
| 147 |
+
"kernel_shape": "rect",
|
| 148 |
+
"iterations": 1,
|
| 149 |
+
"strength": 0.9766,
|
| 150 |
+
"post_blur_sigma": 0.2196,
|
| 151 |
+
"post_noise_sigma": 1.4313
|
| 152 |
+
},
|
| 153 |
+
"blur_params": {
|
| 154 |
+
"operations": [
|
| 155 |
+
"contrast_brightness",
|
| 156 |
+
"gaussian_blur",
|
| 157 |
+
"optional_motion_blur",
|
| 158 |
+
"gaussian_noise",
|
| 159 |
+
"salt_pepper",
|
| 160 |
+
"jpeg_roundtrip"
|
| 161 |
+
],
|
| 162 |
+
"contrast": 0.9294,
|
| 163 |
+
"brightness": -1.6868,
|
| 164 |
+
"gaussian_blur_sigma": 0.2726,
|
| 165 |
+
"motion_applied": false,
|
| 166 |
+
"noise_sigma": 7.8868,
|
| 167 |
+
"salt_pepper_amount": 0.001863,
|
| 168 |
+
"jpeg_quality": 71
|
| 169 |
+
}
|
| 170 |
+
},
|
| 171 |
+
"diff_metrics": {
|
| 172 |
+
"mean_absdiff": 26.2566,
|
| 173 |
+
"p95_absdiff": 75.0,
|
| 174 |
+
"changed_pixel_ratio_gt8": 0.953531
|
| 175 |
+
}
|
| 176 |
+
}
|
dataset-augment/en_19/en_19-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/en_2/augment_meta.json
ADDED
|
@@ -0,0 +1,192 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "en_2",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 12419973808037910078,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/en_2/01/en_2-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/en_2/en_2-01_augmented.png",
|
| 10 |
+
"source_relative": "en_2/01/en_2-01.png",
|
| 11 |
+
"output_relative": "en_2/en_2-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 864,
|
| 14 |
+
"height": 1232
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 864,
|
| 18 |
+
"height": 1232
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 864,
|
| 33 |
+
"height": 1232
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 864,
|
| 37 |
+
"height": 1232
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 864,
|
| 41 |
+
"height": 1232
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 1924.2639,
|
| 45 |
+
"blur_score_cv_denoised": 486.9662,
|
| 46 |
+
"foreground_ratio": 0.188109,
|
| 47 |
+
"mean_gray": 223.1061,
|
| 48 |
+
"std_gray": 45.5903
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 1418.1712,
|
| 52 |
+
"blur_score_cv_denoised": 235.8241,
|
| 53 |
+
"foreground_ratio": 0.214987,
|
| 54 |
+
"mean_gray": 210.9767,
|
| 55 |
+
"std_gray": 40.9314
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": -506.0927,
|
| 59 |
+
"blur_score_cv_denoised": -251.1421,
|
| 60 |
+
"foreground_ratio": 0.0269,
|
| 61 |
+
"mean_gray": -12.1294,
|
| 62 |
+
"std_gray": -4.6589
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 3,
|
| 78 |
+
"kernel_shape": "rect",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 2,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 745,
|
| 96 |
+
"center_y": 260,
|
| 97 |
+
"radius_px": 25.1063,
|
| 98 |
+
"amplitude_px": 12.6649,
|
| 99 |
+
"direction_deg": 281.2383,
|
| 100 |
+
"twist_ratio": 0.3785
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"center_x": 786,
|
| 104 |
+
"center_y": 544,
|
| 105 |
+
"radius_px": 19.2024,
|
| 106 |
+
"amplitude_px": 8.0817,
|
| 107 |
+
"direction_deg": 306.945,
|
| 108 |
+
"twist_ratio": 0.4428
|
| 109 |
+
}
|
| 110 |
+
],
|
| 111 |
+
"warp_center_source": "foreground_mask",
|
| 112 |
+
"warp_local_patch_only": true,
|
| 113 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 114 |
+
"iterations": 1,
|
| 115 |
+
"strength": 0.4407,
|
| 116 |
+
"post_blur_sigma": 0.2494,
|
| 117 |
+
"post_noise_sigma": 1.6128
|
| 118 |
+
},
|
| 119 |
+
"bend_params": {
|
| 120 |
+
"warp_mode": "local_bend_points",
|
| 121 |
+
"warp_point_count": 2,
|
| 122 |
+
"warp_radius_range_px": [
|
| 123 |
+
12.0,
|
| 124 |
+
36.0
|
| 125 |
+
],
|
| 126 |
+
"warp_amplitude_range_px": [
|
| 127 |
+
8.0,
|
| 128 |
+
15.0
|
| 129 |
+
],
|
| 130 |
+
"warp_twist_ratio_range": [
|
| 131 |
+
0.24,
|
| 132 |
+
0.48
|
| 133 |
+
],
|
| 134 |
+
"warp_points": [
|
| 135 |
+
{
|
| 136 |
+
"center_x": 745,
|
| 137 |
+
"center_y": 260,
|
| 138 |
+
"radius_px": 25.1063,
|
| 139 |
+
"amplitude_px": 12.6649,
|
| 140 |
+
"direction_deg": 281.2383,
|
| 141 |
+
"twist_ratio": 0.3785
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"center_x": 786,
|
| 145 |
+
"center_y": 544,
|
| 146 |
+
"radius_px": 19.2024,
|
| 147 |
+
"amplitude_px": 8.0817,
|
| 148 |
+
"direction_deg": 306.945,
|
| 149 |
+
"twist_ratio": 0.4428
|
| 150 |
+
}
|
| 151 |
+
],
|
| 152 |
+
"warp_center_source": "foreground_mask",
|
| 153 |
+
"warp_local_patch_only": true,
|
| 154 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 155 |
+
},
|
| 156 |
+
"erosion_params": {
|
| 157 |
+
"operations": [
|
| 158 |
+
"foreground_ink_erosion",
|
| 159 |
+
"small_optional_blur",
|
| 160 |
+
"small_optional_noise"
|
| 161 |
+
],
|
| 162 |
+
"kernel_size": 2,
|
| 163 |
+
"kernel_shape": "rect",
|
| 164 |
+
"iterations": 1,
|
| 165 |
+
"strength": 0.8958,
|
| 166 |
+
"post_blur_sigma": 0.0791,
|
| 167 |
+
"post_noise_sigma": 1.2756
|
| 168 |
+
},
|
| 169 |
+
"blur_params": {
|
| 170 |
+
"operations": [
|
| 171 |
+
"contrast_brightness",
|
| 172 |
+
"gaussian_blur",
|
| 173 |
+
"optional_motion_blur",
|
| 174 |
+
"gaussian_noise",
|
| 175 |
+
"salt_pepper",
|
| 176 |
+
"jpeg_roundtrip"
|
| 177 |
+
],
|
| 178 |
+
"contrast": 0.9441,
|
| 179 |
+
"brightness": 2.7153,
|
| 180 |
+
"gaussian_blur_sigma": 0.2486,
|
| 181 |
+
"motion_applied": false,
|
| 182 |
+
"noise_sigma": 2.8952,
|
| 183 |
+
"salt_pepper_amount": 0.001323,
|
| 184 |
+
"jpeg_quality": 67
|
| 185 |
+
}
|
| 186 |
+
},
|
| 187 |
+
"diff_metrics": {
|
| 188 |
+
"mean_absdiff": 16.3566,
|
| 189 |
+
"p95_absdiff": 50.0,
|
| 190 |
+
"changed_pixel_ratio_gt8": 0.905862
|
| 191 |
+
}
|
| 192 |
+
}
|
dataset-augment/en_2/en_2-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/en_3/augment_meta.json
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "en_3",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 6768793434914694897,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/en_3/01/en_3-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/en_3/en_3-01_augmented.png",
|
| 10 |
+
"source_relative": "en_3/01/en_3-01.png",
|
| 11 |
+
"output_relative": "en_3/en_3-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 864,
|
| 14 |
+
"height": 1232
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 864,
|
| 18 |
+
"height": 1232
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 864,
|
| 33 |
+
"height": 1232
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 864,
|
| 37 |
+
"height": 1232
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 864,
|
| 41 |
+
"height": 1232
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 4794.7504,
|
| 45 |
+
"blur_score_cv_denoised": 1127.5102,
|
| 46 |
+
"foreground_ratio": 0.283941,
|
| 47 |
+
"mean_gray": 224.5763,
|
| 48 |
+
"std_gray": 59.9316
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 2262.1125,
|
| 52 |
+
"blur_score_cv_denoised": 511.4256,
|
| 53 |
+
"foreground_ratio": 0.332981,
|
| 54 |
+
"mean_gray": 217.6833,
|
| 55 |
+
"std_gray": 52.5986
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": -2532.6379,
|
| 59 |
+
"blur_score_cv_denoised": -616.0846,
|
| 60 |
+
"foreground_ratio": 0.049,
|
| 61 |
+
"mean_gray": -6.893,
|
| 62 |
+
"std_gray": -7.333
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 3,
|
| 78 |
+
"kernel_shape": "rect",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 1,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 394,
|
| 96 |
+
"center_y": 155,
|
| 97 |
+
"radius_px": 19.4449,
|
| 98 |
+
"amplitude_px": 13.6627,
|
| 99 |
+
"direction_deg": 264.6203,
|
| 100 |
+
"twist_ratio": 0.4311
|
| 101 |
+
}
|
| 102 |
+
],
|
| 103 |
+
"warp_center_source": "foreground_mask",
|
| 104 |
+
"warp_local_patch_only": true,
|
| 105 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 106 |
+
"iterations": 1,
|
| 107 |
+
"strength": 0.3848,
|
| 108 |
+
"post_blur_sigma": 0.2191,
|
| 109 |
+
"post_noise_sigma": 1.3139
|
| 110 |
+
},
|
| 111 |
+
"bend_params": {
|
| 112 |
+
"warp_mode": "local_bend_points",
|
| 113 |
+
"warp_point_count": 1,
|
| 114 |
+
"warp_radius_range_px": [
|
| 115 |
+
12.0,
|
| 116 |
+
36.0
|
| 117 |
+
],
|
| 118 |
+
"warp_amplitude_range_px": [
|
| 119 |
+
8.0,
|
| 120 |
+
15.0
|
| 121 |
+
],
|
| 122 |
+
"warp_twist_ratio_range": [
|
| 123 |
+
0.24,
|
| 124 |
+
0.48
|
| 125 |
+
],
|
| 126 |
+
"warp_points": [
|
| 127 |
+
{
|
| 128 |
+
"center_x": 394,
|
| 129 |
+
"center_y": 155,
|
| 130 |
+
"radius_px": 19.4449,
|
| 131 |
+
"amplitude_px": 13.6627,
|
| 132 |
+
"direction_deg": 264.6203,
|
| 133 |
+
"twist_ratio": 0.4311
|
| 134 |
+
}
|
| 135 |
+
],
|
| 136 |
+
"warp_center_source": "foreground_mask",
|
| 137 |
+
"warp_local_patch_only": true,
|
| 138 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 139 |
+
},
|
| 140 |
+
"erosion_params": {
|
| 141 |
+
"operations": [
|
| 142 |
+
"foreground_ink_erosion",
|
| 143 |
+
"small_optional_blur",
|
| 144 |
+
"small_optional_noise"
|
| 145 |
+
],
|
| 146 |
+
"kernel_size": 2,
|
| 147 |
+
"kernel_shape": "cross",
|
| 148 |
+
"iterations": 1,
|
| 149 |
+
"strength": 0.9011,
|
| 150 |
+
"post_blur_sigma": 0.4192,
|
| 151 |
+
"post_noise_sigma": 0.9635
|
| 152 |
+
},
|
| 153 |
+
"blur_params": {
|
| 154 |
+
"operations": [
|
| 155 |
+
"contrast_brightness",
|
| 156 |
+
"gaussian_blur",
|
| 157 |
+
"optional_motion_blur",
|
| 158 |
+
"gaussian_noise",
|
| 159 |
+
"salt_pepper",
|
| 160 |
+
"jpeg_roundtrip"
|
| 161 |
+
],
|
| 162 |
+
"contrast": 0.9945,
|
| 163 |
+
"brightness": -3.5176,
|
| 164 |
+
"gaussian_blur_sigma": 0.3193,
|
| 165 |
+
"motion_applied": false,
|
| 166 |
+
"noise_sigma": 3.5034,
|
| 167 |
+
"salt_pepper_amount": 0.001256,
|
| 168 |
+
"jpeg_quality": 77
|
| 169 |
+
}
|
| 170 |
+
},
|
| 171 |
+
"diff_metrics": {
|
| 172 |
+
"mean_absdiff": 15.78,
|
| 173 |
+
"p95_absdiff": 65.0,
|
| 174 |
+
"changed_pixel_ratio_gt8": 0.372621
|
| 175 |
+
}
|
| 176 |
+
}
|
dataset-augment/en_3/en_3-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/en_4/augment_meta.json
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "en_4",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 6499191531948669784,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/en_4/01/en_4-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/en_4/en_4-01_augmented.png",
|
| 10 |
+
"source_relative": "en_4/01/en_4-01.png",
|
| 11 |
+
"output_relative": "en_4/en_4-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 864,
|
| 14 |
+
"height": 1232
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 864,
|
| 18 |
+
"height": 1232
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 864,
|
| 33 |
+
"height": 1232
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 864,
|
| 37 |
+
"height": 1232
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 864,
|
| 41 |
+
"height": 1232
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 3256.2959,
|
| 45 |
+
"blur_score_cv_denoised": 703.2368,
|
| 46 |
+
"foreground_ratio": 0.223073,
|
| 47 |
+
"mean_gray": 232.7248,
|
| 48 |
+
"std_gray": 50.7695
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 1741.1024,
|
| 52 |
+
"blur_score_cv_denoised": 406.5607,
|
| 53 |
+
"foreground_ratio": 0.26481,
|
| 54 |
+
"mean_gray": 228.4983,
|
| 55 |
+
"std_gray": 49.7497
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": -1515.1935,
|
| 59 |
+
"blur_score_cv_denoised": -296.6761,
|
| 60 |
+
"foreground_ratio": 0.0417,
|
| 61 |
+
"mean_gray": -4.2265,
|
| 62 |
+
"std_gray": -1.0198
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 3,
|
| 78 |
+
"kernel_shape": "rect",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 1,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 634,
|
| 96 |
+
"center_y": 1101,
|
| 97 |
+
"radius_px": 18.8663,
|
| 98 |
+
"amplitude_px": 11.4198,
|
| 99 |
+
"direction_deg": 246.775,
|
| 100 |
+
"twist_ratio": 0.4697
|
| 101 |
+
}
|
| 102 |
+
],
|
| 103 |
+
"warp_center_source": "foreground_mask",
|
| 104 |
+
"warp_local_patch_only": true,
|
| 105 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 106 |
+
"iterations": 1,
|
| 107 |
+
"strength": 0.5121,
|
| 108 |
+
"post_blur_sigma": 0.1788,
|
| 109 |
+
"post_noise_sigma": 0.8078
|
| 110 |
+
},
|
| 111 |
+
"bend_params": {
|
| 112 |
+
"warp_mode": "local_bend_points",
|
| 113 |
+
"warp_point_count": 1,
|
| 114 |
+
"warp_radius_range_px": [
|
| 115 |
+
12.0,
|
| 116 |
+
36.0
|
| 117 |
+
],
|
| 118 |
+
"warp_amplitude_range_px": [
|
| 119 |
+
8.0,
|
| 120 |
+
15.0
|
| 121 |
+
],
|
| 122 |
+
"warp_twist_ratio_range": [
|
| 123 |
+
0.24,
|
| 124 |
+
0.48
|
| 125 |
+
],
|
| 126 |
+
"warp_points": [
|
| 127 |
+
{
|
| 128 |
+
"center_x": 634,
|
| 129 |
+
"center_y": 1101,
|
| 130 |
+
"radius_px": 18.8663,
|
| 131 |
+
"amplitude_px": 11.4198,
|
| 132 |
+
"direction_deg": 246.775,
|
| 133 |
+
"twist_ratio": 0.4697
|
| 134 |
+
}
|
| 135 |
+
],
|
| 136 |
+
"warp_center_source": "foreground_mask",
|
| 137 |
+
"warp_local_patch_only": true,
|
| 138 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 139 |
+
},
|
| 140 |
+
"erosion_params": {
|
| 141 |
+
"operations": [
|
| 142 |
+
"foreground_ink_erosion",
|
| 143 |
+
"small_optional_blur",
|
| 144 |
+
"small_optional_noise"
|
| 145 |
+
],
|
| 146 |
+
"kernel_size": 2,
|
| 147 |
+
"kernel_shape": "rect",
|
| 148 |
+
"iterations": 1,
|
| 149 |
+
"strength": 0.9135,
|
| 150 |
+
"post_blur_sigma": 0.0525,
|
| 151 |
+
"post_noise_sigma": 1.8339
|
| 152 |
+
},
|
| 153 |
+
"blur_params": {
|
| 154 |
+
"operations": [
|
| 155 |
+
"contrast_brightness",
|
| 156 |
+
"gaussian_blur",
|
| 157 |
+
"optional_motion_blur",
|
| 158 |
+
"gaussian_noise",
|
| 159 |
+
"salt_pepper",
|
| 160 |
+
"jpeg_roundtrip"
|
| 161 |
+
],
|
| 162 |
+
"contrast": 1.0115,
|
| 163 |
+
"brightness": -1.7899,
|
| 164 |
+
"gaussian_blur_sigma": 0.2221,
|
| 165 |
+
"motion_applied": false,
|
| 166 |
+
"noise_sigma": 6.764,
|
| 167 |
+
"salt_pepper_amount": 0.00072,
|
| 168 |
+
"jpeg_quality": 87
|
| 169 |
+
}
|
| 170 |
+
},
|
| 171 |
+
"diff_metrics": {
|
| 172 |
+
"mean_absdiff": 10.6874,
|
| 173 |
+
"p95_absdiff": 58.0,
|
| 174 |
+
"changed_pixel_ratio_gt8": 0.218978
|
| 175 |
+
}
|
| 176 |
+
}
|
dataset-augment/en_4/en_4-01_augmented.png
ADDED
|
Git LFS Details
|
dataset-augment/en_5/augment_meta.json
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "created",
|
| 3 |
+
"task": "one_augmented_image_per_stylized_class",
|
| 4 |
+
"variant": "combined",
|
| 5 |
+
"sample_name": "en_5",
|
| 6 |
+
"source_sample_id": "01",
|
| 7 |
+
"seed": 2649700849896747978,
|
| 8 |
+
"source_image": "/home/jiangtao/OCR/agents/stylized_output/en_5/01/en_5-01.png",
|
| 9 |
+
"output_image": "/home/jiangtao/OCR/agents/dataset-augment/en_5/en_5-01_augmented.png",
|
| 10 |
+
"source_relative": "en_5/01/en_5-01.png",
|
| 11 |
+
"output_relative": "en_5/en_5-01_augmented.png",
|
| 12 |
+
"source_image_size": {
|
| 13 |
+
"width": 864,
|
| 14 |
+
"height": 1232
|
| 15 |
+
},
|
| 16 |
+
"output_image_size": {
|
| 17 |
+
"width": 864,
|
| 18 |
+
"height": 1232
|
| 19 |
+
},
|
| 20 |
+
"allowed_output_sizes": [
|
| 21 |
+
{
|
| 22 |
+
"width": 1232,
|
| 23 |
+
"height": 864
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"width": 864,
|
| 27 |
+
"height": 1232
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"resolution_enforced": false,
|
| 31 |
+
"size_before_enforce": {
|
| 32 |
+
"width": 864,
|
| 33 |
+
"height": 1232
|
| 34 |
+
},
|
| 35 |
+
"size_after_enforce": {
|
| 36 |
+
"width": 864,
|
| 37 |
+
"height": 1232
|
| 38 |
+
},
|
| 39 |
+
"target_size": {
|
| 40 |
+
"width": 864,
|
| 41 |
+
"height": 1232
|
| 42 |
+
},
|
| 43 |
+
"metrics_before": {
|
| 44 |
+
"blur_score_cv": 4272.6436,
|
| 45 |
+
"blur_score_cv_denoised": 1027.1414,
|
| 46 |
+
"foreground_ratio": 0.367647,
|
| 47 |
+
"mean_gray": 208.9678,
|
| 48 |
+
"std_gray": 71.5315
|
| 49 |
+
},
|
| 50 |
+
"metrics_after": {
|
| 51 |
+
"blur_score_cv": 1465.4013,
|
| 52 |
+
"blur_score_cv_denoised": 352.258,
|
| 53 |
+
"foreground_ratio": 0.387663,
|
| 54 |
+
"mean_gray": 200.8272,
|
| 55 |
+
"std_gray": 55.3975
|
| 56 |
+
},
|
| 57 |
+
"metrics_delta": {
|
| 58 |
+
"blur_score_cv": -2807.2423,
|
| 59 |
+
"blur_score_cv_denoised": -674.8834,
|
| 60 |
+
"foreground_ratio": 0.02,
|
| 61 |
+
"mean_gray": -8.1406,
|
| 62 |
+
"std_gray": -16.134
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"operations": [
|
| 66 |
+
"combined_dilate_local_bend",
|
| 67 |
+
"combined_erode",
|
| 68 |
+
"combined_blur_noise"
|
| 69 |
+
],
|
| 70 |
+
"dilate_params": {
|
| 71 |
+
"operations": [
|
| 72 |
+
"foreground_ink_dilation",
|
| 73 |
+
"local_warp",
|
| 74 |
+
"small_optional_blur",
|
| 75 |
+
"small_optional_noise"
|
| 76 |
+
],
|
| 77 |
+
"kernel_size": 3,
|
| 78 |
+
"kernel_shape": "rect",
|
| 79 |
+
"warp_mode": "local_bend_points",
|
| 80 |
+
"warp_point_count": 1,
|
| 81 |
+
"warp_radius_range_px": [
|
| 82 |
+
12.0,
|
| 83 |
+
36.0
|
| 84 |
+
],
|
| 85 |
+
"warp_amplitude_range_px": [
|
| 86 |
+
8.0,
|
| 87 |
+
15.0
|
| 88 |
+
],
|
| 89 |
+
"warp_twist_ratio_range": [
|
| 90 |
+
0.24,
|
| 91 |
+
0.48
|
| 92 |
+
],
|
| 93 |
+
"warp_points": [
|
| 94 |
+
{
|
| 95 |
+
"center_x": 106,
|
| 96 |
+
"center_y": 235,
|
| 97 |
+
"radius_px": 19.6875,
|
| 98 |
+
"amplitude_px": 8.8448,
|
| 99 |
+
"direction_deg": 181.509,
|
| 100 |
+
"twist_ratio": 0.2607
|
| 101 |
+
}
|
| 102 |
+
],
|
| 103 |
+
"warp_center_source": "foreground_mask",
|
| 104 |
+
"warp_local_patch_only": true,
|
| 105 |
+
"warp_blend_mode": "hard_patch_feather_edge",
|
| 106 |
+
"iterations": 1,
|
| 107 |
+
"strength": 0.5798,
|
| 108 |
+
"post_blur_sigma": 0.3274,
|
| 109 |
+
"post_noise_sigma": 0.883
|
| 110 |
+
},
|
| 111 |
+
"bend_params": {
|
| 112 |
+
"warp_mode": "local_bend_points",
|
| 113 |
+
"warp_point_count": 1,
|
| 114 |
+
"warp_radius_range_px": [
|
| 115 |
+
12.0,
|
| 116 |
+
36.0
|
| 117 |
+
],
|
| 118 |
+
"warp_amplitude_range_px": [
|
| 119 |
+
8.0,
|
| 120 |
+
15.0
|
| 121 |
+
],
|
| 122 |
+
"warp_twist_ratio_range": [
|
| 123 |
+
0.24,
|
| 124 |
+
0.48
|
| 125 |
+
],
|
| 126 |
+
"warp_points": [
|
| 127 |
+
{
|
| 128 |
+
"center_x": 106,
|
| 129 |
+
"center_y": 235,
|
| 130 |
+
"radius_px": 19.6875,
|
| 131 |
+
"amplitude_px": 8.8448,
|
| 132 |
+
"direction_deg": 181.509,
|
| 133 |
+
"twist_ratio": 0.2607
|
| 134 |
+
}
|
| 135 |
+
],
|
| 136 |
+
"warp_center_source": "foreground_mask",
|
| 137 |
+
"warp_local_patch_only": true,
|
| 138 |
+
"warp_blend_mode": "hard_patch_feather_edge"
|
| 139 |
+
},
|
| 140 |
+
"erosion_params": {
|
| 141 |
+
"operations": [
|
| 142 |
+
"foreground_ink_erosion",
|
| 143 |
+
"small_optional_blur",
|
| 144 |
+
"small_optional_noise"
|
| 145 |
+
],
|
| 146 |
+
"kernel_size": 2,
|
| 147 |
+
"kernel_shape": "rect",
|
| 148 |
+
"iterations": 2,
|
| 149 |
+
"strength": 0.9464,
|
| 150 |
+
"post_blur_sigma": 0.4441,
|
| 151 |
+
"post_noise_sigma": 0.6039
|
| 152 |
+
},
|
| 153 |
+
"blur_params": {
|
| 154 |
+
"operations": [
|
| 155 |
+
"contrast_brightness",
|
| 156 |
+
"gaussian_blur",
|
| 157 |
+
"optional_motion_blur",
|
| 158 |
+
"gaussian_noise",
|
| 159 |
+
"salt_pepper",
|
| 160 |
+
"jpeg_roundtrip"
|
| 161 |
+
],
|
| 162 |
+
"contrast": 0.9505,
|
| 163 |
+
"brightness": -1.0732,
|
| 164 |
+
"gaussian_blur_sigma": 0.1347,
|
| 165 |
+
"motion_applied": false,
|
| 166 |
+
"noise_sigma": 2.2563,
|
| 167 |
+
"salt_pepper_amount": 0.000729,
|
| 168 |
+
"jpeg_quality": 76
|
| 169 |
+
}
|
| 170 |
+
},
|
| 171 |
+
"diff_metrics": {
|
| 172 |
+
"mean_absdiff": 29.6012,
|
| 173 |
+
"p95_absdiff": 103.0,
|
| 174 |
+
"changed_pixel_ratio_gt8": 0.917051
|
| 175 |
+
}
|
| 176 |
+
}
|