http://www.emgu.com
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.3.0.1416 (2.3.0.1416)
Finds rectangular regions in the given image that are likely to contain objects the cascade has been trained for and returns those regions as a sequence of rectangles.
Namespace: Emgu.CV.GPUAssembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public Rectangle[] DetectMultiScale<TColor>( GpuImage<TColor, byte> image, double scaleFactor, int minNeighbors, Size minSize ) where TColor : struct, new(), IColor |
Visual Basic |
---|
Public Function DetectMultiScale(Of TColor As {Structure, New, IColor}) ( _ image As GpuImage(Of TColor, Byte), _ scaleFactor As Double, _ minNeighbors As Integer, _ minSize As Size _ ) As Rectangle() |
Visual C++ |
---|
public: generic<typename TColor> where TColor : value class, gcnew(), IColor array<Rectangle>^ DetectMultiScale( GpuImage<TColor, unsigned char>^ image, double scaleFactor, int minNeighbors, Size minSize ) |
Parameters
- image
- Type: Emgu.CV.GPU..::..GpuImage<(Of <(<'TColor, Byte>)>)>
The image where search will take place
- scaleFactor
- Type: System..::..Double
The factor by which the search window is scaled between the subsequent scans, for example, 1.1 means increasing window by 10%. Use 1.2 for default.
- minNeighbors
- Type: System..::..Int32
Minimum number (minus 1) of neighbor rectangles that makes up an object. All the groups of a smaller number of rectangles than min_neighbors-1 are rejected. If min_neighbors is 0, the function does not any grouping at all and returns all the detected candidate rectangles, which may be useful if the user wants to apply a customized grouping procedure. Use 4 for default.
- minSize
- Type: System.Drawing..::..Size
Minimum window size. By default, it is set to the size of samples the classifier has been trained on (~20x20 for face detection). Use Size.Empty for default
Type Parameters
- TColor
[Missing <typeparam name="TColor"/> documentation for "M:Emgu.CV.GPU.GpuCascadeClassifier.DetectMultiScale``1(Emgu.CV.GPU.GpuImage{``0,System.Byte},System.Double,System.Int32,System.Drawing.Size)"]