Click or drag to resize

ERFilterERGrouping Method

http://www.emgu.com
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: 4.1.1.3497 (4.1.1.3497)
Syntax
public static Rectangle[] ERGrouping(
	IInputArray image,
	IInputArrayOfArrays channels,
	VectorOfERStat[] erstats,
	ERFilterGroupingMethod groupMethods = ERFilterGroupingMethod.OrientationHoriz,
	string groupingTrainedFileName = null,
	float minProbability = 0.5f
)

Parameters

image
Type: Emgu.CVIInputArray
The image where ER grouping is to be perform on
channels
Type: Emgu.CVIInputArrayOfArrays
Array of single channel images from which the regions were extracted
erstats
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