java.lang.Object | |
↳ | com.sap.cloud.mobile.fiori.ocr.TextBlockTopology |
class to represent topology of the detected texts.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
TextBlockTopology(Collection<FioriOcrObservation.Element> elements) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
List<FioriOcrObservation.Column> |
getCols()
get list of all detected columns in the topology
| ||||||||||
List<FioriOcrObservation.Element> |
getElements()
get list of all elements on the topology
| ||||||||||
FioriOcrObservation.Element |
getNextElementInColumn(FioriOcrObservation.Element element)
Get the next element in column major after given element
| ||||||||||
FioriOcrObservation.Element |
getNextElementInRow(FioriOcrObservation.Element element)
Get the next element in the row major after given element
| ||||||||||
FioriOcrObservation.Element |
getPrevElementInColumn(FioriOcrObservation.Element element)
Get the previous element in the column major before the given element
| ||||||||||
FioriOcrObservation.Element |
getPrevElementInRow(FioriOcrObservation.Element element)
Get the previous element in the row major before the given element
| ||||||||||
List<FioriOcrObservation.Row> |
getRows()
get list of all detected rows in the topology
| ||||||||||
void |
setAcceptableError(double acceptableError)
Set the acceptable error margin while creating rows and columns
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
get list of all detected columns in the topology
get list of all elements on the topology
Get the next element in column major after given element
element | FioriOcrObservation.Element |
---|
Get the next element in the row major after given element
element | FioriOcrObservation.Element |
---|
FioriOcrObservation.Element
Get the previous element in the column major before the given element
element | FioriOcrObservation.Element |
---|
Get the previous element in the row major before the given element
element | FioriOcrObservation.Element |
---|
get list of all detected rows in the topology
Set the acceptable error margin while creating rows and columns
acceptableError | acceptable error margin in double |
---|