اقرأ باللغة الإنجليزية

مشاركة عبر


ImageResizingEstimator.ResizingKind Enum

Definition

Specifies how to resize the images: by cropping them or padding in the direction needed to fill up.

C#
public enum ImageResizingEstimator.ResizingKind
Inheritance
ImageResizingEstimator.ResizingKind

Fields

Name Value Description
IsoPad 0

Isotropic(uniform) with padding.

IsoCrop 1

Isotropic(uniform) with cropping.

Fill 2

Ignore aspect ratio and squeeze/stretch into target dimensions.

Applies to

منتج الإصدارات
ML.NET 1.0.0, 1.1.0, 1.2.0, 1.3.1, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 2.0.0, 3.0.0, 4.0.0, Preview