def updateImage()

in Bot2/ImageUpdate/hello_world/twitterUpdateImage.py [0:0]


def updateImage(faceDetails, imageSource):
    print "UpdateImage"
    boxes = get_face_boxes(faceDetails, imageSource.size)
    if boxes:
        build_masked_image(imageSource, MASK, boxes)
    else:
        return None
    return imageSource