General rules

Here are some general rules of good practice for your work.

Hug the border of the object as tightly as possible

A precise annotation like the one shown in Figure 1b captures the entire visual element and is as close as possible to the boundaries, to reduce confusion for the machine learning model.

Annotation box far too large around the element

(a) Here, the annotation is too large.

Annotation box tightly fitted to the element

(b) Here is the correct way to annotate an element: the borders are close to the end of the element without cutting it.

Figure 1. Hug the border of the object as tightly as possible.

Separate the elements that are not visually connected

Each distinct visual element must receive its own annotation (bounding box), even if several elements appear to form a coherent whole from the point of view of meaning or composition intended by the author of the document, as seen in Figure 2.

Two elements can be "linked" in the author's intention (for example, a human figure and a dog figure accompanying it, or related but non-touching ornamentation) without being visually connected, that is, without sharing a common background, frame, or direct contact. In this case, the annotations are separate.

If several elements share the same background or frame (for example, several symbols or drawings printed on a single continuous graphic strip), they can be grouped into a single annotation, because they are physically or visually unified on the medium, as seen in Figure 2 of the class definition.

Several elements enclosed in a single annotation

(a) These elements, although clearly grouped together by the author, should not be annotated in this way.

Each element with its own annotation

(b) Here is how we want to annotate several elements.

Figure 2. Separate elements that are not visually linked.

Avoid item overlap

This is not a strict rule. In many documents, elements overlap and are interconnected, as illustrated in Figure 3b. The class definition section shows the cases where overlapping annotations are necessary and those where they can be avoided.
Ornament annotation overlapping many other elements

(a) The annotation of the ornament overlaps too many elements.

Decorative elements cut into separate annotations

(b) We decided to cut out the decorative elements to avoid overlapping.

Figure 3. Avoid item overlap between classes.

Annotate only the main page

Do not annotate anything that is not on the main page, as shown in Figure 4a. If the scan was done for two pages, annotate it as shown in Figure 4b.

Scan showing a sliver of the facing page, left unannotated

(a) Do not annotate the tables on the little bit of the other page.

Two-page scan with both pages annotated

(b) If the scan is done for two pages, then you must annotate the elements of both pages.

Figure 4. Annotate only the main page.

Annotate what is visible, not what you infer

Label only the content that is actually present and legible in the document, as shown in Figure 5. Do not extend a bounding box or complete an area based on what you assume to be there (for example, a torn page, an erased stamp, text hidden by a fold).

Annotation extended over a missing part of the element

(a) This annotation attempts to complete an element that is no longer visible.

Annotation limited to the visible part of the element

(b) This annotation respects the limits of what is visible in the document.

Figure 5. Annotate what is visible, not what you infer.

Review your work before submitting

The annotation task can be arduous and tedious; it is advisable to check the quality of the annotations before moving on to the next image, and to take regular breaks to stay alert and focused.