StartGcpVisionAnnotateImagesOperation

Description:

Trigger a Vision operation on image input. It should be followed by GetGcpVisionAnnotateImagesOperationStatus processor in order to monitor operation status.

Additional Details...

Tags:

Google, Cloud, Machine Learning, Vision

Properties:

In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

Display NameAPI NameDefault ValueAllowable ValuesDescription
JSON Payloadjson-payload{ "requests": [{ "image": { "source": { "imageUri": "gs://${gcs.bucket}/${filename}" } }, "features": [{ "type": "${vision-feature-type}", "maxResults": 4 }] }], "outputConfig": { "gcsDestination": { "uri": "gs://${output-bucket}/${filename}/" }, "batchSize": 2 } }JSON request for AWS Machine Learning services. The Processor will use FlowFile content for the request when this property is not specified.
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
GCP Credentials Provider Servicegcp-credentials-provider-serviceController Service API:
GCPCredentialsService
Implementation: GCPCredentialsControllerService
The Controller Service used to obtain Google Cloud Platform credentials.
Output Bucketoutput-bucketName of the GCS bucket where the output of the Vision job will be persisted. The value of this property applies when the JSON Payload property is configured. The JSON Payload property value can use Expression Language to reference the value of ${output-bucket}
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
Vision Feature Typevision-feature-typeTEXT_DETECTIONType of GCP Vision Feature. The value of this property applies when the JSON Payload property is configured. The JSON Payload property value can use Expression Language to reference the value of ${vision-feature-type}
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)

Relationships:

NameDescription
successFlowFiles are routed to success relationship
failureFlowFiles are routed to failure relationship

Reads Attributes:

None specified.

Writes Attributes:

NameDescription
operationKeyA unique identifier of the operation returned by the Vision server.

State management:

This component does not store state.

Restricted:

This component is not restricted.

System Resource Considerations:

None specified.

See Also:

GetGcpVisionAnnotateImagesOperationStatus