Example #1
0
 public static string ExtractUrl(RecognitionResult resultObj)
 {
     return(resultObj.recognitionResult.lines.Where(x => x.text.StartsWith("https://techprofile.microsoft.com")).Select(x => x.text).FirstOrDefault());
 }
Example #2
0
        public static int ExtractScore(RecognitionResult resultObj)
        {
            string exp = resultObj.recognitionResult.lines.Where(x => x.text.EndsWith(" XP")).Select(x => x.text).FirstOrDefault();

            return(ScoreValidator.ScoreSplitter(exp));
        }