srUpscale static method

TransformationData srUpscale({
  1. SrType? type = SrType.p2X,
  2. bool? enhanceFace = false,
  3. SrModel? model = SrModel.picasso,
  4. bool? enhanceQuality = false,
})

Super Resolution Module

  • type : SrType (Default: 2x)

  • enhanceFace : Enhance Face (Default: false)

  • model : SrModel (Default: Picasso)

  • enhanceQuality : Enhance Quality (Default: false)

Returns TransformationData.

Implementation

static TransformationData srUpscale(
    {SrType? type = SrType.p2X,
    bool? enhanceFace = false,
    SrModel? model = SrModel.picasso,
    bool? enhanceQuality = false}) {
  // Call the generated class method
  return SrUpscale().upscale(type, enhanceFace, model, enhanceQuality);
}