# PDF Tool

The PDF labeling tool allows you to annotate text and arbitrary rectangular areas on PDF documents.

{% hint style="info" %}
The PDF tool is supported across the PDF labeling editor.
{% endhint %}

![](https://3895963154-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mj9Q2CMggO8ujraHZeP%2F-Mk6PkSagTqxzKOwanFv%2F-Mk6TOMdnNi6zRkpXS-n%2Fimage.png?alt=media\&token=1853c53f-922b-400e-8a81-7d7f937dccb8)

## How to add a PDF tool to your project <a href="#how-to-add-a-pdf-tool-to-your-project" id="how-to-add-a-pdf-tool-to-your-project"></a>

From the project’s *Settings* tab, enter the *Label Set* section.

Click on *Add Category*. From the list that appears, click on *PDF*.

A new row will appear named *PDF*. Click on it to expand it.

<figure><img src="https://3895963154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTcOUG6rfWxqGM0N4db2P%2Fuploads%2FrBYw25oG53jrhxIOA1OZ%2Fimage.png?alt=media&#x26;token=1a63fd02-d883-4c61-94b1-b1f300db92a2" alt=""><figcaption></figcaption></figure>

Give your PDF tool a title and description.

Enable the *Required* toggle if you want to force labelers to create a PDF label for each asset. When the toggle is disabled, labelers will be able to save and move to the next asset without creating the PDF label.

If you would like to ask labelers further questions, for example, if you want to show a further *radio* after placing a PDF tool, click on *Add Classification* and add a further question. [More on nested questions here](https://docs.imerit.net/labeling/labeling-tools/tools/nested-classifications).

## How to Label with the PDF Tool <a href="#how-to-label-with-the-pdf-tool" id="how-to-label-with-the-pdf-tool"></a>

From the *Tools* panel on the left sidebar, select a *PDF* labeling tool, marked with an A enclosed in a square.

![](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)

With the *PDF* tool selected, click and drag where you’d like the bounding box 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)

### OCR

{% hint style="info" %}
By default, targeted OCR only detects English. To change, add, or remove which languages should be detected in your project, head over to *Settings -> General* to do so:\
![](https://3895963154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTcOUG6rfWxqGM0N4db2P%2Fuploads%2F1pf67d79tMUEZ6ErClR0%2Fimage.png?alt=media\&token=2f7c54d6-a0de-4f9c-b18b-9cd4764e1191)
{% endhint %}

#### Single OCR

To perform OCR on the area you've just drawn, click on the area to select it, then right-click it and click on the ![](https://3895963154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTcOUG6rfWxqGM0N4db2P%2Fuploads%2Fk03ZKf80BDr5Q9Xe6H1w%2Fimage.png?alt=media\&token=b698f4d0-fc39-4e5b-8ece-ad8f80088ce2)*OCR* button to perform OCR.

After performing OCR, Hub will display how confident it is that the OCR results are 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>

#### Group OCR

To perform OCR on a group of annotations at once, hold *Shift* then click on each annotation for which you'd like to perform OCR. Right-click on any one of them and click on *OCR.*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.imerit.net/labeling/labeling-tools/tools/pdf-tool.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
