A set of parameters that allow you to filter out certain results from your returned results.

interface DetectionFilter {
    MinBoundingBoxHeight?: number;
    MinBoundingBoxWidth?: number;
    MinConfidence?: number;
}

Properties

MinBoundingBoxHeight?: number

Sets the minimum height of the word bounding box. Words with bounding box heights lesser than this value will be excluded from the result. Value is relative to the video frame height.

MinBoundingBoxWidth?: number

Sets the minimum width of the word bounding box. Words with bounding boxes widths lesser than this value will be excluded from the result. Value is relative to the video frame width.

MinConfidence?: number

Sets the confidence of word detection. Words with detection confidence below this will be excluded from the result. Values should be between 0 and 100. The default MinConfidence is 80.