#!/usr/bin/python2
# -*- coding: utf-8 -*-

pixval = {
    'hair': 10,
    'head': 20,
    'upper': 30,
    'arms': 40,
    'lower': 50,
    'legs': 60,
    'feet': 70
}

groups = [
    [10, 20],
    [30, 40],
    [50, 60],
    [70]
]

#!/usr/bin/python2
# -*- coding: utf-8 -*-

pixval = {
    'hair': 10,
    'head': 20,
    'upper': 30,
    'arms': 40,
    'lower': 50,
    'legs': 60,
    'feet': 70
}

groups = [
    [10, 20],
    [30, 40],
    [50, 60],
    [70],
    [0,10,20,30,40,50,60,70]
]

Add whole image as an input
Add whole image as an input
