R/get_available_feature_types.R

Defines functions gcv_get_available_feature_types

Documented in gcv_get_available_feature_types

#' @title helper function code to record available feature types
#'
#' @return a list of available features names and their types (as returned by the API)
#'
#' @examples
#' gcv_get_available_feature_types()
#'
#' @export
gcv_get_available_feature_types <- function() {
    list(
        LABEL_DETECTION         = "labelAnnotations",
        TEXT_DETECTION          = "textAnnotations",
        DOCUMENT_TEXT_DETECTION = "textAnnotations",
        FACE_DETECTION          = "faceAnnotations",
        LOGO_DETECTION          = "logoAnnotations",
        LANDMARK_DETECTION      = "landmarkAnnotations"
    )
}

Try the googleCloudVisionR package in your browser

Any scripts or data that you put into this service are public.

googleCloudVisionR documentation built on March 26, 2020, 7:13 p.m.