Spaces:
Sleeping
Sleeping
Guillermo Uribe Vicencio
commited on
Commit
·
fffc2dc
1
Parent(s):
287334b
test
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ def apply_color_map(rgb, color_map=cdl_color_map):
|
|
68 |
cont = np.where((rgb[0] == map_tmp['value']) & (rgb[1] == map_tmp['value']) & (rgb[2] == map_tmp['value']), 1, 0)
|
69 |
|
70 |
print(map_tmp['label'])
|
71 |
-
print("Cantidad total ", sum(sum(cont)))
|
72 |
map_resume.append({"label": map_tmp['label'],'qtt': sum(sum(cont))})
|
73 |
|
74 |
return rgb_mapped
|
|
|
68 |
cont = np.where((rgb[0] == map_tmp['value']) & (rgb[1] == map_tmp['value']) & (rgb[2] == map_tmp['value']), 1, 0)
|
69 |
|
70 |
print(map_tmp['label'])
|
71 |
+
#print("Cantidad total ", sum(sum(cont)))
|
72 |
map_resume.append({"label": map_tmp['label'],'qtt': sum(sum(cont))})
|
73 |
|
74 |
return rgb_mapped
|