/// <summary> /// 识别base64图片 /// </summary> /// <returns></returns> public IActionResult OnPostTrainTicketBaseStr() { var result = _baiduOcrService.TrainTicket <dynamic>(null, Base64Str); return(new JsonResult(result, new JsonSerializerSettings() { Formatting = Formatting.Indented })); }