Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "types/opencv/objdetect"

Index

Variables

Const CASCADE_DO_CANNY_PRUNING

CASCADE_DO_CANNY_PRUNING: any

Const CASCADE_DO_ROUGH_SEARCH

CASCADE_DO_ROUGH_SEARCH: any

Const CASCADE_FIND_BIGGEST_OBJECT

CASCADE_FIND_BIGGEST_OBJECT: any

Const CASCADE_SCALE_IMAGE

CASCADE_SCALE_IMAGE: any

Functions

createFaceDetectionMaskGenerator

  • createFaceDetectionMaskGenerator(): any

groupRectangles

  • groupRectangles(rectList: any, groupThreshold: int, eps?: double): void
  • groupRectangles(rectList: any, weights: any, groupThreshold: int, eps?: double): void
  • groupRectangles(rectList: any, groupThreshold: int, eps: double, weights: any, levelWeights: any): void
  • groupRectangles(rectList: any, rejectLevels: any, levelWeights: any, groupThreshold: int, eps?: double): void
  • The function is a wrapper for the generic function partition . It clusters all the input rectangles using the rectangle equivalence criteria that combines rectangles with similar sizes and similar locations. The similarity is defined by eps. When eps=0 , no clustering is done at all. If $\\texttt{eps}\\rightarrow +\\inf$ , all the rectangles are put in one cluster. Then, the small clusters containing less than or equal to groupThreshold rectangles are rejected. In each other cluster, the average rectangle is computed and put into the output rectangle list.

    Parameters

    • rectList: any

      Input/output vector of rectangles. Output vector includes retained and grouped rectangles. (The Python list is not modified in place.)

    • groupThreshold: int

      Minimum possible number of rectangles minus 1. The threshold is used in a group of rectangles to retain it.

    • Optional eps: double

      Relative difference between sides of the rectangles to merge them into a group.

    Returns void

  • This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

    Parameters

    • rectList: any
    • weights: any
    • groupThreshold: int
    • Optional eps: double

    Returns void

  • This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

    Parameters

    • rectList: any
    • groupThreshold: int
    • eps: double
    • weights: any
    • levelWeights: any

    Returns void

  • This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

    Parameters

    • rectList: any
    • rejectLevels: any
    • levelWeights: any
    • groupThreshold: int
    • Optional eps: double

    Returns void

groupRectangles_meanshift

  • groupRectangles_meanshift(rectList: any, foundWeights: any, foundScales: any, detectThreshold?: double, winDetSize?: Size): void
  • This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

    Parameters

    • rectList: any
    • foundWeights: any
    • foundScales: any
    • Optional detectThreshold: double
    • Optional winDetSize: Size

    Returns void

Generated using TypeDoc