Enum opencv::text::erGrouping_Modes [−][src]
#[repr(C)]
pub enum erGrouping_Modes {
ERGROUPING_ORIENTATION_HORIZ,
ERGROUPING_ORIENTATION_ANY,
}
Expand description
text::erGrouping operation modes
Variants
Exhaustive Search algorithm proposed in Neumann11 for grouping horizontally aligned text. The algorithm models a verification function for all the possible ER sequences. The verification fuction for ER pairs consists in a set of threshold-based pairwise rules which compare measurements of two regions (height ratio, centroid angle, and region distance). The verification function for ER triplets creates a word text line estimate using Least Median-Squares fitting for a given triplet and then verifies that the estimate is valid (based on thresholds created during training). Verification functions for sequences larger than 3 are approximated by verifying that the text line parameters of all (sub)sequences of length 3 are consistent.
Text grouping method proposed in Gomez13 Gomez14 for grouping arbitrary oriented text. Regions are agglomerated by Single Linkage Clustering in a weighted feature space that combines proximity (x,y coordinates) and similarity measures (color, size, gradient magnitude, stroke width, etc.). SLC provides a dendrogram where each node represents a text group hypothesis. Then the algorithm finds the branches corresponding to text groups by traversing this dendrogram with a stopping rule that combines the output of a rotation invariant text group classifier and a probabilistic measure for hierarchical clustering validity assessment.
Note: This mode is not supported due NFA code removal ( https://github.com/opencv/opencv_contrib/issues/2235 )
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for erGrouping_Modes
impl Send for erGrouping_Modes
impl Sync for erGrouping_Modes
impl Unpin for erGrouping_Modes
impl UnwindSafe for erGrouping_Modes
Blanket Implementations
Mutably borrows from an owned value. Read more