Beispiel #1
0
def main():
    a = Analytics()
    a.start_timer()
    img = cv2.imread('lvision/assets/images/locations/basing.png')
    points = numpy.where(numpy.all(img == [0, 255, 0], axis=-1))
    points = list(zip(*points[::-1]))
    print(points)
    a.end_timer()