compute method

Scalar compute(
  1. Mat img
)

Implementation

Scalar compute(Mat img) {
  final p = calloc<cvg.Scalar>();
  cvRun(() => cffi.QualityBRISQUE_compute(ref, img.ref, p));
  return Scalar.fromPointer(p);
}