Interface DetectionFilter.Builder

    • Method Detail

      • minConfidence

        DetectionFilter.Builder minConfidence​(Float minConfidence)

        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.

        Parameters:
        minConfidence - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • minBoundingBoxHeight

        DetectionFilter.Builder minBoundingBoxHeight​(Float minBoundingBoxHeight)

        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.

        Parameters:
        minBoundingBoxHeight - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • minBoundingBoxWidth

        DetectionFilter.Builder minBoundingBoxWidth​(Float minBoundingBoxWidth)

        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.

        Parameters:
        minBoundingBoxWidth - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.