tracking/utils.py
def points_to_coordinates(points):
    """switch from an array of points used for finding homography to arrays of coordinates x, y for plotting

    Arguments:
        points {np.array} -- array containing a list of points
    """
    x = np.array([point[0] for point in points])
    y = np.array([point[1] for point in points])
    return(x, y)
switch from an array of points used for finding homography to arrays of coordinates x, y for plotting

    Arguments:
        points {np.array} -- array containing a list of points
    
switch from an array of points used for finding homography to arrays of coordinates x, y for plotting
Arguments:
points {np.array} -- array containing a list of points
switch from an array of points used for finding homography to arrays of coordinates x y for plotting Arguments : points { np . array } -- array containing a list of points
def points_to_coordinates(points):
    x = np.array([point[0] for point in points])
    y = np.array([point[1] for point in points])
    return(x, y)
def points_to_coordinates ( points ) : x = np . array ( [ point [ 0 ] for point in points ] ) y = np . array ( [ point [ 1 ] for point in points ] ) return ( x , y )
switch from an array of points used for finding homography to arrays of coordinates x, y for plotting
Arguments:
points {np.array} -- array containing a list of points
switch from an array of points used for finding homography to arrays of coordinates x y for plotting Arguments : points { np . array } -- array containing a list of points
"""switch from an array of points used for finding homography to arrays of coordinates x, y for plotting

    Arguments:
        points {np.array} -- array containing a list of points
    """
points