Segmentation of heterogeneous document images : an ... - Tel

Segmentation of heterogeneous document images : an ... - Tel Segmentation of heterogeneous document images : an ... - Tel

tel.archives.ouvertes.fr
from tel.archives.ouvertes.fr More from this publisher
14.01.2014 Views

Algorithm 2 Calculating delta procedure CalcDelta(∆) ⊲ ∆ should be initialized with zero. //* refers to ground truth if state* = ”Preserve” or this paragraph has no children then F gt ← F preserve else F gt ← F remove end if ∆ ← ∆ + F gt − F if this paragraph has children then First child → CalcDelta(∆) Second child → CalcDelta(∆) end if end procedure tel-00912566, version 1 - 2 Dec 2013 Table 6.1: PARAGRAPH DETECTION SUCCESS RATES FOR 61 DOCUMENTS OF ICDAR2009 DATASET Area weighted error % Area weighted % Count weighted % Method Merge Split Miss Partial Miss False Detection Overall Overall Our Method 29.45 22.92 2.84 04.31 23.94 75.55 59.82 Tesseract 14.83 35.35 1.78 03.08 11.53 73.22 56.95 EPITA 13.46 02.45 0.22 05.27 53.27 73.65 59.48 Table 6.2: PARAGRAPH DETECTION SUCCESS RATES FOR 100 DOCU- MENTS OF ICDAR2011 DATASET Area weighted error % Area weighted % Count weighted % Method Merge Split Miss Partial Miss False Detection Overall Overall Our Method 32.31 20.11 0.02 1.38 04.16 82.22 66.59 Tesseract 29.62 49.24 0.83 0.98 16.07 72.00 52.28 EPITA 30.30 17.46 1.09 6.40 16.24 81.72 61.06 For the purpose of comparison, figure 6.4 shows the results of paragraph detection on two documents from our corpus using our method and Tesseract- OCR. These documents are selected in a way that the ratio of overall success for our method divide by the ratio of overall success for Tesseract-OCR is maximized. In other words, our method performs way better on these two images compared to Tesseract-OCR. Results indicate that Tesseract fails at processing indentations, side notes detection and also it fails to make use of rule lines and other clues such as borders and frames to correctly segment the document. On the other side, figure 6.5 shows the results of paragraph detection on two other documents from our corpus. This time for the selection of documents, the mentioned success ratio is minimum. For the images in sub-figures a and b, the overall area weighted success rate for Tesseract is 98.8% but that of our method is 79.9%. In the second sub-figures c and d, our method misses many dots that belong to text lines and due to this problem, the success rate is lower than that 106

tel-00912566, version 1 - 2 Dec 2013 Figure 6.3: Updated results reported in [4] based on scaled estimates. In this figure, the results from our method (Demat) and Tesseract-OCR are added based on scaled estimates by using results of EPITA as a reference. Table 6.3: PARAGRAPH DETECTION SUCCESS RATES FOR 100 DOCU- MENTS OF OUR CORPUS Area weighted error % Area weighted % Count weighted % Method Merge Split Miss Partial Miss False Detection Overall Overall Our Method 23.88 27.08 0.39 3.03 12.23 86.97 72.71 Tesseract 16.11 44.95 0.51 2.38 23.86 81.79 62.55 EPITA 23.08 19.03 0.85 8.82 12.82 88.05 67.84 of the Tessseract-OCR. 107

Algorithm 2 Calculating delta<br />

procedure CalcDelta(∆)<br />

⊲ ∆ should be initialized with zero.<br />

//* refers to ground truth<br />

if state* = ”Preserve” or this paragraph has no children then<br />

F gt ← F preserve<br />

else<br />

F gt ← F remove<br />

end if<br />

∆ ← ∆ + F gt − F<br />

if this paragraph has children then<br />

First child → CalcDelta(∆)<br />

Second child → CalcDelta(∆)<br />

end if<br />

end procedure<br />

tel-00912566, version 1 - 2 Dec 2013<br />

Table 6.1: PARAGRAPH DETECTION SUCCESS RATES FOR 61 DOCUMENTS<br />

OF ICDAR2009 DATASET<br />

Area weighted error % Area weighted % Count weighted %<br />

Method Merge Split Miss Partial Miss False Detection Overall Overall<br />

Our Method 29.45 22.92 2.84 04.31 23.94 75.55 59.82<br />

Tesseract 14.83 35.35 1.78 03.08 11.53 73.22 56.95<br />

EPITA 13.46 02.45 0.22 05.27 53.27 73.65 59.48<br />

Table 6.2: PARAGRAPH DETECTION SUCCESS RATES FOR 100 DOCU-<br />

MENTS OF ICDAR2011 DATASET<br />

Area weighted error % Area weighted % Count weighted %<br />

Method Merge Split Miss Partial Miss False Detection Overall Overall<br />

Our Method 32.31 20.11 0.02 1.38 04.16 82.22 66.59<br />

Tesseract 29.62 49.24 0.83 0.98 16.07 72.00 52.28<br />

EPITA 30.30 17.46 1.09 6.40 16.24 81.72 61.06<br />

For the purpose <strong>of</strong> comparison, figure 6.4 shows the results <strong>of</strong> paragraph<br />

detection on two <strong>document</strong>s from our corpus using our method <strong>an</strong>d Tesseract-<br />

OCR. These <strong>document</strong>s are selected in a way that the ratio <strong>of</strong> overall success<br />

for our method divide by the ratio <strong>of</strong> overall success for Tesseract-OCR is maximized.<br />

In other words, our method performs way better on these two <strong>images</strong><br />

compared to Tesseract-OCR.<br />

Results indicate that Tesseract fails at processing indentations, side notes<br />

detection <strong>an</strong>d also it fails to make use <strong>of</strong> rule lines <strong>an</strong>d other clues such as borders<br />

<strong>an</strong>d frames to correctly segment the <strong>document</strong>.<br />

On the other side, figure 6.5 shows the results <strong>of</strong> paragraph detection on two<br />

other <strong>document</strong>s from our corpus. This time for the selection <strong>of</strong> <strong>document</strong>s, the<br />

mentioned success ratio is minimum. For the <strong>images</strong> in sub-figures a <strong>an</strong>d b, the<br />

overall area weighted success rate for Tesseract is 98.8% but that <strong>of</strong> our method<br />

is 79.9%. In the second sub-figures c <strong>an</strong>d d, our method misses m<strong>an</strong>y dots that<br />

belong to text lines <strong>an</strong>d due to this problem, the success rate is lower th<strong>an</strong> that<br />

106

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!