Class: TencentCloud::Cii::V20210408::OcrRecognise
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cii::V20210408::OcrRecognise
- Defined in:
- lib/v20210408/models.rb
Overview
Ocr识别结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(originalfield = nil, value = nil, confidence = nil, location = nil, field = nil) ⇒ OcrRecognise
constructor
A new instance of OcrRecognise.
Constructor Details
#initialize(originalfield = nil, value = nil, confidence = nil, location = nil, field = nil) ⇒ OcrRecognise
Returns a new instance of OcrRecognise.
1047 1048 1049 1050 1051 1052 1053 |
# File 'lib/v20210408/models.rb', line 1047 def initialize(originalfield=nil, value=nil, confidence=nil, location=nil, field=nil) @OriginalField = originalfield @Value = value @Confidence = confidence @Location = location @Field = field end |
Instance Attribute Details
#Confidence ⇒ Object
1045 1046 1047 |
# File 'lib/v20210408/models.rb', line 1045 def Confidence @Confidence end |
#Field ⇒ Object
1045 1046 1047 |
# File 'lib/v20210408/models.rb', line 1045 def Field @Field end |
#Location ⇒ Object
1045 1046 1047 |
# File 'lib/v20210408/models.rb', line 1045 def Location @Location end |
#OriginalField ⇒ Object
1045 1046 1047 |
# File 'lib/v20210408/models.rb', line 1045 def OriginalField @OriginalField end |
#Value ⇒ Object
1045 1046 1047 |
# File 'lib/v20210408/models.rb', line 1045 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 |
# File 'lib/v20210408/models.rb', line 1055 def deserialize(params) @OriginalField = params['OriginalField'] @Value = params['Value'] @Confidence = params['Confidence'] unless params['Location'].nil? @Location = Location.new @Location.deserialize(params['Location']) end @Field = params['Field'] end |