Click or drag to resize

ERFilterERGrouping Method
Find groups of Extremal Regions that are organized as text blocks.

Namespace:  Emgu.CV.Text
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: (
public static Rectangle[] ERGrouping(
	IInputArray image,
	IInputArrayOfArrays channels,
	VectorOfERStat[] erstats,
	ERFilterGroupingMethod groupMethods = ERFilterGroupingMethod.OrientationHoriz,
	string groupingTrainedFileName = null,
	float minProbability = 0.5f


Type: Emgu.CVIInputArray
The image where ER grouping is to be perform on
Type: Emgu.CVIInputArrayOfArrays
Array of single channel images from which the regions were extracted
Type: Emgu.CV.TextVectorOfERStat
Vector of ER’s retrieved from the ERFilter algorithm from each channel
groupMethods (Optional)
Type: Emgu.CV.TextERFilterGroupingMethod
The grouping methods
groupingTrainedFileName (Optional)
Type: SystemString
The XML or YAML file with the classifier model (e.g. trained_classifier_erGrouping.xml)
minProbability (Optional)
Type: SystemSingle
The minimum probability for accepting a group.

Return Value

Type: Rectangle
The output of the algorithm that indicates the text regions
See Also