public sealed class ImageSegmentationPredictionInstance : IMessage<ImageSegmentationPredictionInstance>, IEquatable<ImageSegmentationPredictionInstance>, IDeepCloneable<ImageSegmentationPredictionInstance>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1beta1 API class ImageSegmentationPredictionInstance.
Prediction input format for Image Segmentation.
Implements
IMessageImageSegmentationPredictionInstance, IEquatableImageSegmentationPredictionInstance, IDeepCloneableImageSegmentationPredictionInstance, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.InstanceAssembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
ImageSegmentationPredictionInstance()
public ImageSegmentationPredictionInstance()ImageSegmentationPredictionInstance(ImageSegmentationPredictionInstance)
public ImageSegmentationPredictionInstance(ImageSegmentationPredictionInstance other)| Parameter | |
|---|---|
| Name | Description |
other |
ImageSegmentationPredictionInstance |
Properties
Content
public string Content { get; set; }The image bytes to make the predictions on.
| Property Value | |
|---|---|
| Type | Description |
string |
|
MimeType
public string MimeType { get; set; }The MIME type of the content of the image. Only the images in below listed MIME types are supported.
- image/jpeg
- image/png
| Property Value | |
|---|---|
| Type | Description |
string |
|