callWithTensor method

Future<List<Detection>> callWithTensor(
  1. ImageTensor pack
)

Runs face detection on a pre-computed tensor.

This is used by the OpenCV pipeline which computes the tensor directly from cv.Mat without going through the isolate worker.

Implementation

Future<List<Detection>> callWithTensor(ImageTensor pack) async {
  return _runInference(pack);
}