namespace ZeroLevel.NN.Models
{
///
/// Crop options
///
public class ImagePreprocessorCropOptions
{
///
/// Use split original image to crops
///
public bool Enabled { get; set; } = false;
///
/// Put resized original image to batch
///
public bool SaveOriginal { get; set; }
///
/// Crop width
///
public int Width { get; set; }
///
/// Crop height
///
public int Height { get; set; }
///
/// Overlap cropped parts
///
public bool Overlap { get; set; }
///
/// Overlap width koefficient (0 - 1)
///
public float OverlapKoefWidth { get; set; } = 0.8f;
///
/// Overlap height koefficient (0 - 1)
///
public float OverlapKoefHeight { get; set; } = 0.8f;
}
}