Vision Feature Print

VisionFeaturePrint

A model which takes an input image and outputs an array of features according to the specified feature types

message VisionFeaturePrint {

    // Specific vision feature print types

    // Scene extracts features useful for identifying contents of natural images
    // in both indoor and outdoor environments
    message Scene {
        enum SceneVersion {
            SCENE_VERSION_INVALID = 0;
            // VERSION_1 is available on iOS,tvOS 12.0+, macOS 10.14+
            // It uses a 299x299 input image and yields a 2048 float feature vector
            SCENE_VERSION_1 = 1;
        }

        SceneVersion version = 1;
    }

    // Vision feature print type
    oneof VisionFeaturePrintType {
        Scene scene = 20;
    }

}

VisionFeaturePrint.Scene

message Scene {
    enum SceneVersion {
        SCENE_VERSION_INVALID = 0;
        // VERSION_1 is available on iOS,tvOS 12.0+, macOS 10.14+
        // It uses a 299x299 input image and yields a 2048 float feature vector
        SCENE_VERSION_1 = 1;
    }

    SceneVersion version = 1;
}

VisionFeaturePrint.Scene.SceneVersion

enum SceneVersion {
    SCENE_VERSION_INVALID = 0;
    // VERSION_1 is available on iOS,tvOS 12.0+, macOS 10.14+
    // It uses a 299x299 input image and yields a 2048 float feature vector
    SCENE_VERSION_1 = 1;
}