protected static class SimpleOcr.CharacterMatch extends CvStage.Result.TemplateMatch
Constructor and Description |
---|
CharacterMatch(char ch,
double x,
double y,
double width,
double height,
double score) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
expandsLeft(SimpleOcr.CharacterMatch sibling) |
protected boolean |
expandsRight(SimpleOcr.CharacterMatch sibling) |
char |
getCh() |
protected int |
getCharNum() |
protected double |
getOverallScore() |
protected boolean |
isExcluded() |
protected boolean |
overlaps(SimpleOcr.CharacterMatch sibling) |
protected boolean |
precedesInLine(SimpleOcr.CharacterMatch sibling) |
protected void |
setCharNum(int charNum) |
protected void |
setExcluded() |
java.lang.String |
toString() |
public CharacterMatch(char ch, double x, double y, double width, double height, double score)
protected double getOverallScore()
protected boolean overlaps(SimpleOcr.CharacterMatch sibling)
protected boolean expandsRight(SimpleOcr.CharacterMatch sibling)
protected boolean expandsLeft(SimpleOcr.CharacterMatch sibling)
protected boolean precedesInLine(SimpleOcr.CharacterMatch sibling)
protected void setExcluded()
protected boolean isExcluded()
protected void setCharNum(int charNum)
protected int getCharNum()
public char getCh()
public java.lang.String toString()
toString
in class CvStage.Result.TemplateMatch