Package org.apache.beam.sdk.extensions.ml
Provides DoFns for integration with Google Cloud AI Video Intelligence service.
-
Class Summary Class Description AnnotateText APTransformusing the Cloud AI Natural language processing capability.AnnotateText.Builder CloudVision Factory class for implementations ofAnnotateImages.CloudVision.AnnotateImagesFromBytes AcceptsByteString(encoded image contents) with optionalDoFn.SideInputwith aMapofImageContextto the image.CloudVision.AnnotateImagesFromBytesWithContext AcceptsKVs ofByteString(encoded image contents) andImageContext.CloudVision.AnnotateImagesFromGcsUri AcceptsString(image URI on GCS) with optionalDoFn.SideInputwith aMapofImageContextto the image.CloudVision.AnnotateImagesFromGcsUriWithContext AcceptsKVs ofString(GCS URI to the image) andImageContext.DLPDeidentifyText APTransformconnecting to Cloud DLP (https://cloud.google.com/dlp/docs/libraries) and deidentifying text according to provided settings.DLPDeidentifyText.Builder DLPInspectText APTransformconnecting to Cloud DLP (https://cloud.google.com/dlp/docs/libraries) and inspecting text for identifying data according to provided settings.DLPInspectText.Builder DLPReidentifyText APTransformconnecting to Cloud DLP (https://cloud.google.com/dlp/docs/libraries) and inspecting text for identifying data according to provided settings.DLPReidentifyText.Builder RecommendationAICreateCatalogItem APTransformusing the Recommendations AI API (https://cloud.google.com/recommendations).RecommendationAIImportCatalogItems APTransformconnecting to the Recommendations AI API (https://cloud.google.com/recommendations) and creatingCatalogItems.RecommendationAIImportUserEvents APTransformconnecting to the Recommendations AI API (https://cloud.google.com/recommendations) and creatingUserEvents.RecommendationAIIO The RecommendationAIIO class acts as a wrapper around thePTransforms that interact with the Recommendation AI API (https://cloud.google.com/recommendations).RecommendationAIPredict APTransformusing the Recommendations AI API (https://cloud.google.com/recommendations).RecommendationAIWriteUserEvent APTransformusing the Recommendations AI API (https://cloud.google.com/recommendations).VideoIntelligence Factory class for PTransforms integrating with Google Cloud AI - VideoIntelligence service.VideoIntelligence.AnnotateVideoFromBytes A PTransform taking a PCollection ofByteStringand an optional side input with a context map and emitting lists ofVideoAnnotationResultsfor each element.VideoIntelligence.AnnotateVideoFromBytesWithContext A PTransform taking a PCollection ofKVofByteStringandVideoContextand emitting lists ofVideoAnnotationResultsfor each element.VideoIntelligence.AnnotateVideoFromUri A PTransform taking a PCollection ofStringand an optional side input with a context map and emitting lists ofVideoAnnotationResultsfor each element.VideoIntelligence.AnnotateVideoFromURIWithContext A PTransform taking a PCollection ofKVofStringandVideoContextand emitting lists ofVideoAnnotationResultsfor each element.