fromMap static method

ResultObjectDetection fromMap(
  1. Map<String, dynamic> map
)

Implementation

static ResultObjectDetection fromMap(Map<String, dynamic> map) {
  return ResultObjectDetection(
    classIndex: map['classIndex'],
    score: map['score'],
    rect: PyTorchRectExtension.fromMap(map['rect']),
  )..className = map['className'];
}