Udostępnij za pośrednictwem


MediaGraphImageScaleMode Struct

Definition

Describes the modes for scaling an input video frame into an image, before it is sent to an inference engine.

public readonly struct MediaGraphImageScaleMode : IEquatable<Azure.Media.Analytics.Edge.Models.MediaGraphImageScaleMode>
type MediaGraphImageScaleMode = struct
Public Structure MediaGraphImageScaleMode
Implements IEquatable(Of MediaGraphImageScaleMode)
Inheritance
MediaGraphImageScaleMode
Implements

Constructors

MediaGraphImageScaleMode(String)

Determines if two MediaGraphImageScaleMode values are the same.

Properties

Pad

Center pad the input frame to match the given dimensions.

PreserveAspectRatio

Use the same aspect ratio as the input frame.

Stretch

Stretch input frame to match given dimensions.

Methods

Equals(MediaGraphImageScaleMode)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(MediaGraphImageScaleMode, MediaGraphImageScaleMode)

Determines if two MediaGraphImageScaleMode values are the same.

Implicit(String to MediaGraphImageScaleMode)

Converts a string to a MediaGraphImageScaleMode.

Inequality(MediaGraphImageScaleMode, MediaGraphImageScaleMode)

Determines if two MediaGraphImageScaleMode values are not the same.

Applies to