Property HumanVerificationThreshold
- Namespace
- LMKit.Extraction
- Assembly
- LM-Kit.NET.dll
HumanVerificationThreshold
Gets or sets the confidence threshold below which
HumanVerificationRequired is set to true.
public float HumanVerificationThreshold { get; set; }
Property Value
- float
A floating-point value in the range [0.0, 1.0]. The default value is 0.7.
Examples
var te = new TextExtraction(model)
{
HumanVerificationThreshold = 0.85f // stricter threshold
};
te.Elements = new List<TextExtractionElement>
{
new TextExtractionElement("Total", ElementType.Double)
};
te.SetContent("Total: $42.00");
var result = te.Parse();
if (result.HumanVerificationRequired)
{
Console.WriteLine("Please verify the extracted data.");
}
Remarks
When any extracted element's per-field confidence score falls below this threshold,
the result's HumanVerificationRequired property
will be true, signaling that a human reviewer should verify the output.