detectOnMatBytes method

  1. @Deprecated('Use detectFromMatBytes instead. Will be removed in a future release.')
Future<List<Hand>> detectOnMatBytes(
  1. Uint8List bytes, {
  2. required int width,
  3. required int height,
  4. int matType = 16,
})

Detects hands from raw pixel bytes without constructing a cv.Mat first.

Deprecated: Use detectFromMatBytes instead.

Implementation

@Deprecated(
    'Use detectFromMatBytes instead. Will be removed in a future release.')
Future<List<Hand>> detectOnMatBytes(
  Uint8List bytes, {
  required int width,
  required int height,
  int matType = 16,
}) =>
    detectFromMatBytes(bytes, width: width, height: height, matType: matType);