srUpscale static method

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

SuperResolution 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}) {
  return SrUpscale().upscale(type, enhanceFace, model, enhanceQuality);
}