starbucksdolcelatte

test case 3

Showing 84 changed files with 57 additions and 49 deletions
......@@ -64,7 +64,7 @@ palette_mouth_smr = [[palette_mouth[1][i*3], palette_mouth[1][i*3+1], palette_mo
palette_mouth_fal = [[palette_mouth[2][i*3], palette_mouth[2][i*3+1], palette_mouth[1][i*3+2]] for i in range(25)]
palette_mouth_wnt = [[palette_mouth[3][i*3], palette_mouth[3][i*3+1], palette_mouth[3][i*3+2]] for i in range(25)]
'''
print(palette_skin_spr)
plt.imshow(palette_skin_spr)
plt.xticks([]) # x축 눈금
......@@ -149,3 +149,11 @@ plt.imshow(palette_mouth_wnt)
plt.xticks([]) # x축 눈금
plt.yticks([]) # y축 눈금
plt.show()
'''
fig = plt.figure()
ax = Axes3D(fig)
for label, pix in zip(self.LABELS, self.IMAGE):
ax.scatter(pix[0], pix[1], pix[2], color = self.rgb_to_hex(self.COLORS[label]))
plt.show()
......
{
"spring": {
"std1":{
"skin":[16.21, 2, 0],
"hair":[42.48, 7.15, 0],
"eye":[35.09, 5.71, 0]},
"skin":[16.21, 0.172, 0],
"hair":[42.48, 0.799, 0],
"eye":[35.09, 0.575, 0]},
"std2":{
"skin":[28.38, 3.96, 0],
"hair":[23.93, 5.02, 0],
"eye":[21.53, 3.73, 0]},
"skin":[28.38, 0.316, 0],
"hair":[23.93, 0.608, 0],
"eye":[21.53, 0.479, 0]},
"std3":{
"skin":[33.65, 5.85, 0],
"hair":[42.48, 7.15, 0],
"eye":[35.09, 5.71, 0]},
"skin":[33.65, 0.431, 0],
"hair":[42.48, 0.799, 0],
"eye":[35.09, 0.575, 0]},
"std4":{
"skin":[34.05, 5.36, 0],
"hair":[23.93, 5.02, 0],
"eye":[21.53, 3.73, 0]}
"skin":[34.05, 0.408, 0],
"hair":[23.93, 0.608, 0],
"eye":[21.53, 0.479, 0]}
},
"summer":{
"std1":{
"skin":[14.23, 1.99, 0],
"hair":[4.9, 0.98, 0],
"eye":[16.17, 3.53, 0]},
"skin":[14.23, 0.175, 0],
"hair":[4.9, 0.200, 0],
"eye":[16.17, 0.354, 0]},
"std2":{
"skin":[19.93, 3.44, 0],
"hair":[8.18, 1.8, 0],
"eye":[8.61, 2.1, 0]},
"skin":[19.93, 0.268, 0],
"hair":[8.18, 0.253, 0],
"eye":[8.61, 0.341, 0]},
"std3":{
"skin":[17.71, 3.04, 0],
"hair":[4.9, 0.98, 0],
"eye":[16.17, 3.53, 0]},
"skin":[17.71, 0.243, 0],
"hair":[4.9, 0.200, 0],
"eye":[16.17, 0.354, 0]},
"std4":{
"skin":[26.24, 4.85, 0],
"hair":[8.18, 1.8, 0],
"eye":[8.61, 2.1, 0]}
"skin":[26.24, 0.353, 0],
"hair":[8.18, 0.253, 0],
"eye":[8.61, 0.341, 0]}
},
"fall":{
"std1":{
"skin":[25.46, 3.61, 0],
"hair":[21.11, 3.83, 0],
"eye":[17.72, 3.44, 0]},
"skin":[25.46, 0.300, 0],
"hair":[21.11, 0.546, 0],
"eye":[17.72, 0.448, 0]},
"std2":{
"skin":[20.96, 3.15, 0],
"hair":[17.72, 3.44, 0],
"eye":[17.41, 3.65, 0]},
"skin":[20.96, 0.286, 0],
"hair":[17.72, 0.448, 0],
"eye":[17.41, 0.516, 0]},
"std3":{
"skin":[27.02, 4.2, 0],
"hair":[21.11, 3.83, 0],
"eye":[17.72, 3.44, 0]},
"skin":[27.02, 0.355, 0],
"hair":[21.11, 0.546, 0],
"eye":[17.72, 0.448, 0]},
"std4":{
"skin":[38.52, 5.71, 0],
"hair":[17.72, 3.44, 0],
"eye":[17.41, 3.65, 0]}
"skin":[38.52, 0.480, 0],
"hair":[17.72, 0.448, 0],
"eye":[17.41, 0.516, 0]}
},
"winter": {
"std1":{
"skin":[9.96, 1.24, 0],
"hair":[3.79, 1.69, 0],
"eye":[9.82, 2.21, 0]},
"skin":[9.96, 0.109, 0],
"hair":[3.79, 0.283, 0],
"eye":[9.82, 0.363, 0]},
"std2":{
"skin":[12.14, 1.66, 0],
"hair":[12.24, 2.42, 0],
"eye":[4.1, 0.86, 0]},
"skin":[12.14, 0.145, 0],
"hair":[12.24, 0.387, 0],
"eye":[4.1, 0.177, 0]},
"std3":{
"skin":[29.2, 5.66, 0],
"hair":[3.79, 1.69, 0],
"eye":[9.82, 2.21, 0]},
"skin":[29.2, 0.396, 0],
"hair":[3.79, 0.283, 0],
"eye":[9.82, 0.363, 0]},
"std4":{
"skin":[27.3, 4.67, 0],
"hair":[12.24, 2.42, 0],
"eye":[4.1, 0.86, 0]}
"skin":[27.3, 0.383, 0],
"hair":[12.24, 0.387, 0],
"eye":[4.1, 0.177, 0]}
}
}
......
No preview for this file type