using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FlexJobApi.Core { /// /// 百度文字识别结果 /// public class BaiduOcrResultWord { /// /// 定位 /// [JsonProperty("location")] public BaiduOcrResultWordLocation Location { get; set; } /// /// 文字 /// [JsonProperty("words")] public string Words { get; set; } } /// /// 百度文字识别结果 /// public class BaiduOcrResultWordLocation { /// /// 距离顶部 /// [JsonProperty("top")] public int Top { get; set; } /// /// 距离左边 /// [JsonProperty("left")] public int Left { get; set; } /// /// 宽度 /// [JsonProperty("width")] public int Width { get; set; } /// /// 高度 /// [JsonProperty("height")] public int Height { get; set; } } }