# PDF Labeling Editor

Ango Hub provides a labeling editor with which PDF files can be annotated.

{% hint style="info" %}
This article will exclusively go over Ango Hub’s PDF labeling interface. Features common to all labeling editors (audio, image, PDF, and text) are instead [explained here](https://docs.imerit.net/labeling/labeling-editor-interface).
{% endhint %}

<figure><img src="https://3895963154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTcOUG6rfWxqGM0N4db2P%2Fuploads%2FDoq2AMdSiu8CYCLFs5cI%2Fimage.png?alt=media&#x26;token=f727c4b8-6a10-4fad-947e-0b412cecf0e6" alt=""><figcaption></figcaption></figure>

## Overview <a href="#pdf-interface-elements" id="pdf-interface-elements"></a>

### Supported File Types

The PDF labeling editor supports document assets with the following file extensions:&#x20;

* .pdf

### Supported Labeling Tools

The PDF labeling editor supports following labeling tools:&#x20;

**Tools**

* PDF

**Classifications**

* Radio
* Checkbox
* Single-Select Dropdown
* Multi-Select Dropdown
* Single-Select Tree
* Multi-Select Tree
* Text

**Relations**

* Single Relation
* Group Relation

### PDF Interface Elements <a href="#pdf-interface-elements" id="pdf-interface-elements"></a>

#### Navigation buttons <a href="#navigation-buttons" id="navigation-buttons"></a>

The arrows allow you to move forwards and backward between pages. You can also directly type in the page number and press Enter to navigate to that page.

<figure><img src="https://3895963154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTcOUG6rfWxqGM0N4db2P%2Fuploads%2FQGQlZ4K2eaOFhZ5nBXwD%2Fimage.png?alt=media&#x26;token=efaa24d9-7525-433c-bc52-26efe7a43c34" alt=""><figcaption></figcaption></figure>

Scrolling with the mouse wheel will also navigate between pages in the asset.

With the + and - zoom buttons you can adjust the PDF's zoom level. <img src="https://3895963154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTcOUG6rfWxqGM0N4db2P%2Fuploads%2Fkdw89CaMSMOqx1kN5RCV%2Fimage.png?alt=media&#x26;token=d8efd873-d531-4943-9249-e49ac3705212" alt="" data-size="line"> resets the zoom level and <img src="https://3895963154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTcOUG6rfWxqGM0N4db2P%2Fuploads%2FtFicyzv93eRjx4Lh5Bnm%2Fimage.png?alt=media&#x26;token=8ce80209-7b25-4cb9-9291-3ca85d59a4ae" alt="" data-size="line"> jumps you to the bottom-most annotation in the PDF:

<figure><img src="https://3895963154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTcOUG6rfWxqGM0N4db2P%2Fuploads%2FqmS04C3vBhCysk0TzWnc%2Fimage.png?alt=media&#x26;token=1b801660-85f7-45c8-95c0-2be0841fbcc5" alt=""><figcaption></figcaption></figure>

### How to Annotate PDFs <a href="#how-to-annotate-pdfs" id="how-to-annotate-pdfs"></a>

From the *Tools* panel on the left sidebar, select a *PDF* labeling tool, marked with an A enclosed in a square. (If none are present, only answer the questions in the *Questions* panel.)

![](https://3895963154-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mj9Q2CMggO8ujraHZeP%2F-Mk6FES4Fv6RKaWqGhqj%2F-Mk6GRopltHnGgqQKkGF%2Fimage.png?alt=media\&token=91988451-a727-492b-8dfa-34e5c7814cf7)

#### Area <a href="#bounding-box" id="bounding-box"></a>

With the *PDF* tool selected, click and drag where you’d like the area to be placed.

![](https://3895963154-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mj9Q2CMggO8ujraHZeP%2F-Mk6FES4Fv6RKaWqGhqj%2F-Mk6GZq0xnAa7OJgwjid%2Fimage.png?alt=media\&token=6ff6d8b3-e22f-402d-9c48-4bb5f0cce532)

After creating the area and selecting by clicking on it, you can change its size by dragging it from its sides and corners. You can drag the entire area by dragging it with the mouse cursor.

You can perform OCR on the contents of the box by selecting it by clicking it, then right-clicking on the box and pressing the ![](https://3895963154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTcOUG6rfWxqGM0N4db2P%2Fuploads%2Fw0gYxzrm8qEeW0hY2swz%2Fimage.png?alt=media\&token=6ff805ab-62b2-4bcf-b458-2bff0401b002)*OCR* button.

After having performed OCR, you'll be shown how confident Hub is that the OCR it output is correct:

<figure><img src="https://3895963154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTcOUG6rfWxqGM0N4db2P%2Fuploads%2F3S5bGUt7lyN08exhXeK7%2Fimage.png?alt=media&#x26;token=a863283b-eed5-4c0a-95ec-91ace7e40a7a" alt=""><figcaption></figcaption></figure>

#### Nested Questions and Classifications <a href="#nested-questions-and-classifications" id="nested-questions-and-classifications"></a>

If the labels have nested questions, after selecting a label by clicking on it, right-click on a label and click on the menu item that appears to see and answer the nested questions.

If classification questions are present, you may answer them from the *Questions* panel on the left sidebar.

![](https://3895963154-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mj9Q2CMggO8ujraHZeP%2F-Mk6FES4Fv6RKaWqGhqj%2F-Mk6GglfMYiOIqZD6ch6%2Fimage.png?alt=media\&token=d8eb9ae5-8834-4495-9e66-6ba3efb4f30d)

### Quick Annotation Navigation

Since PDFs can be long, manually navigating to where each label was placed can take time.

It is possible to directly "jump" to the location of each label by keeping Ctrl pressed and hovering over the label from the *Objects* section in the left sidebar. The editor will automatically navigate to the page where the label is, and the label selected will be highlighted. &#x20;

### Keyboard Shortcuts <a href="#keyboard-shortcuts" id="keyboard-shortcuts"></a>

A full list of keyboard shortcuts is available by clicking on the *Keyboard* button on the right side of the top bar:

![](https://3895963154-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mj9Q2CMggO8ujraHZeP%2F-Mk6FES4Fv6RKaWqGhqj%2F-Mk6GjmpzvN5u8yEVHkZ%2Fimage.png?alt=media\&token=48454714-afcb-4547-a03e-1ebf2a65d686)

### Further reading

{% content-ref url="audio-labeling-editor" %}
[audio-labeling-editor](https://docs.imerit.net/labeling/labeling-editor-interface/audio-labeling-editor)
{% endcontent-ref %}

{% content-ref url="image-labeling-editor" %}
[image-labeling-editor](https://docs.imerit.net/labeling/labeling-editor-interface/image-labeling-editor)
{% endcontent-ref %}

{% content-ref url="" %}
[](https://docs.imerit.net/labeling/labeling-editor-interface)
{% endcontent-ref %}
