Input and output format specifications

Two input files for participants (TIFF image and TXT file) are provided for each image of the test dataset.

The input TXT file only contains the coordinates of the selected foreground pixels to be classified.

The participants will return an output file that is a copy of the input TXT file filled out with the class label for each foreground pixel. Hence, the output for participants should be in the TXT format (e.g. for input image “T0000007.TIFF” the output should be “T0000007.TXT”).

The ground truth and the output files have similar structure. Each line of the ground truth file and the output file contains the following three values: the coordinates of the selected foreground pixel and its corresponding label class representing the content type in the analyzed book.

The list of the six content classes involved in the HBA competition is described below.

Class label
Description
1 Graphics
2 or 3 Normal or capitalized text
4 Handwritten text
5 Italic text
6 Footnote text

The number of content classes varies from a book to another one (i.e. its value may range from 2 to 6).

Regarding the ground truth, the pixels representing the graphical content are annotated with label values equal to 1, while the pixels representing the textual content are annotated with label values different to 1 (i.e. label values may be 2, 3, 4, 5 or 6).

Two nested challenges are proposed in the HBA competition:

1- In the first challenge, our goal consists in evaluating the capabilities of the participating methods to distinguish between text and graphic. In the evaluation task, we consider two classes, graphics (label value = 1) and text (all text classes representing different font types [2-6] are considered as one single class).

2- In the second challenge, we aim at assessing the capabilities of the participating methods to separate different content types even font types. In the evaluation task, we consider each content type has its proper class (i.e. all six classes [1-6] are included). Each textual class in the ground truth of the training images representing a specific text font has to be considered as separate class.

The following illustrates the input format specifications of an image sample of the HBA dataset which is already available for download.

– Original image (.TIFF)

– Pixel-labeled image (.TIFF)

– Ground-truth file (.TXT)

– Input file (.TXT)

Any pixel with more than one class label must be ignored in the training and the evaluation tasks. The pixels having more than one class label will not be treated neither in the evaluation dataset nor in the training dataset. In the HBA competition, the training and the evaluation tasks are N-way classifications without allowing multiple class labels per pixel location.