zrg
2024-08-16 18865d8bf24382e850e661dec6cca0e8b9dba6ae
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
 
namespace DingTalk.Api.Response
{
    /// <summary>
    /// OapiOcrStructuredRecognizeResponse.
    /// </summary>
    public class OapiOcrStructuredRecognizeResponse : DingTalkResponse
    {
        /// <summary>
        /// 错误码
        /// </summary>
        [XmlElement("errcode")]
        public long Errcode { get; set; }
 
        /// <summary>
        /// 错误描述
        /// </summary>
        [XmlElement("errmsg")]
        public string Errmsg { get; set; }
 
        /// <summary>
        /// 识别结果
        /// </summary>
        [XmlElement("result")]
        public OcrStructuredResultDomain Result { get; set; }
 
    /// <summary>
/// OcrStructuredResultDomain Data Structure.
/// </summary>
[Serializable]
 
public class OcrStructuredResultDomain : TopObject
{
            /// <summary>
            /// 旋转度
            /// </summary>
            [XmlElement("angle")]
            public long Angle { get; set; }
    
            /// <summary>
            /// 图片识别内容json字符串,不同的类型有不同的字段,例如身份证{"姓名":"王xx","性别":"男","民族":"汉","出生日期":"1986年1月9日","住址":"四川省攀枝xxxx","身份证号码":"5101241988xxxxx"}
            /// </summary>
            [XmlElement("data")]
            public string Data { get; set; }
    
            /// <summary>
            /// 旋转后图片高度
            /// </summary>
            [XmlElement("height")]
            public long Height { get; set; }
    
            /// <summary>
            /// 原始图片高度
            /// </summary>
            [XmlElement("original_height")]
            public long OriginalHeight { get; set; }
    
            /// <summary>
            /// 原始图片宽度
            /// </summary>
            [XmlElement("original_width")]
            public long OriginalWidth { get; set; }
    
            /// <summary>
            /// 旋转后图片宽度
            /// </summary>
            [XmlElement("width")]
            public long Width { get; set; }
}
 
    }
}