factory RecognizedRect.fromJson(Map<String, dynamic> json) { return RecognizedRect( x: json['x'], y: json['y'], width: json['width'], height: json['height'], ); }