<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Formalization and Preliminary Evaluation of a Pipeline for Text Extraction from Infographics</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Falk Böschen</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ansgar Scherp</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Kiel University</institution>
          ,
          <addr-line>Kiel</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>ZBW - Leibniz Information Centre for Economics</institution>
          ,
          <addr-line>Kiel</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <fpage>20</fpage>
      <lpage>31</lpage>
      <abstract>
        <p>We propose a pipeline for text extraction from infographics that makes use of a novel combination of data mining and computer vision techniques. The pipeline defines a sequence of steps to identify characters, cluster them into text lines, determine their rotation angle, and apply state-of-the-art OCR to recognize the text. In this paper, we formally define the pipeline and present its current implementation. In addition, we have conducted preliminary evaluations over a data corpus of 121 manually annotated infographics from a broad range of illustration types such as bar charts, pie charts, and line charts, maps, and others. We assess the results of our text extraction pipeline by comparing it with two baselines. Finally, we sketch an outline for future work and possibilities for improving the pipeline.</p>
      </abstract>
      <kwd-group>
        <kwd>infographics</kwd>
        <kwd>OCR</kwd>
        <kwd>multi-oriented text extraction</kwd>
        <kwd>formalization</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Information graphics (short: infographics) are widely used to visualize core
information like statistics, survey data or research results of scientific publications
in a comprehensible manner. They contain information that is frequently not
present in the surrounding text [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Current (web) retrieval systems do not
consider this additional text information encoded in infographics. One reason might
be the varying properties of text elements in infographics that makes it difficult
to apply automated extraction techniques. First, information graphics contain
text elements at various orientations. Second, text in infographics varies in font,
size and emphasis and it comes in a wide range of colors on varying background
colors.
      </p>
      <p>Therefore, we propose a novel infographic processing pipeline that makes
use of an improved combination of methods from data mining and computer
vision to find and recognize text in information graphics. We evaluate on 121
infographics extracted from an open access corpus of scientific publications to
demonstrate the effectiveness of our approach. It significantly outperforms two
baselines based on the open source OCR engine Tesseract3.</p>
      <p>Subsequently, we discuss the related work. Section 3 presents our pipeline
for text extraction and Section 4 specifies the experiment set-up and dataset
used. The results regarding our OCR accuracy are presented in Section 5 and
discussed in Section 6.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Related Work</title>
      <p>
        Research on analyzing infographics is commonly conducted on classifying the
information graphics into their diagram type [
        <xref ref-type="bibr" rid="ref27">27</xref>
        ] or separating the text from
graphical elements [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ]. Information graphics show a variety in
appearance, which makes such classifications challenging. Thus, many researchers focus
on specific types of infographics, e. g., extracting text and graphics from 2D plots
using layout information [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. Other works intend to extract the conveyed
message (category) of an infographic [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ]. Many research works focus on bar charts,
pie charts and line charts when extracting text and graphical symbols [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ],
reengineer the original data [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], [
        <xref ref-type="bibr" rid="ref22">22</xref>
        ], or determine the infographic’s core-message [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] to
render it in a different modality or make it accessible to visually impaired users.
      </p>
      <p>
        In any case, one requires clean and accurate OCR results for more complex
processing steps, e. g. determining a message. Therefore, they use manually
entered text. A different approach [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] to make infographics available to sight
impaired users is to translate infographics into Braille, the tactile language,
which requires text extraction and layout analysis. This research is similar to
our approach but relies on a semi-automatic approach which requires several
minutes of human interaction per infographic. Furthermore their approach is
challenged by image noise and their supervised character detection algorithm
works under the assumption that the text has a unified style, i. e., font, size,
and others. Another more specialized approach for mathematical figures [
        <xref ref-type="bibr" rid="ref25">25</xref>
        ]
describes a pipeline for (mathematical-)text and graphic separation, but only for
line graphs and the evaluation corpus is very small and they do not conduct any
kind of OCR to verify the results. The assumption to automatically generate
high-quality OCR on infographics with today’s tools is certainly far-fetched.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>TX Processing Pipeline</title>
      <p>
        Our Text eXtraction from infographics (short: TX) pipeline consists of five steps
plus a final evaluation step as shown in Figure 1. It combines certain ideas from
related research [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ] to build an automated pipeline which takes an
infographic as input and returns all contained text. An initial version of our
pipeline was briefly presented in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Here we elaborate in detail on the steps of
the pipeline, formalize it, and extend our evaluation. Given the heterogeneous
3 https://github.com/tesseract-ocr, last access: Sep 07, 2015
Region
extraction
      </p>
      <p>Grouping
regions
into text
elements</p>
      <p>Computing
of text lines</p>
      <p>Estimating
orientation
of text lines</p>
      <p>Rotate
regions
and apply</p>
      <p>OCR</p>
      <p>Evaluation
research field, a formalization is required to map the related work for a thorough
comparison and assessment. In our pipeline, an information graphic I is defined
as a set of pixels P with p = (x, y) ∈ P ∧x ∈ {1 . . width(I)}∧y ∈ {1 . . height(I)}
where the latter two are integer arrays. The color information of each pixel p
is defined by a function Ψ : P → S, where S is a color space. We use this
information implicitly during our pipeline and use multiple Ψ functions to map
to certain color spaces (e.g. RGB, grey scale,. . .). A set of text elements T is
generated from P by applying the text extraction function Υ :</p>
      <p>
        Υ : P, Ψ → T
Each text element τ ∈ T is a sequence of regular expressions ωi specified as
τ =&lt; ω1, ..., ωn &gt;, separated by blank space characters, and with ω =
[A-Za-z09!"§$%&amp;/()=?´°{[]}\‘+-*,.;:|’#@_∼&lt;&gt;eé£©®¥¢]∗. In the following, we break
down the formalization of Υ into five sub-functions υj , one function for each step
in our pipeline. We define Υ as a composition:
Υ := υ5 ◦ υ4 ◦ υ3 ◦ υ2 ◦ υ1
(1)
(2)
An overview of the notation used in this paper can be found in Table 1.
(1)Region extraction: The first step is to compute a set of disjoint regions
R from the infographic’s pixel set P using adaptive binarization and Connected
Component Labeling [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ]. This step is formally defined as:
υ1 : P → R, R := {r|r ⊂ P ∧ r 6= ∅ ∧ ∀i, j, i 6= j : ri ∩ rj = ∅}
(3)
Each region r ∈ R is a set of pixels forming a connected space, i.e. each region
has a single outer boundary, but may contain multiple inner boundaries (holes).
Furthermore, the constraints in equation 3 ensure that all regions are non-empty
and disjoint. First, we perform a newly-developed hierarchical, adaptive
binarization that splits the infographic into tiles. The novelty of this approach is that
it computes individual local thresholds to preserve the contours of all elements.
This is based on the assumption that the relevant elements of an infographic are
distinguishable through their edges. We start with a subdivision of the original
image into four tiles by halving its height and width. For each tile, we apply the
popular Sobel operator [
        <xref ref-type="bibr" rid="ref24">24</xref>
        ] to determine the edges. We compute the Hausdorff
distance [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] over the edges of the current tiles and their parent tile. We further
subdivide a tile, by halving its height and width, if a certain empirical value
is not reached. A threshold for each tile is computed with Otsu’s method [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ]
and the final threshold per pixel is the average of all thresholds for that pixel.
This procedure appeared to be more noise tolerant and outperformed the usual
methods, e. g., fixed threshold or histogram, during preliminary tests. The
resulting binary image is labeled using the Connected Component Labeling method.
This method iterates over a binary image and computes regions based on the
pixel neighborhood giving each region a unique label. From the binary image,
we compute for each region r the relevant image moments [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] mpq as defined
by:
with p, q = 0, 1, 2, . . .
      </p>
      <p>(4)
mpq = X X xpyqΨ
x</p>
      <p>y
Please note that p, q hereby denote the p, qth moment and may not be mistaken
with the notation used in the remaining paper. For binary images, Ψ takes the
values 0 or 1 and therefore only pixels contained in a region are considered
for the computation of the moments. Using the first-order moments, we can
compute each regions center of mass. Afterwards, we apply simple heuristics
to perform an initial filtering. We discard all regions that fulfill the following
constraints: (a) Either width or height of the region’s bounding box are above
average width/height plus 3 times standard deviation (e.g. axes) or (b) bounding
box is smaller than 0.001% of the infographic’s size (noise) as well as (c) elements
occupying more than 80% of their bounding box (e.g. legend symbols). The
function υ1 generates a set of regions R, which can be categorized into “text
elements” and “graphic symbols”, the two types of elements in an infographic.
Thus, in a next step we need to separate good candidates for text elements from
other graphical symbols.</p>
      <p>
        (2) Grouping regions to text elements: The second step computes a clustering
C from the set of regions R by using DBSCAN [
        <xref ref-type="bibr" rid="ref26">26</xref>
        ] on the regions’ features:
υ2 : R → C, C := {c ⊆ R|c 6= ∅ ∧ ∀i, j, i 6= j : ci ∩ cj = ∅}
(5)
Each cluster c ∈ C is a subset of the regions R and all cluster are disjoint. For
each region, the calculated feature vector comprises the x/y-coordinates of the
region’s center of mass, the width and height of its bounding box, and its
massto-area ratio. Due to the huge variety of infographics, we apply the density-based
hard clustering algorithm DBSCAN to categorize regions into text elements or
noise (graphic symbols and others). This step outputs a clustering C where each
cluster is a set of regions representing a candidate text element. We assume that
these cluster contain only text while all graphical symbols are classified as noise.
      </p>
      <p>
        (3) Computing of text lines: In this step, we generate a set of text lines C0 on
the clustering C by further subdividing each cluster c ∈ C. A text line c0 is a set
of regions that forms a single line, i.e. the OCR output for these regions is a single
line of text. Each clustering c instead may generate multiple lines of text when
processed by an OCR engine and therefore may implicitly contain other white
space characters. To this end, we apply a second clustering based on a Minimum
Spanning Tree (MST) [
        <xref ref-type="bibr" rid="ref26">26</xref>
        ] on top of the DBSCAN results, since clusters created
by DBSCAN do not necessarily represent text lines. We compute a forest of
Minimum Spanning Trees, one MST for each DBSCAN cluster. By splitting up
the MST, a set of text lines for each cluster will be built. The rationale is that
regions belonging to the same text lines a) tend to be closer together (than other
regions) and b) the edges between those regions are of similar orientation. This
is defined as:
υ3 : C → C0, C0 := {c0 ⊆ c|c ∈ C ∧ c0 6= ∅ ∧ ∀i, j, i 6= j : c0i ∩ c0j = ∅}
(6)
Each text line c0 ∈ C0 contains a subset of the regions of a specific cluster c ∈ C.
Again, all text lines are non-empty and disjoint. For each cluster, the MST is built
using the regions’ center of mass coordinates which are the first two elements of
the feature vectors computed in Step 2. We compute a histogram over the angles
between the edges in the tree and discard those edges that differ from the main
orientation. The orientation outliers are estimated from the angle histogram by
finding the maximal occurring orientation and defining an empirical estimated
range of ±60 degrees, where everything outside is an outlier.
      </p>
      <p>
        (4) Estimating the orientation of text lines: In Step 4, we compute an
orientation α ∈ A for each text line c0 ∈ C0 so that we can rotate each line into
horizontal orientation for OCR. This can be formalized as:
υ4 : C0 → C0 × A, A := Z ∩ [−90, 90]
(7)
Every orientation angle α ∈ A for a text line c0 can have an integer value from
-90 to 90 degree. While the MST used in the previous step can well produce
potential text lines, it is not well suited for estimating the orientation of text
lines as it is constructed on the center of mass coordinates which differ from
region to region. Thus, we apply a standard Hough line transformation [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]
to estimate the actual text orientation. During the Hough transformation, the
coordinates of the center of mass of each element are transformed into a line
in Hough space, which is defined by angle and distance to origin, creating a
maximal intersection at the lines’ orientation. This computation is robust with
regard to a small number of outliers that are not part of the main orientation.
      </p>
      <p>(5) Rotate regions and apply OCR: The final step rotates the text lines along
an angle of −α in order to apply a standard OCR tool. It is defined as:
υ5 : C0 × A → T
(8)
We cut sub-images from the original graphic using the text lines C0 from υ3,
rotate them based on their orientation A from υ4 and finally apply OCR.</p>
      <p>Step 6, the evaluation of the results, is described in detail below.
4</p>
    </sec>
    <sec id="sec-4">
      <title>Evaluation Setup</title>
      <p>We assess the results of our pipeline TX by comparing it with two baselines based
on Tesseract, a state-of-the-art OCR engine. In our evaluation, we compute the
performance over 1-,2- and 3-grams as well as words. During the evaluation, we
match the results of TX and the baselines with some gold standard. Both, the
position of the text elements as well as their orientation are considered in this
process. We use different evaluation metrics as described in Section 4.4.
4.1</p>
      <sec id="sec-4-1">
        <title>Dataset and Gold Standard</title>
        <p>Our initial corpus for evaluating our pipeline consists of 121 infographics, which
are manually labeled to create our gold standard. Those 121 infographics were
randomly retrieved from an open access corpus of 288,000 economics
publications. 200,000 candidates for infographics were extracted from these
publications. All selected candidates have a width and height between 500 and 2000
pixel, since images below 500 most likely do not contain text of sufficient size
and images above 2000 pixel appear to be full page scans in many cases. From
the candidate set, we randomly picked images - one at a time - and presented
them to a human viewer to confirm that it is an infographic. We developed a
labeling tool to manually define text elements in infographics for the generation
of our gold standard. For each text element we recorded its position, dimension,
rotation and its alpha-numeric content. Please note that we considered using
existing datasets like the 880 infographics from the University of Delaware4, but
they were incomplete or of poor quality.
4.2</p>
      </sec>
      <sec id="sec-4-2">
        <title>Baselines</title>
        <p>
          Today’s tools are incapable of extracting text from arbitrary infographics. Even
approaches from recent research works, as presented in Section 2, are too
restrictive to be applicable on information graphics in general. This holds also for
specialized research like rotation-invariant OCR [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ], [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ]. Since no specialized
tools exist that could be used as a baseline, we rely on Tesseract, the
state-ofthe-art OCR engine, as our initial baseline (BL-1). It is reasonable to use this
baseline, since Tesseract supports a rotation margin of ±15° [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ] and is capable
of detecting text rotated at ±90° due to its integrated layout analysis. Since
infographics often contain text at specific orientations (0°,±45°,±90°), we also
apply a second baseline. This second baseline (BL-2) consists of multiple runs of
Tesseract with the rotated infographic at the above specified angles. We combine
the five results from the different orientations by merging the results between
those sets and in case of overlaps we take the element with greatest width.
4 http://ir.cis.udel.edu/~moraes/udgraphs/, last access: Sep 07, 2015
4.3
        </p>
      </sec>
      <sec id="sec-4-3">
        <title>Mapping to Gold Standard</title>
        <p>The most accurate approach to compare OCR results with the gold standard
would be to evaluate the results on the level of individual characters. Our
pipeline, the baselines and the gold standard generate their output on
varying levels. Only our pipeline supports the output of individual character regions.
Tesseract supports only words, as specified in the hOCR standard5, on the lowest
level. Thus, we transform the gold standard and pipeline output to word level
under the assumption of equality in line height and character width. Each text
element is defined by its position, i.e. x/y coordinates of the upper left corner
of the bounding box , its dimensions determined by width and height of the
bounding box and its orientation in terms of a rotation angle around its center.
We subdivide each text element τ into words by splitting at blank spaces and
carriage returns. The new position and dimensions for each word ω ∈ Ω are
computed while retaining the text element’s orientation. This is defined by:</p>
        <p>C00 := {c00 ⊆ c0|c0 ∈ C0 ∧ c00 6= ∅ ∧ ∀i, j, i 6= j : c0i0 ∩ c0j0 = ∅}
The bounding boxes of the individual words are matched between TX and gold
standard as well as baselines and gold standard for evaluation. For each word
ω ∈ Ω we compute the contained n-grams for further evaluation.
Φ : T × C0 × A → Ω × C00 × A
Ω := {ω ∈ τ |τ ∈ T }
(9)
(10)
(11)
4.4</p>
      </sec>
      <sec id="sec-4-4">
        <title>Evaluation Metrics</title>
        <p>As previously mentioned, we are evaluating our pipeline over n-grams and words.
Since infographics often contain sparse and short text as well as short numbers,
we only use 1-,2-, and 3-grams. We use standard metrics precision (P R),
recall (RE), and F1-measure (F1) for our n-grams evaluation as defined by:
P R = |Extr ∩ Rel| , RE = |Extr ∩ Rel| , F1 =
|Extr| |Rel|
2 · P R · RE
P R + RE
(12)
Here, Extr refers to the n-grams as they are computed from text elements that
are extracted from an infographic by TX and the baseline, respectively. Rel
refers to the relevant n-grams from the gold standard. For comparing individual
words (i. e. sequences of alpha-numeric characters separated by blank or carriage
return), we use standard Levenshtein distance. The same n-gram can appear
multiple times in both the extractions result from TX, the baselines, as well as
the gold standard. Thus, we have to deal with multisets when computing our
evaluation metrics. In order to accommodate this, we have to slightly modify the
standard definitions of P R and RE, respectively. To properly account for the
number of times an n-gram can appear in Extr or Rel, we define the counter
5 The hOCR Embedded OCR Workflow and Output Format:
http://tinyurl.com/hOCRFormat, last access: Sep 07, 2015
function CM (x) := |{x|x ∈ M }| (as an extension of a set indicator function) over
a multiset M . For an intersection of multisets M and N , the counter function is
formally defined by:</p>
        <p>Based on CM∩N (x), we define P R and RE for multisets:</p>
        <p>CM∩N (x) := min{CM (x), CN (x)}
P R =
RE =</p>
        <sec id="sec-4-4-1">
          <title>Px∈Extr∪Rel CExtr∩Rel(x) Px∈Extr CExtr(x)</title>
        </sec>
        <sec id="sec-4-4-2">
          <title>Px∈Extr∪Rel CExtr∩Rel(x) Px∈Rel CRel(x)</title>
          <p>(13)
(14)
(15)</p>
          <p>
            Specific cases may happen when either one of the sets Extr or Rel is empty.
One case is that our pipeline TX or the baselines do not extract text where they
should, i. e., Extr = ∅ and Rel 6= ∅. When such a false negative happens, we
define P R := 0 and RE := 0 following Groot et al. [
            <xref ref-type="bibr" rid="ref8">8</xref>
            ]. For the second situation,
when the approaches we compare find something where they shouldn’t (false
positives), i. e., Extr 6= ∅ and Rel = ∅, we define P R := 0 and RE := 1.
5
          </p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Results</title>
      <p>This section presents the results of our initial evaluation to assess the quality of
the OCR results using our pipeline. We start with a descriptive statistics of the
gold standard and the extraction results over the infographics. Subsequently, we
present the evaluation results in terms of precision, recall and F1-measure for
infographic and word-level evaluation of TX and the two baselines as well as the
Levenshtein distances computed for the extracted text and the gold standard.
Data Characteristics: Table 2 presents the average numbers and standard
deviation (in brackets) with regard to n-grams, words and word length for our
extraction pipeline (TX), both baselines (BL-1/-2), and gold standard (GS).
Table 2 clearly shows that our novel pipeline detects at least 1.5 as many
ngrams and words as BL-1 and still some more than BL-2. Compared with the
gold standard, TX extracts more n-grams and words. In addition TX and the
baselines extract words shorter than the gold standard. Overall, we observe high
standard deviations in the gold standard and the extraction results.
Evaluation results on word-level n-grams: The average precision (P R), recall
(RE) and F1-measures for n-grams in Table 3 (standard deviation in brackets)
show a relative improvement (Diff.) of TX over BL-1 of about 30% on
average. The differences are computed by setting the pipeline results into relation
with the baselines. We verified the improvement using significance tests, i.e.,
if the two distributions obtained from TX and BL-1/2 significantly differ. We
checked whether the data follows a normal distribution and has equal variances.
Subsequently, we have applied Student’s t-tests or the non-parametric Wilcoxon
signed rank test. For all statistical tests, we apply a standard significance level
of α = 5%. All TX/BL-1 comparison results are significant with p &lt; .01 except
for the recall over trigrams which has p &lt; 0.046. The test statistics for t-tests
are between −7.5 and −3.1 and for the Wilcoxon tests between 1808 and 2619.
The second part of Table 3 reports the comparison between TX and BL-2. The
results are similar to the previous comparison, but for recall over unigrams and
F1-measure over trigrams the improvement is smaller. Here, all differences are
significant with a p-value of p &lt; .01 except for the recall and F1-measure over
trigrams with p &lt; 0.049 and p &lt; 0.027, respectively. The test statistics for t-tests
are between −6.8 and −3.1 and between 1652 and 2626 for non-parametric tests.
Finally, we observe a smaller performance increase when comparing the results
from 1-grams to 3-grams as well as overall high standard deviations.</p>
      <p>TX
BL-1
Diff.</p>
      <p>BL-2
Diff.
Evaluation results on infographic level n-grams: We conducted another
evaluation on infographic level where we did not consider the location mapping
constraint between words and compared the n-grams for the whole infographic.
The results are shown in Table 3 for both baselines BL-1 and BL-2. While
having on average higher values for all metrics in both comparisons, the relative
improvement for precision, recall, and F1-measure compared with the word level
evaluation decreases in most cases. The significance of the results is only given
for recall and F1-measure, but not for precision. For recall and F1-measure we
have p &lt; .04 and the test statistics are between −9.2 and −2.4 for t-tests.
Evaluation on words (Levenshtein): For TX the Levenshtein distance is on
average 2.23 (SD=1.29). Hence, for an exact match one has to alter about two
characters. The average Levenshtein distance for BL-1 is 2.53 (SD=1.59) and
we verified that they differ significantly (t(120) = 2.10, p &lt; .04). The difference
in Levenshtein from BL-2 to TX with an average distance of 2.54 (SD=1.51) is
significant as well (V (120) = 4713, p &lt; .01).</p>
      <p>Special case evaluations: The number of special cases for TX are on average
12.94 (SD=17.88) false negatives and 49.87 (SD=31.52) false positives. For
BL1 we can instead report 17.01 (SD=17.40) false negatives and 5.67 (SD=9.42)
false positives on average. BL-2 generates on average 9.03(SD=15.61) false
negatives and 17.01(SD=17.40) false positives. Comparing TX pipeline with BL-1
shows that TX produces significantly less false negatives (V (120) = 4503.5, p &lt;
.01), but simultaneously generates significantly more false positives (t(120) =
−16.6, p &lt; .001). The second baseline is on average better than TX with regard
to false negatives and false positives.
6</p>
    </sec>
    <sec id="sec-6">
      <title>Discussion</title>
      <p>Our novel pipeline shows promising results for the extraction of multi-oriented
text from information graphics. The difference between word and infographic
level evaluation can be explained by the constraints induced by the matching
procedure on word-level. The main reason for the performance improvement is
the increased recall, which is a result of finding text at non-horizontal angles.
We define all elements as non-horizontal which have an orientation outside of
Tesseract’s tolerance range of ±15 degree. About 20% of the words in an
infographic are on average at non-horizontal orientation, as specified by the gold
standard. Our pipeline output consists to 37% of non-horizontal words while
extracting 41% more words on average than actually present in the gold standard.
On the other hand, the first baseline which extracts only about 77% as many
words as actually contained, all of horizontal orientation. The second baseline is
closest to the gold standard with respect to the number of extracted words and
contains on average 31% non-horizontal words. In addition, we have improved
precision and therefore an overall performance increase, collected through the
F1-measure, with TX. The standard deviation is in all cases quite high, which
can be explained by the variance in the gold standard. Consequently, these are
dataset characteristics and not issues of TX or the baselines.</p>
      <p>The lower number of 3-grams, which are on average only half as many as
1-grams, is a potential negative influence on the results. As reported in Table 2,
there is a high standard deviation of the number of n-grams in the gold standard.
Thus, some graphic might not even contain 3-grams. However for most cases,
there are on average 85 3-grams per infographic as denoted by the gold standard
statistics in Table 2, which is enough for reasonable results.</p>
      <p>Furthermore, TX produces less false negatives, i. e., it extracts more text
elements from the gold standard than BL-1. But it still makes more mistakes with
regard to extracting text elements where there are none in the gold standard.
This is reflected in Table 2, where TX extracts on average more text elements
than there are actually present in the gold standard. These false positives
often consist of special characters such as colons, semicolons, dots, hyphens, and
others. Removing them will be a future extension of our work.
7</p>
    </sec>
    <sec id="sec-7">
      <title>Conclusion</title>
      <p>We have presented our novel pipeline for multi-oriented text extraction from
information graphics and proved its concept on a set of 121 infographics. Our
text extraction shows a significant increase in F1-measure over two baselines,
which is explained by detecting text elements at non-horizontal angles. In our
future work, we plan to add a merge step after the MST clustering to reduce the
Levenshtein distance and to perform entity detection over the text extraction
results. In addition, we want to apply our pipeline to a larger set of infographics
for a more thorough evaluation. We will create the required gold standard using
crowd-sourcing in the near future. Finally, we plan to include alternative OCR
engines like Ocropus to find the best solution for our needs.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>P.</given-names>
            <surname>Agrawal</surname>
          </string-name>
          and
          <string-name>
            <given-names>R.</given-names>
            <surname>Varma</surname>
          </string-name>
          .
          <article-title>Text extraction from images</article-title>
          .
          <source>IJCSET</source>
          ,
          <volume>2</volume>
          (
          <issue>4</issue>
          ):
          <fpage>1083</fpage>
          -
          <lpage>1087</lpage>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>F.</given-names>
            <surname>Böschen</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Scherp</surname>
          </string-name>
          <article-title>. Multi-oriented text extraction from information graphics</article-title>
          .
          <source>In ACM DocEng</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>S.</given-names>
            <surname>Carberry</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Elzer</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Demir</surname>
          </string-name>
          .
          <article-title>Information graphics: an untapped resource for digital libraries</article-title>
          .
          <source>In SIGIR</source>
          , pages
          <fpage>581</fpage>
          -
          <lpage>588</lpage>
          . ACM,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>S.</given-names>
            <surname>Carberry</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. E.</given-names>
            <surname>Schwartz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K. F.</given-names>
            <surname>McCoy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Demir</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Greenbacker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Chester</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Schwartz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Oliver</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P.</given-names>
            <surname>Moraes</surname>
          </string-name>
          .
          <article-title>Access to Multimodal Articles for Individuals with Sight Impairments</article-title>
          .
          <source>TiiS</source>
          ,
          <volume>2</volume>
          (
          <issue>4</issue>
          ):
          <volume>21</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>21</lpage>
          :
          <fpage>49</fpage>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>D.</given-names>
            <surname>Chester</surname>
          </string-name>
          and
          <string-name>
            <given-names>S.</given-names>
            <surname>Elzer</surname>
          </string-name>
          .
          <article-title>Getting Computers to See Information Graphics So User Do Not Have to</article-title>
          .
          <source>In Foundations of Intelligent Systems</source>
          , volume
          <volume>3488</volume>
          <source>of LNCS</source>
          , pages
          <fpage>660</fpage>
          -
          <lpage>668</lpage>
          . Springer,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>S. R.</given-names>
            <surname>Choudhury</surname>
          </string-name>
          and
          <string-name>
            <given-names>C. L.</given-names>
            <surname>Giles</surname>
          </string-name>
          .
          <article-title>An architecture for information extraction from figures in digital libraries</article-title>
          .
          <source>In WWW</source>
          , pages
          <fpage>667</fpage>
          -
          <lpage>672</lpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>J.</given-names>
            <surname>Gao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhou</surname>
          </string-name>
          , and
          <string-name>
            <given-names>K. E.</given-names>
            <surname>Barner</surname>
          </string-name>
          . VIEW:
          <article-title>Visual information extraction widget for improving chart images accessibility</article-title>
          .
          <source>In ICIP</source>
          , pages
          <fpage>2865</fpage>
          -
          <lpage>2868</lpage>
          . IEEE,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>P.</given-names>
            <surname>Groot</surname>
          </string-name>
          ,
          <string-name>
            <surname>F. van Harmelen</surname>
          </string-name>
          ,
          <article-title>and A. ten Teije. Torture tests: A quantitative analysis for the robustness of knowledge-based systems</article-title>
          .
          <source>In EKAW</source>
          , pages
          <fpage>403</fpage>
          -
          <lpage>418</lpage>
          ,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>F.</given-names>
            <surname>Hausdorff</surname>
          </string-name>
          .
          <article-title>Grundzüge der Mengenlehre</article-title>
          . AMS Chelsea Publishing Series. Chelsea Publishing Company,
          <year>1949</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>M.</given-names>
            <surname>Hu</surname>
          </string-name>
          .
          <article-title>Visual pattern recognition by moment invariants</article-title>
          .
          <source>IRE Transactions on Information Theory</source>
          ,
          <volume>8</volume>
          (
          <issue>2</issue>
          ):
          <fpage>179</fpage>
          -
          <lpage>187</lpage>
          ,
          <year>1962</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>W.</given-names>
            <surname>Huang</surname>
          </string-name>
          and
          <string-name>
            <given-names>C. L.</given-names>
            <surname>Tan</surname>
          </string-name>
          .
          <article-title>A system for understanding imaged infographics and its applications</article-title>
          .
          <source>In ACM DocEng</source>
          , pages
          <fpage>9</fpage>
          -
          <lpage>18</lpage>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>J.</given-names>
            <surname>Illingworth</surname>
          </string-name>
          and
          <string-name>
            <given-names>J.</given-names>
            <surname>Kittler</surname>
          </string-name>
          .
          <article-title>A survey of the hough transform</article-title>
          .
          <source>Computer Vision</source>
          , Graphics, and Image Processing,
          <volume>44</volume>
          (
          <issue>1</issue>
          ):
          <fpage>87</fpage>
          -
          <lpage>116</lpage>
          ,
          <year>1988</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>C.</given-names>
            <surname>Jayant</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Renzelmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Wen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Krisnandi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. E.</given-names>
            <surname>Ladner</surname>
          </string-name>
          , and
          <string-name>
            <given-names>D.</given-names>
            <surname>Comden</surname>
          </string-name>
          .
          <article-title>Automated tactile graphics translation: in the field</article-title>
          .
          <source>In ASSETS</source>
          , pages
          <fpage>75</fpage>
          -
          <lpage>82</lpage>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>S.</given-names>
            <surname>Kataria</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Browuer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Mitra</surname>
          </string-name>
          , and
          <string-name>
            <given-names>C. L.</given-names>
            <surname>Giles</surname>
          </string-name>
          .
          <article-title>Automatic extraction of data points and text blocks from 2-dimensional plots in digital documents</article-title>
          .
          <source>In Advancement of Artificial Intelligence</source>
          , pages
          <fpage>1169</fpage>
          -
          <lpage>1174</lpage>
          . AAAI,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>R. E.</given-names>
            <surname>Ladner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. Y.</given-names>
            <surname>Ivory</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Rao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Burgstahler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Comden</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Hahn</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Renzelmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Krisnandi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ramasamy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Slabosky</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Martin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Lacenski</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Olsen</surname>
          </string-name>
          , and
          <string-name>
            <given-names>D.</given-names>
            <surname>Groce</surname>
          </string-name>
          .
          <article-title>Automating tactile graphics translation</article-title>
          .
          <source>In ASSETS</source>
          , pages
          <fpage>150</fpage>
          -
          <lpage>157</lpage>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Stagitis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Carberry</surname>
          </string-name>
          , and
          <string-name>
            <given-names>K. F.</given-names>
            <surname>McCoy</surname>
          </string-name>
          .
          <article-title>Towards retrieving relevant information graphics</article-title>
          .
          <source>In SIGIR</source>
          , pages
          <fpage>789</fpage>
          -
          <lpage>792</lpage>
          . ACM,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>R.</given-names>
            <surname>Mariani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. P.</given-names>
            <surname>Deseilligny</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Labiche</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>Mullot</surname>
          </string-name>
          .
          <article-title>Algorithms for the hydrographic network names association on geographic maps</article-title>
          .
          <source>In ICDAR. IEEE</source>
          ,
          <year>1997</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>N.</given-names>
            <surname>Otsu</surname>
          </string-name>
          .
          <article-title>A threshold selection method from gray-level histograms</article-title>
          .
          <source>TSMC</source>
          ,
          <volume>9</volume>
          (
          <issue>1</issue>
          ):
          <fpage>62</fpage>
          -
          <lpage>66</lpage>
          ,
          <year>1979</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>P. M.</given-names>
            <surname>Patil</surname>
          </string-name>
          and
          <string-name>
            <given-names>T. R.</given-names>
            <surname>Sontakke</surname>
          </string-name>
          .
          <article-title>Rotation, scale and translation invariant handwritten devanagari numeral character recognition using general fuzzy neural network</article-title>
          .
          <source>Pattern Recogn</source>
          .,
          <volume>40</volume>
          (
          <issue>7</issue>
          ):
          <fpage>2110</fpage>
          -
          <lpage>2117</lpage>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>H.</given-names>
            <surname>Samet</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Tamminen</surname>
          </string-name>
          .
          <article-title>Efficient component labeling of images of arbitrary dimension represented by linear bintrees</article-title>
          .
          <source>IEEE TPAMI</source>
          ,
          <volume>10</volume>
          (
          <issue>4</issue>
          ):
          <fpage>579</fpage>
          -
          <lpage>586</lpage>
          ,
          <year>1988</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>J.</given-names>
            <surname>Sas</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Zolnierek</surname>
          </string-name>
          .
          <article-title>Three-Stage Method of Text Region Extraction from Diagram Raster Images</article-title>
          .
          <source>In CORES</source>
          , pages
          <fpage>527</fpage>
          -
          <lpage>538</lpage>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>M.</given-names>
            <surname>Savva</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Kong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Chhajta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Fei-Fei</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Agrawala</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J.</given-names>
            <surname>Heer. ReVision: Automated Classification</surname>
          </string-name>
          ,
          <article-title>Analysis and Redesign of Chart Images</article-title>
          .
          <source>In UIST</source>
          , pages
          <fpage>393</fpage>
          -
          <lpage>402</lpage>
          . ACM,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>R.</given-names>
            <surname>Smith</surname>
          </string-name>
          .
          <article-title>A simple and efficient skew detection algorithm via text row accumulation</article-title>
          .
          <source>In ICDAR</source>
          , volume
          <volume>2</volume>
          , pages
          <fpage>1145</fpage>
          -
          <lpage>1148</lpage>
          ,
          <year>1995</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>I.</given-names>
            <surname>Sobel</surname>
          </string-name>
          .
          <article-title>History and definition of the so-called "sobel operator", more appropriately named the sobel-feldman operator</article-title>
          . Sobel,
          <string-name>
            <given-names>I.</given-names>
            ,
            <surname>Feldman</surname>
          </string-name>
          ,
          <string-name>
            <surname>G.</surname>
          </string-name>
          ,
          <article-title>"A 3x3 Isotropic Gradient Operator for Image Processing", presented at the Stanford Artificial Intelligence Project (SAIL</article-title>
          ) in
          <year>1968</year>
          .,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [25]
          <string-name>
            <given-names>N.</given-names>
            <surname>Takagi</surname>
          </string-name>
          .
          <article-title>Mathematical figure recognition for automating production of tactile graphics</article-title>
          .
          <source>In ICSMC</source>
          , pages
          <fpage>4651</fpage>
          -
          <lpage>4656</lpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [26]
          <string-name>
            <given-names>P.-N.</given-names>
            <surname>Tan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Steinbach</surname>
          </string-name>
          , and
          <string-name>
            <given-names>V.</given-names>
            <surname>Kumar</surname>
          </string-name>
          .
          <article-title>Introduction to Data Mining, (First Edition)</article-title>
          .
          <article-title>Addison-Wesley Longman Publishing Co</article-title>
          ., Inc.,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          [27]
          <string-name>
            <given-names>F.</given-names>
            <surname>Wang</surname>
          </string-name>
          and M.-
          <string-name>
            <given-names>Y.</given-names>
            <surname>Kan</surname>
          </string-name>
          . NPIC:
          <article-title>Hierarchical synthetic image classification using image search and generic features</article-title>
          .
          <source>In CIVR</source>
          , volume
          <volume>4071</volume>
          <source>of LNCS</source>
          , pages
          <fpage>473</fpage>
          -
          <lpage>482</lpage>
          . Springer,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>