public abstract class

TopologyDetectionObserver

extends Object
java.lang.Object
   ↳ com.sap.cloud.mobile.fiori.ocr.TopologyDetectionObserver

Class Overview

A class for callbacks when detected text elements are converted into a topology

Summary

Public Constructors
TopologyDetectionObserver()
Public Methods
abstract void onTopologyDetected(TextBlockTopology topology)
Callback for passing the topology TextBlockTopology
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TopologyDetectionObserver ()

Public Methods

public abstract void onTopologyDetected (TextBlockTopology topology)

Callback for passing the topology TextBlockTopology

Parameters
topology TextBlockTopology
Returns
  • boolean representing if this topology has been accepted by the caller. This is return type acts has hint to ImageProcessing pipeline to stop or continue detections.