@@ -72,10 +72,9 @@ class Client extends RPCClient {
72
72
/**
73
73
* @param {Integer } ImageType - imageType. required.
74
74
* @param {String } ImageURL - imageUrl. optional.
75
- * @param {String } ImageContent - ImageContent . optional.
75
+ * @param {String } ImageContent - imageContent . optional.
76
76
* @param {Integer } MinHeight - minHeight. required.
77
77
* @param {Boolean } OutputProbability - outputProbability. required.
78
- * @param {Boolean } OutputKeyPoints - outputKeyPoints. required.
79
78
*/
80
79
recognizeCharacter ( params = { } , options = { } ) {
81
80
if ( ! hasOwnProperty ( params , 'ImageType' ) ) {
@@ -90,10 +89,6 @@ class Client extends RPCClient {
90
89
throw new TypeError ( 'parameter "OutputProbability" is required' ) ;
91
90
}
92
91
93
- if ( ! hasOwnProperty ( params , 'OutputKeyPoints' ) ) {
94
- throw new TypeError ( 'parameter "OutputKeyPoints" is required' ) ;
95
- }
96
-
97
92
options . method = 'POST' ;
98
93
return this . request ( 'RecognizeCharacter' , params , options ) ;
99
94
}
@@ -187,7 +182,7 @@ class Client extends RPCClient {
187
182
* @param {Integer } ImageType - imageType. required.
188
183
* @param {String } ImageURL - imageUrl. optional.
189
184
* @param {String } ImageContent - imageContent. optional.
190
- * @param {String } Format - format . required.
185
+ * @param {String } OutputFormat - outputFormat . required.
191
186
* @param {Boolean } UseFinanceModel - useFinanceModel. required.
192
187
* @param {Boolean } AssureDirection - assureDirection. required.
193
188
* @param {Boolean } HasLine - hasLine. required.
@@ -198,8 +193,8 @@ class Client extends RPCClient {
198
193
throw new TypeError ( 'parameter "ImageType" is required' ) ;
199
194
}
200
195
201
- if ( ! hasOwnProperty ( params , 'Format ' ) ) {
202
- throw new TypeError ( 'parameter "Format " is required' ) ;
196
+ if ( ! hasOwnProperty ( params , 'OutputFormat ' ) ) {
197
+ throw new TypeError ( 'parameter "OutputFormat " is required' ) ;
203
198
}
204
199
205
200
if ( ! hasOwnProperty ( params , 'UseFinanceModel' ) ) {
0 commit comments