factory TextDetectionParams.fromJson(Map<String, dynamic> json) => _$TextDetectionParamsFromJson(json);