superresolution static method

TransformationData superresolution({
  1. PType? ptype = PType.p2x,
  2. bool? enhanceface = false,
  3. Model? model = Model.picasso,
  4. bool? enhancequality = false,
})

Super Resolution Module

@param ptype Type (Default: 2x)

@param enhanceface Enhance face (Default: false)

@param model Model (Default: Picasso)

@param enhancequality Enhance quality (Default: false)

@return The generated TransformationData.

Implementation

static TransformationData superresolution(
    {PType? ptype = PType.p2x,
    bool? enhanceface = false,
    Model? model = Model.picasso,
    bool? enhancequality = false}) {
  // Call the generated class method
  return SuperResolution().upscale(ptype, enhanceface, model, enhancequality);
}