FeatureExtractor

public protocol FeatureExtractor

The public protocol of all Feature Extractors.

  • Computes the feature vector for a photo slice. The meaning and size of the feature vector is defined by each individual extractor.

    Declaration

    Swift

    func extract(slice: PhotoSlice) -> FeatureVector

    Parameters

    slice

    the slice to summarize.

    Return Value

    the feature vector for the slice.