cosDetect static method

TransformationData cosDetect({
  1. int? objectThresholdPercent = 50,
})

Calculates the percentage of the main object area relative to image dimensions.

  • objectThresholdPercent : Object Threshold Percent (Default: 50)

Returns TransformationData.

Implementation

static TransformationData cosDetect({int? objectThresholdPercent = 50}) {
  // Call the generated class method
  return CosDetect().detect(objectThresholdPercent);
}