diff --git "a/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/DallE.png" "b/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/DallE.png" deleted file mode 100644 index 47e7867a6861b8fc300ae46b8a96ee93cfa3db1e..0000000000000000000000000000000000000000 Binary files "a/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/DallE.png" and /dev/null differ diff --git "a/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/clothes.jpg" "b/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/clothes.jpg" deleted file mode 100644 index 099b93f506ea6c98c3a47ee28fc8f9796bf16613..0000000000000000000000000000000000000000 Binary files "a/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/clothes.jpg" and /dev/null differ diff --git "a/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/data.json" "b/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/data.json" deleted file mode 100644 index 7b6b344d50449ad49747f045248ed185d5c240e6..0000000000000000000000000000000000000000 --- "a/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/data.json" +++ /dev/null @@ -1,31 +0,0 @@ -{ - "original_image": { - "file_path": "C:\\SDP\\automated_image_processing\\back-end\\source_code\\image_data\\ssfshop\\beanpole\\남녀공용 베이직 피케 티셔츠 - 블랙\\original.jpg", - "url": "https://img.ssfshop.com/cmd/LB_750x1000/src/https://img.ssfshop.com/goods/BPBR/23/02/15/GM0023021581678_0_ORGINL_20230327140102442.jpg", - "width": 750, - "height": 1000 - }, - "dalle_image": { - "file_path": "C:\\SDP\\automated_image_processing\\back-end\\source_code\\temp_alpha.png", - "dalle_image_width": 1794, - "dalle_image_height": 1397, - "x_offset": 522, - "y_offset": 397 - }, - "face": { - "left_line_pixel": 787, - "right_line_pixel": 912, - "top_line_pixel": 474, - "bottom_line_pixel": 641 - }, - "clothes": { - "type_of_clothes": "top", - "left_line_pixel": 670, - "right_line_pixel": 1131, - "top_line_pixel": 633, - "bottom_line_pixel": 1122 - }, - "no_background": { - "file_path": "C:\\SDP\\automated_image_processing\\back-end\\source_code\\image_data\\ssfshop\\beanpole\\남녀공용 베이직 피케 티셔츠 - 블랙\\no_background.png" - } -} \ No newline at end of file diff --git "a/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/face.jpg" "b/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/face.jpg" deleted file mode 100644 index 258ee69770ab8646005db2c4f88494f993ddbe50..0000000000000000000000000000000000000000 Binary files "a/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/face.jpg" and /dev/null differ diff --git "a/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/feathered.png" "b/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/feathered.png" deleted file mode 100644 index bce1ff1f59801ce314fd0588778506fe950aae6b..0000000000000000000000000000000000000000 Binary files "a/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/feathered.png" and /dev/null differ diff --git "a/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/mask.png" "b/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/mask.png" deleted file mode 100644 index 9b6cf6348eef906bc431fbaf39e3de5f6fdff0a5..0000000000000000000000000000000000000000 Binary files "a/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/mask.png" and /dev/null differ diff --git "a/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/no_background.png" "b/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/no_background.png" deleted file mode 100644 index 189e3c420db125368834d4958736255277e3be47..0000000000000000000000000000000000000000 Binary files "a/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/no_background.png" and /dev/null differ diff --git "a/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/original.jpg" "b/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/original.jpg" deleted file mode 100644 index e02410b14d9f31887f9ca3fcc70376e8e08ad230..0000000000000000000000000000000000000000 Binary files "a/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/original.jpg" and /dev/null differ diff --git "a/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/padded_image.png" "b/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/padded_image.png" deleted file mode 100644 index 19b5b7fbebefc83a9b24d00d67b308c844952a50..0000000000000000000000000000000000000000 Binary files "a/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/padded_image.png" and /dev/null differ diff --git "a/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/result.jpg" "b/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/result.jpg" deleted file mode 100644 index 32bce06f6ababdc29c5c8b72fa3c3a8e7a9aa74b..0000000000000000000000000000000000000000 Binary files "a/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/result.jpg" and /dev/null differ diff --git "a/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/result_box.jpg" "b/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/result_box.jpg" deleted file mode 100644 index 59157948fe3fbae8541bdee8bb963a0ead056670..0000000000000000000000000000000000000000 Binary files "a/back-end/source_code/image_data/ssfshop/beanpole/\353\202\250\353\205\200\352\263\265\354\232\251 \353\262\240\354\235\264\354\247\201 \355\224\274\354\274\200 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\236\231/result_box.jpg" and /dev/null differ diff --git "a/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/DallE.png" "b/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/DallE.png" deleted file mode 100644 index 9a6b5cb41c1e33b9fc350f36252244fd43fb4730..0000000000000000000000000000000000000000 Binary files "a/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/DallE.png" and /dev/null differ diff --git "a/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/clothes.jpg" "b/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/clothes.jpg" deleted file mode 100644 index 990c2a2e80bd94417e92a227c8ff559227970f03..0000000000000000000000000000000000000000 Binary files "a/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/clothes.jpg" and /dev/null differ diff --git "a/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/data.json" "b/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/data.json" deleted file mode 100644 index f8e7d3cb1cae1c74dba25c8a7c6879fd67dc6c74..0000000000000000000000000000000000000000 --- "a/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/data.json" +++ /dev/null @@ -1 +0,0 @@ -{"original_image": {"file_path": "C:\\SDP\\automated_image_processing\\back-end\\source_code\\image_data\\ssfshop\\beanpole\\바서티 볼드 스트라이프 럭비 티셔츠 - 블루\\original.jpg", "url": "https://img.ssfshop.com/cmd/LB_750x1000/src/https://img.ssfshop.com/goods/BPBR/23/01/19/GM0023011962271_0_ORGINL_20230214162711402.jpg", "width": 750, "height": 1000}, "dalle_image": {"file_path": "C:\\SDP\\automated_image_processing\\back-end\\source_code\\temp_alpha.png", "dalle_image_width": 1786, "dalle_image_height": 1393, "x_offset": 518, "y_offset": 393}, "face": {"left_line_pixel": 953, "right_line_pixel": 1098, "top_line_pixel": 478, "bottom_line_pixel": 671}, "clothes": {"type_of_clothes": "top", "left_line_pixel": 775, "right_line_pixel": 1095, "top_line_pixel": 1270, "bottom_line_pixel": 1382}, "no_background": {"file_path": "C:\\SDP\\automated_image_processing\\back-end\\source_code\\image_data\\ssfshop\\beanpole\\바서티 볼드 스트라이프 럭비 티셔츠 - 블루\\no_background.png"}} \ No newline at end of file diff --git "a/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/face.jpg" "b/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/face.jpg" deleted file mode 100644 index ae4b21d0febacd51752979c2da8e34176b354772..0000000000000000000000000000000000000000 Binary files "a/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/face.jpg" and /dev/null differ diff --git "a/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/feathered.png" "b/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/feathered.png" deleted file mode 100644 index 68f0a00734a94c4561f568a359eaf44df8f8a8da..0000000000000000000000000000000000000000 Binary files "a/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/feathered.png" and /dev/null differ diff --git "a/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/mask.png" "b/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/mask.png" deleted file mode 100644 index 63214121eeb7b9d620b988f8a795f0e3b9afd2fe..0000000000000000000000000000000000000000 Binary files "a/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/mask.png" and /dev/null differ diff --git "a/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/no_background.png" "b/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/no_background.png" deleted file mode 100644 index b2372a06fae401df41f01820961c98afbfd0d60c..0000000000000000000000000000000000000000 Binary files "a/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/no_background.png" and /dev/null differ diff --git "a/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/original.jpg" "b/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/original.jpg" deleted file mode 100644 index e4f5b89daaf78e33e672bebf5a914ce1c14b581b..0000000000000000000000000000000000000000 Binary files "a/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/original.jpg" and /dev/null differ diff --git "a/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/padded_image.png" "b/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/padded_image.png" deleted file mode 100644 index d814d7a2ce4a80b31bf2d306a02145b418ea4fd8..0000000000000000000000000000000000000000 Binary files "a/back-end/source_code/image_data/ssfshop/beanpole/\353\260\224\354\204\234\355\213\260 \353\263\274\353\223\234 \354\212\244\355\212\270\353\235\274\354\235\264\355\224\204 \353\237\255\353\271\204 \355\213\260\354\205\224\354\270\240 - \353\270\224\353\243\250/padded_image.png" and /dev/null differ diff --git a/back-end/source_code/123.jpg b/back-end/src/123.jpg similarity index 100% rename from back-end/source_code/123.jpg rename to back-end/src/123.jpg diff --git a/back-end/src/crop_image.py b/back-end/src/crop_image.py new file mode 100644 index 0000000000000000000000000000000000000000..4dbb60328a928e12440c5bfb5e60fa45a01b1f31 --- /dev/null +++ b/back-end/src/crop_image.py @@ -0,0 +1,73 @@ +import os +import json +import subprocess +def cropPanorama_noFace(json_data, name, ratio = 1): + image_path = json_data["dalle_image"]["file_path"].replace("\\\\", "/") + clothes_top = json_data["clothes"]["top_line_pixel"] + clothes_bottom = json_data["clothes"]["bottom_line_pixel"] + crop_height = (clothes_bottom - clothes_top) + crop_height = int(ratio * crop_height) + subprocess.run( + ["magick", + "convert", image_path, + "-crop", ("x" + str(crop_height) + "+" + str(0) + "+" + str(clothes_top)), + name] + ) + +def cropPanorama_withFace(json_data, name, ratio = 1, face_ratio = 1): + image_path = json_data["dalle_image"]["file_path"].replace("\\\\", "/") + + clothes_top = json_data["clothes"]["top_line_pixel"] + clothes_bottom = json_data["clothes"]["bottom_line_pixel"] + + face_top = json_data["face"]["top_line_pixel"] + + crop_height = (clothes_bottom - face_top) + crop_height = int(ratio * crop_height) + subprocess.run( + ["magick", + "convert", image_path, + "-crop", ("x" + str(crop_height) + "+" + str(0) + "+" + str(face_top)), + name] + ) + + +def compare_data(data, key1, value): + for item in data: + if key1 in item: + if item["url"] == value: + return True + +def search_json_files(folder_name): + json_list =[] + for root, dirs, files in os.walk(folder_name): + for file in files: + if file == "data.json": + file_path = os.path.join(root, file) + with open(file_path, encoding='utf-8') as json_file: + data = json.load(json_file) + # 여기에서 data에 대한 원하는 작업을 수행합니다. + json_list.append(data) # 예시로 데이터를 출력합니다. + return json_list + +json_list = search_json_files("back-end\\source_code\\image_data\\ssfshop\\beanpole") + +url = "https://img.ssfshop.com/cmd/LB_750x1000/src/https://img.ssfshop.com/goods/BPBR/23/05/31/GM0023053161909_0_THNAIL_ORGINL_20230602103740739.jpg" +for json_data in json_list: + original_image = json_data.get("original_image") + if original_image and original_image.get("url") == url: + break + +cropPanorama_noFace(json_data, "response_panorama_1.0.png") +cropPanorama_noFace(json_data, "response_panorama_1.5.png", 1.5) +cropPanorama_withFace(json_data, "response_panorama_withFace_1.0.png", face_ratio= 1) +cropPanorama_withFace(json_data, "response_panorama_withFace_1.15.png", face_ratio= 1.15) +cropPanorama_withFace(json_data, "response_panorama_withFace_1.3.png", face_ratio= 1.3) + + + + + + + + diff --git a/back-end/source_code/download.json b/back-end/src/download.json similarity index 100% rename from back-end/source_code/download.json rename to back-end/src/download.json diff --git a/back-end/source_code/magick.appimage b/back-end/src/magick.appimage old mode 100755 new mode 100644 similarity index 100% rename from back-end/source_code/magick.appimage rename to back-end/src/magick.appimage diff --git a/back-end/source_code/main.py b/back-end/src/main.py similarity index 100% rename from back-end/source_code/main.py rename to back-end/src/main.py diff --git a/back-end/src/mask.png b/back-end/src/mask.png new file mode 100644 index 0000000000000000000000000000000000000000..71649c7bff7598fab2542ecfff3056465810ac0e Binary files /dev/null and b/back-end/src/mask.png differ diff --git a/back-end/source_code/modules/database.py b/back-end/src/modules/database.py similarity index 100% rename from back-end/source_code/modules/database.py rename to back-end/src/modules/database.py diff --git a/back-end/source_code/modules/fileManager.py b/back-end/src/modules/fileManager.py similarity index 100% rename from back-end/source_code/modules/fileManager.py rename to back-end/src/modules/fileManager.py diff --git a/back-end/source_code/modules/image_processor.py b/back-end/src/modules/image_processor.py similarity index 100% rename from back-end/source_code/modules/image_processor.py rename to back-end/src/modules/image_processor.py diff --git a/back-end/source_code/modules/object_detector.py b/back-end/src/modules/object_detector.py similarity index 100% rename from back-end/source_code/modules/object_detector.py rename to back-end/src/modules/object_detector.py diff --git a/back-end/source_code/modules/photoshop.py b/back-end/src/modules/photoshop.py similarity index 100% rename from back-end/source_code/modules/photoshop.py rename to back-end/src/modules/photoshop.py diff --git a/back-end/source_code/modules/remove_background.jsx b/back-end/src/modules/remove_background.jsx similarity index 100% rename from back-end/source_code/modules/remove_background.jsx rename to back-end/src/modules/remove_background.jsx diff --git a/back-end/source_code/modules/system.py b/back-end/src/modules/system.py similarity index 100% rename from back-end/source_code/modules/system.py rename to back-end/src/modules/system.py diff --git a/back-end/source_code/remove_background.jsx b/back-end/src/remove_background.jsx similarity index 100% rename from back-end/source_code/remove_background.jsx rename to back-end/src/remove_background.jsx diff --git a/back-end/source_code/requirements.txt b/back-end/src/requirements.txt similarity index 100% rename from back-end/source_code/requirements.txt rename to back-end/src/requirements.txt diff --git a/back-end/src/temp.png b/back-end/src/temp.png new file mode 100644 index 0000000000000000000000000000000000000000..dc644d9d385a84051c2b1919c904a04845178198 Binary files /dev/null and b/back-end/src/temp.png differ diff --git a/back-end/src/temp_alpha.png b/back-end/src/temp_alpha.png new file mode 100644 index 0000000000000000000000000000000000000000..5dd4cb28d19e5328ce3069d617a3fc94f0424e69 Binary files /dev/null and b/back-end/src/temp_alpha.png differ diff --git a/back-end/src/temp_fearthered.png b/back-end/src/temp_fearthered.png new file mode 100644 index 0000000000000000000000000000000000000000..06960e9dd027d350c4219f914e36c2d54d76143c Binary files /dev/null and b/back-end/src/temp_fearthered.png differ diff --git a/back-end/source_code/test.py b/back-end/src/test.py similarity index 100% rename from back-end/source_code/test.py rename to back-end/src/test.py diff --git a/response_panorama_1.0.png b/response_panorama_1.0.png new file mode 100644 index 0000000000000000000000000000000000000000..43708bd6b6cce272e0e2c36a3d288109482701d2 Binary files /dev/null and b/response_panorama_1.0.png differ diff --git a/response_panorama_1.5.png b/response_panorama_1.5.png new file mode 100644 index 0000000000000000000000000000000000000000..390326288b476d32d3af0e1db4f03b9fc6041b75 Binary files /dev/null and b/response_panorama_1.5.png differ diff --git a/response_panorama_2.0.png b/response_panorama_2.0.png new file mode 100644 index 0000000000000000000000000000000000000000..24e65972894db601ac7c253a739b6777b4c10a7e Binary files /dev/null and b/response_panorama_2.0.png differ diff --git a/response_panorama_withFace_1.0.png b/response_panorama_withFace_1.0.png new file mode 100644 index 0000000000000000000000000000000000000000..a685ab129ae0c565a4c1bef54413a93d2435f768 Binary files /dev/null and b/response_panorama_withFace_1.0.png differ diff --git a/response_panorama_withFace_1.15.png b/response_panorama_withFace_1.15.png new file mode 100644 index 0000000000000000000000000000000000000000..d140bff0eec34d45189c8fc8082e7c6cba41a600 Binary files /dev/null and b/response_panorama_withFace_1.15.png differ diff --git a/response_panorama_withFace_1.3.png b/response_panorama_withFace_1.3.png new file mode 100644 index 0000000000000000000000000000000000000000..d76564421722e708895fa965a9518f22caca8813 Binary files /dev/null and b/response_panorama_withFace_1.3.png differ