Struct gapi_grpc::google::cloud::aiplatform::v1beta1::schema::predict::prediction::ImageSegmentationPredictionResult[][src]

pub struct ImageSegmentationPredictionResult {
    pub category_mask: String,
    pub confidence_mask: String,
}

Prediction output format for Image Segmentation.

Fields

category_mask: String

A PNG image where each pixel in the mask represents the category in which the pixel in the original image was predicted to belong to. The size of this image will be the same as the original image. The mapping between the AnntoationSpec and the color can be found in model’s metadata. The model will choose the most likely category and if none of the categories reach the confidence threshold, the pixel will be marked as background.

confidence_mask: String

A one channel image which is encoded as an 8bit lossless PNG. The size of the image will be the same as the original image. For a specific pixel, darker color means less confidence in correctness of the cateogry in the categoryMask for the corresponding pixel. Black means no confidence and white means complete confidence.

Trait Implementations

impl Clone for ImageSegmentationPredictionResult[src]

impl Debug for ImageSegmentationPredictionResult[src]

impl Default for ImageSegmentationPredictionResult[src]

impl Message for ImageSegmentationPredictionResult[src]

impl PartialEq<ImageSegmentationPredictionResult> for ImageSegmentationPredictionResult[src]

impl StructuralPartialEq for ImageSegmentationPredictionResult[src]

Auto Trait Implementations

impl RefUnwindSafe for ImageSegmentationPredictionResult

impl Send for ImageSegmentationPredictionResult

impl Sync for ImageSegmentationPredictionResult

impl Unpin for ImageSegmentationPredictionResult

impl UnwindSafe for ImageSegmentationPredictionResult

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]