Skip to content

Commit 94640ce

Browse files
committed
Updated media info
1 parent 6e74190 commit 94640ce

File tree

5 files changed

+55
-7
lines changed

5 files changed

+55
-7
lines changed

ddoif_dictionary.json

+30-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,25 @@
1717
"magic number": "89 44 44 4f 49 46 0d 0a 1a 0a",
1818
"digital signature": null,
1919
"gdpr": null,
20+
"media-list": [
21+
"Front View",
22+
"Left Side View",
23+
"Right Side View",
24+
"Back View",
25+
"3D View",
26+
"Video View",
27+
"Other View"
28+
],
29+
"media-encoding-list": [
30+
"PNG",
31+
"JPG-LS",
32+
"JPG",
33+
"BMP",
34+
"OBJ",
35+
"MP4",
36+
"AVI",
37+
"3DS"
38+
],
2039
"__version__": 0.1,
2140
"comment": "date-example 01-September-2019\nbarcode-url (qr-code-url) is a link to an image of the code, \nbarcode and qr-code images can also be stored along in the DDOIF file\nMedia type is a two-part identifier for file formats and format contents transmitted on the Internet\nMagic number is the file signature \nGDPR Privacy issues are a big concern for a large number of customers and legislators, and this is another element that must be contained in any ICT protocol. Hence, our aim is to make use of fashion data and trends, GDPR and other related policies, and user feedback to define an ICT protocol for the fashion wholesale and retail companies.\nai-model: if AI is not none, this means the part or all the clothing items have been predected, generate, or extracted via an AI model, for example, using Computer Vision and/or NLP.\n"
2241
},
@@ -1647,6 +1666,7 @@
16471666
},
16481667
"media": {
16491668
"comment": "DDOIF file can have multiple media files for the same item, could be a few images\nat different; images and videos; images, 3D objects, and videos; etc.\n",
1669+
"has-person": null,
16501670
"mode": null,
16511671
"resolution": null,
16521672
"description": null,
@@ -1673,6 +1693,15 @@
16731693
"Personal-shooting"
16741694
],
16751695
"comment": ""
1676-
}
1696+
},
1697+
"view-angle": [
1698+
"Front View",
1699+
"Left Side View",
1700+
"Right Side View",
1701+
"Back View",
1702+
"3D View",
1703+
"Video View",
1704+
"Other View"
1705+
]
16771706
}
16781707
}

ddoif_dictionary.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="UTF-8" ?><ddoif><info><date-created>dd-month-yyyy</date-created><last-change-time>stores the time that the image was last changed</last-change-time><manufacturer></manufacturer><brand></brand><designer></designer><contributor></contributor><barcode-url></barcode-url><qr-code-url></qr-code-url><style_code></style_code><description></description><country></country><city></city><media_type>application / ddof</media_type><type_of_format>Fashion Data Organization and Exchange</type_of_format><magic_number>89 44 44 4f 49 46 0d 0a 1a 0a</magic_number><digital_signature></digital_signature><gdpr></gdpr><__version__>0.1</__version__><comment>date-example 01-September-2019
1+
<?xml version="1.0" encoding="UTF-8" ?><ddoif><info><date-created>dd-month-yyyy</date-created><last-change-time>stores the time that the image was last changed</last-change-time><manufacturer></manufacturer><brand></brand><designer></designer><contributor></contributor><barcode-url></barcode-url><qr-code-url></qr-code-url><style_code></style_code><description></description><country></country><city></city><media_type>application / ddof</media_type><type_of_format>Fashion Data Organization and Exchange</type_of_format><magic_number>89 44 44 4f 49 46 0d 0a 1a 0a</magic_number><digital_signature></digital_signature><gdpr></gdpr><media-list><item>Front View</item><item>Left Side View</item><item>Right Side View</item><item>Back View</item><item>3D View</item><item>Video View</item><item>Other View</item></media-list><media-encoding-list><item>PNG</item><item>JPG-LS</item><item>JPG</item><item>BMP</item><item>OBJ</item><item>MP4</item><item>AVI</item><item>3DS</item></media-encoding-list><__version__>0.1</__version__><comment>date-example 01-September-2019
22
barcode-url (qr-code-url) is a link to an image of the code,
33
barcode and qr-code images can also be stored along in the DDOIF file
44
Media type is a two-part identifier for file formats and format contents transmitted on the Internet
@@ -74,7 +74,7 @@ P_US, same as F_US but with a P symbol.
7474

