getImagePredictionList abstract method

  1. @TaskQueue(type: TaskQueueType.serialBackgroundThread)
  2. @async
List<double>? getImagePredictionList(
  1. int index,
  2. Uint8List? imageData,
  3. List<Uint8List>? imageBytesList,
  4. int? imageWidthForBytesList,
  5. int? imageHeightForBytesList,
  6. List<double> mean,
  7. List<double> std,
)

predicts image but returns the raw net output

Implementation

@TaskQueue(type: TaskQueueType.serialBackgroundThread)
@async
List<double>? getImagePredictionList(
    int index,
    Uint8List? imageData,
    List<Uint8List>? imageBytesList,
    int? imageWidthForBytesList,
    int? imageHeightForBytesList,
    List<double> mean,
    List<double> std);