Marmot
Public Member Functions
Marmot::Evaluator::TableEvaluator::TableEvaluator::TableEvaluator Class Reference

List of all members.

Public Member Functions

def __init__
 TableEvaluator initializer.
def getScore
 Evaluation core.

Constructor & Destructor Documentation

def Marmot::Evaluator::TableEvaluator::TableEvaluator::TableEvaluator::__init__ (   self,
  metrics,
  labels,
  gtPage,
  obPage 
)

TableEvaluator initializer.


Remarks:
gts - ground-truth objects
obs - obtained objects
charno - page char amount
pagebox - page crop box
Parameters:
metricsperformance metrics dictionary
labelserror categories label dictionary
gtPageground-truth page content
obPageobtained page content

Member Function Documentation

def Marmot::Evaluator::TableEvaluator::TableEvaluator::TableEvaluator::getScore (   self)

Evaluation core.


Remarks:
This function determines matchings between the ground-truth table objects
and the obtained table objects according to region overlap;
Then six kinds of error types "fake, miss, split, merge, reduce, amplify"
are evaluated respectively;
During this process, more detailed errors are also judged and recorded to the
performance metrics.
Finally, a integrited penalty score is assigned as the maximum of all error scores.

The documentation for this class was generated from the following file:
 All Classes Functions