github.com/Mrs4s/MiraiGo@v0.0.0-20240226124653-54bdd873e3fe/client/pb/oidb/oidb0xe07.pb.go (about)

     1  // Code generated by protoc-gen-golite. DO NOT EDIT.
     2  // source: pb/oidb/oidb0xe07.proto
     3  
     4  package oidb
     5  
     6  type DE07ReqBody struct {
     7  	Version    int32       `protobuf:"varint,1,opt"`
     8  	Client     int32       `protobuf:"varint,2,opt"`
     9  	Entrance   int32       `protobuf:"varint,3,opt"`
    10  	OcrReqBody *OCRReqBody `protobuf:"bytes,10,opt"`
    11  	_          [0]func()
    12  }
    13  
    14  type OCRReqBody struct {
    15  	ImageUrl              string `protobuf:"bytes,1,opt"`
    16  	LanguageType          string `protobuf:"bytes,2,opt"`
    17  	Scene                 string `protobuf:"bytes,3,opt"`
    18  	OriginMd5             string `protobuf:"bytes,10,opt"`
    19  	AfterCompressMd5      string `protobuf:"bytes,11,opt"`
    20  	AfterCompressFileSize int32  `protobuf:"varint,12,opt"`
    21  	AfterCompressWeight   int32  `protobuf:"varint,13,opt"`
    22  	AfterCompressHeight   int32  `protobuf:"varint,14,opt"`
    23  	IsCut                 bool   `protobuf:"varint,15,opt"`
    24  	_                     [0]func()
    25  }
    26  
    27  type DE07RspBody struct {
    28  	RetCode    int32       `protobuf:"varint,1,opt"`
    29  	ErrMsg     string      `protobuf:"bytes,2,opt"`
    30  	Wording    string      `protobuf:"bytes,3,opt"`
    31  	OcrRspBody *OCRRspBody `protobuf:"bytes,10,opt"`
    32  	_          [0]func()
    33  }
    34  
    35  type TextDetection struct {
    36  	DetectedText string   `protobuf:"bytes,1,opt"`
    37  	Confidence   int32    `protobuf:"varint,2,opt"`
    38  	Polygon      *Polygon `protobuf:"bytes,3,opt"`
    39  	AdvancedInfo string   `protobuf:"bytes,4,opt"`
    40  	_            [0]func()
    41  }
    42  
    43  type Polygon struct {
    44  	Coordinates []*Coordinate `protobuf:"bytes,1,rep"`
    45  }
    46  
    47  type Coordinate struct {
    48  	X int32 `protobuf:"varint,1,opt"`
    49  	Y int32 `protobuf:"varint,2,opt"`
    50  	_ [0]func()
    51  }
    52  
    53  type Language struct {
    54  	Language     string `protobuf:"bytes,1,opt"`
    55  	LanguageDesc string `protobuf:"bytes,2,opt"`
    56  	_            [0]func()
    57  }
    58  
    59  type OCRRspBody struct {
    60  	TextDetections           []*TextDetection `protobuf:"bytes,1,rep"`
    61  	Language                 string           `protobuf:"bytes,2,opt"`
    62  	RequestId                string           `protobuf:"bytes,3,opt"`
    63  	OcrLanguageList          []string         `protobuf:"bytes,101,rep"`
    64  	DstTranslateLanguageList []string         `protobuf:"bytes,102,rep"`
    65  	LanguageList             []*Language      `protobuf:"bytes,103,rep"`
    66  	AfterCompressWeight      int32            `protobuf:"varint,111,opt"`
    67  	AfterCompressHeight      int32            `protobuf:"varint,112,opt"`
    68  }