7575
</comment></dry-cleaning><supplementary-care><classes><item>Do not wring</item><item>Wet-clean</item><item>Do not wet-clean</item></classes><comment></comment></supplementary-care><water-temperature-dot-symbol><classes><item>6 dots (95°C Near boil)</item><item>5 dots (70°C Extremely hot)</item><item>4 dots (60°C Very hot)</item><item>3 dots (50°C Hot)</item><item>2 dots (40°C Warm)</item><item>1 dots (30°C Cool)</item></classes><comment></comment></water-temperature-dot-symbol></care><annotation><caption><item>Blah blha blah</item><item>To be or not to be</item></caption><bounding-box></bounding-box><mask></mask><key name="3D-mesh"></key><comment></comment></annotation><media><comment>DDOIF file can have multiple media files for the same item, could be a few images
7676
at different; images and videos; images, 3D objects, and videos; etc.
77-
</comment><mode></mode><resolution></resolution><description></description><imaging-device></imaging-device><media-quality-indicator></media-quality-indicator><media-type-name></media-type-name><memory-chunks><length><comment>4 bytes, big-endian
77+
</comment><has-person></has-person><mode></mode><resolution></resolution><description></description><imaging-device></imaging-device><media-quality-indicator></media-quality-indicator><media-type-name></media-type-name><memory-chunks><length><comment>4 bytes, big-endian
7878
media chunk length in bytes, for example 5 refers to 5 bytes being reserved for the data field
7979
</comment></length><CRC><comment>cyclic redundancy code/checksum; 4 bytes.
8080
The CRC is a network-byte-order CRC-32 computed over the chunk type and chunk data, but not the length
@@ -85,4 +85,4 @@ Video; MP4, AVCHD, AVI, MOV, WMV, MKV, BDAV,
8585
OBJ (similar to sTL), FBX (3D file format that supports geometry and appearance related properties
8686
like color and texture), DAE ( COLLADA format supports geometry, appearance related properties
8787
like color, material, textures, and animation)
88-
</comment></chunk-name></memory-chunks><imaging-location><classes><item>Outdoors</item><item>Indoors</item><item>Studio</item><item>Professional-shooting</item><item>Personal-shooting</item></classes><comment></comment></imaging-location></media></ddoif>
88+
</comment></chunk-name></memory-chunks><imaging-location><classes><item>Outdoors</item><item>Indoors</item><item>Studio</item><item>Professional-shooting</item><item>Personal-shooting</item></classes><comment></comment></imaging-location><view-angle><item>Front View</item><item>Left Side View</item><item>Right Side View</item><item>Back View</item><item>3D View</item><item>Video View</item><item>Other View</item></view-angle></media></ddoif>

ddoif_dictionary.yaml

+20-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,25 @@ info:
5757
type of format: Fashion Data Organization and Exchange
5858
magic number: "89 44 44 4f 49 46 0d 0a 1a 0a"
5959
digital signature:
60-
gdpr:
60+
gdpr:
61+
media-list: # according to view
62+
- Front View
63+
- Left Side View
64+
- Right Side View
65+
- Back View
66+
- 3D View
67+
- Video View
68+
- Other View
69+
media-encoding-list: # user should select the encoding of each item in media list
70+
- PNG
71+
- JPG-LS
72+
- JPG
73+
- BMP
74+
- OBJ
75+
- MP4
76+
- AVI
77+
- 3DS
78+
6179

6280

6381
'__version__': 0.1
@@ -1251,6 +1269,7 @@ media:
12511269
DDOIF file can have multiple media files for the same item, could be a few images
12521270
at different; images and videos; images, 3D objects, and videos; etc.
12531271
1272+
has-person: # if the media has a person or just the piece of clothing
12541273
mode:
12551274
resolution:
12561275
description:

0 commit comments

Comments
 (0)