sunpengfei
2025-09-01 611af5472b33cbe81a1433ab29e26502a9aac795
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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; }
    }
}