Hi All,
Is it possible to get multiple confidences for a field mentioned in extracted results?
I am trying to extract “Confidence=0.5” and “OcrConfidence=0.541581869”
In general, I am getting confidence as “1” if using this expression - ExtractionResults.AsDataSet(True).Tables(“Simple Fields”)(0)(“Off Peak c/kWh” & " - Confidence").ToString
{
DataSource=Automatic,
DataVersion=0,
FieldId=“Utilities.Electricity.Rate.ShoulderUsage”,
FieldName=“Shoulder c/kWh”,
FieldType=Number,
IsMissing=true,
OperatorConfirmed=false,
Values=ResultsValue[0]
{
}
},
ResultsDataPoint
{
DataSource=Automatic,
DataVersion=0,
FieldId="Utilities.Electricity.Rate.OffPeakUsage",
FieldName="Off Peak c/kWh",
FieldType=Number,
IsMissing=false,
OperatorConfirmed=false,
Values=ResultsValue[2]
{
ResultsValue
{
Components=ResultsDataPoint[0]
{
},
Confidence=1,
DerivedFields=ResultsDerivedField[1]
{
ResultsDerivedField
{
FieldId="Value",
Value="16.00"
}
},
OcrConfidence=0.913318455,
OperatorConfirmed=false,
Reference=ResultsContentReference
{
TextLength=0,
TextStartIndex=0,
Tokens=ResultsValueTokens[1]
{
ResultsValueTokens
{
Boxes=Box[1]
{
T:339.92,L:495.55,W:28.61,H:20.43
},
Page=1,
PageHeight=842,
PageWidth=595,
TextLength=0,
TextStartIndex=0
}
}
},
UnformattedValue="",
Value="16.0"
},
ResultsValue
{
Components=ResultsDataPoint[0]
{
},
Confidence=0.5,
DerivedFields=ResultsDerivedField[1]
{
ResultsDerivedField
{
FieldId="Value",
Value=""
}
},
OcrConfidence=0.541581869,
OperatorConfirmed=false,
Reference=ResultsContentReference
{
TextLength=0,
TextStartIndex=0,
Tokens=ResultsValueTokens[1]
{
ResultsValueTokens
{
Boxes=Box[1]
{
T:344.325,L:46.785,W:20.28,H:8.84
},
Page=1,
PageHeight=842,
PageWidth=595,
TextLength=0,
TextStartIndex=0
}
}
},
UnformattedValue="",
Value="All cor"
}
}
},
Please help @Lahiru.Fernando @mtu