detectFromBytes method

Future<List<DetectionResult>> detectFromBytes(
  1. Uint8List data,
  2. int width,
  3. int height
)

Detect objects from raw RGBA pixel bytes.

Implementation

Future<List<DetectionResult>> detectFromBytes(Uint8List data, int width, int height) {
  return PaddleDetectionPlatform.instance.detectFromBytes(data: data, width: width, height: height);
}