http://www.emgu.com
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.GPU
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.4.10.1935 (2.4.10.1935)

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
)
F#
member DetectMultiScale : 
        image : GpuImage<'TColor, byte> * 
        scaleFactor : float * 
        minNeighbors : int * 
        minSize : Size -> Rectangle[]  when 'TColor : struct, new() and IColor

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)"]

Return Value

Type: array<Rectangle>[]()[][]
An array of regions for the detected objects

See Also