def __eq__(self, other):
        return (isinstance(other, self.__class__) and
                other.package == self.package)
def make_grayscale(img):
    ret = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
    return ret