SetPatternConfig(ohipPattern).Build(); var result = await OcrPlugin.Default.RecognizeTextAsync(imageData, options); var patientHcn = result.MatchedValues.FirstOrDefault(); // This will be the HCN (and only the HCN) if it's found MAUI Setup and Usage For MAUI, to initialize make sure ...