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