Annotation-Zones-Labeling

←↑↓→

Labeling Zones

Zone Attributes

A zone attribute allows information about a particular instance of a zone to be entered. Any string can be the value of an attribute, though the possible values for a particular attribute can be limited to a set of strings. Zone attributes are specific to a zone type. Zone attributes can be configured in the Zones tab of the Preferences menu.

Setting a Value for an Attribute

To set a value for the attribute of a particular zone, first select the zone by clicking inside it or by dragging a box around it. The lowest table in the left panel will display the attribute names and values for the selected zone. Select the value you wish to change by clicking on the cell displaying it. You can then type in a new value for the attribute, or select the value from a drop down menu if a list of possible values is defined for that attribute. Not all attributes listed in the table can be changed directly in the table.

Using Hotkeys to Set a Value for an Attribute

To set a value for the attribute of a particular zone, first select the zone by clicking inside it or by dragging a box around it, then press the hotkey combination for the value and attribute that you wish to set. Hotkey combinations can be set in the Zones tab of the Preferences menu, and are always Ctrl + a number.

Changing the Zone Type

To change the zone type of a particular zone, first select the zone by clicking inside the zone or by dragging a box around it. The zone type can be changed in the attributes table at the bottom of the left panel. The attribute that determines the zone type is named gedi_type. To change the zone type, click in the cell containing the current value of the gedi_type attribute. A list of possible zone types will appear, and you can choose a new type by clicking on it.

DL_TEXTLINEGT

The DL_TEXTLINEGT zone type is a predefined zone type used for groundtruthing text. This zone type makes entering and viewing the text contents of a zone faster, and allows the addition of text offsets for proper text alignment within the zone. This zone type can be created in the Zones tab of the Preferences menu.

Entering text into a DL_TEXTLINEGT Zone

To enter the text contents of a DL_TEXTLINEGT zone, right click inside the zone. A contents window will appear above the zone where you can type in the text. When you are done, press OK to save the text you entered, or CANCEL to cancel your changes.

Offsets

Adding offsets to a DL_TEXTLINEGT Zone

Before adding text offsets, enter in all the text contents of the zone. Offsets can align text by the character, word, or line. To change the unit of alignment, change the "segmentation" attribute of the zone. To add offsets, first select the zone by clicking inside it or by dragging a box around it. Then hold Ctrl and click on the zone where you want the offset be added. You are limited to adding one less offset than the number of units of segmentation in the text for the zone.

Moving offsets in a DL_TEXTLINEGT Zone

To move offsets within a zone, first select the zone by clicking inside it or by dragging a box around it. Then mouse over the offset, until the cursor changes to two arrows pointing away from the offset. Grab the offset by pressing the left mouse button, and drag it to its new location.

Deleting offsets in a DL_TEXTLINEGT Zone

To delete offsets within a zone, first select the zone by clicking inside it or by dragging a box around it. Then mouse over the offset, and click to select the offset. Once the offset is highlighted, you can press the Delete key to remove the offset.