inspectModel static method

Future<Map<String, dynamic>> inspectModel(
  1. String modelPath
)

Reads exported metadata for a model without loading it for inference.

Implementation

static Future<Map<String, dynamic>> inspectModel(String modelPath) async {
  final resolvedPath = await YOLOModelResolver.preparePath(modelPath);
  return YOLOModelResolver.inspect(resolvedPath);
}