src/fingerflow/matcher/VerifyNet/utils.py
def enhance_minutiae_points(minutiae):
    """Enhances minutiae points with distances to n-nearest neighbors.
       Also removes `x` an `y` coordinates from feature vector.

    Arguments:
        minutiae: raw extracted minutiae points.

    Returns:
        Numpy array without `x` and `y` with additional distances to n nearest neighbors.
    """
    enhanced_minutiae = []

    for minutia in minutiae:
        features_to_add = find_n_nearest_minutiae(minutiae[:, :2], minutia[:2])

        updated_minutia = np.append(minutia, features_to_add)

        enhanced_minutiae.append(updated_minutia[2:])

    return np.array(enhanced_minutiae)
Enhances minutiae points with distances to n-nearest neighbors.
       Also removes `x` an `y` coordinates from feature vector.

    Arguments:
        minutiae: raw extracted minutiae points.

    Returns:
        Numpy array without `x` and `y` with additional distances to n nearest neighbors.
    
Enhances minutiae points with distances to n-nearest neighbors.
Also removes `x` an `y` coordinates from feature vector.
Enhances minutiae points with distances to n - nearest neighbors . Also removes ` x ` an ` y ` coordinates from feature vector .
def enhance_minutiae_points(minutiae):
    enhanced_minutiae = []
    for minutia in minutiae:
        features_to_add = find_n_nearest_minutiae(minutiae[:, :2], minutia[:2])
        updated_minutia = np.append(minutia, features_to_add)
        enhanced_minutiae.append(updated_minutia[2:])
    return np.array(enhanced_minutiae)
def enhance_minutiae_points ( minutiae ) : enhanced_minutiae = [ ] for minutia in minutiae : features_to_add = find_n_nearest_minutiae ( minutiae [ : , : 2 ] , minutia [ : 2 ] ) updated_minutia = np . append ( minutia , features_to_add ) enhanced_minutiae . append ( updated_minutia [ 2 : ] ) return np . array ( enhanced_minutiae )
Enhances minutiae points with distances to n-nearest neighbors.
Enhances minutiae points with distances to n - nearest neighbors .
"""Enhances minutiae points with distances to n-nearest neighbors.
       Also removes `x` an `y` coordinates from feature vector.

    Arguments:
        minutiae: raw extracted minutiae points.

    Returns:
        Numpy array without `x` and `y` with additional distances to n nearest neighbors.
    """
Numpy array without `x` and `y` with additional distances to n nearest neighbors.
Numpy array without ` x ` and ` y ` with additional distances to n nearest neighbors .
minutiae
raw extracted minutiae points.
raw extracted minutiae points .