INNER CODE UNIT · Dart
YOLOPerformanceMetrics
ultralytics/yolo-flutter-app · lib/yolo_performance_metrics.dart:6
class YOLOPerformanceMetrics {
/// Current frames per second.
///
/// Represents the actual inference rate, not the camera capture rate.
/// Higher values indicate better performance.
final double fps;
/// Processing time for the current frame in milliseconds.
///
/// This includes the time for model inference and result processing,
/// but excludes camera capture and UI rendering time.
final double processingTimeMs;
/// Preprocessing time (letterbox + normalization) in milliseconds.
final double preMs;
/// Model inference time in milliseconds.
final double inferenceMs;