cosDetect static method

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

CheckObjectSize 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}) {
  return CosDetect().detect(objectThresholdPercent);
}