> For the complete documentation index, see [llms.txt](https://docs.t2d2.ai/user-guides/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.t2d2.ai/user-guides/fundamentals/files/images/detections/duplicate-detections.md). Agents can also search and read this documentation through its [MCP server](https://docs.t2d2.ai/user-guides/~gitbook/mcp).

# Duplicate Detections

Duplicate detection allows you to mark annotations as "Duplicate" in T2D2. If you have overlapping photos where an annotation may appear in more than one photo, you may want to keep the original record of the annotation in just one of those photos while marking all of the others as "Duplicate." This removes the Duplicate record from the analytics tools so that there is no double counting.

To label an annotation as Duplicate follow these steps:

1. Select the annotation
2. If not visible, open the info pane
3. Select "Duplicate" from the "Update Selected Annotations" dropdown
4. Click save

{% hint style="warning" %}
Remember to click Save when you change anything in the info pane. Otherwise the annotation record will not update!
{% endhint %}

<figure><img src="https://3905547776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk51PzXeoPszm0lKVLwXw%2Fuploads%2FdHkEtOqwE7wDg3i8g869%2FFiles_Images_Duplicates_New.png?alt=media&amp;token=4bd8545b-fea9-463a-90f4-c95e67254296" alt=""><figcaption></figcaption></figure>

## Handling Duplicate Detections

One of the challenges of using reality capture techniques for inspection of a physical asset is obtaining a clean dataset that represents 100% of the asset. No more, no less. One of the best ways of capturing exactly 100% visual representation is by using photogrammetry/orthomosaic techniques. However, it is not the only answer! There are multiple ways you can address this issue:

1. **Increase** the number of photos in the dataset and take advantage of the T2D2 [orthomosaic generator](https://docs.t2d2.ai/user-guides/toolkit/orthomosaic-generator.md). This removes the reliance on individual images for analysis purposes. You will want to reference the [data capture guide](https://docs.t2d2.ai/user-guides/data-capture-guide/photogrammetry-and-orthomosaics.md) to see the requirements to use this tool. It may require a significant increase in the number of images captured.
2. **Decrease** the number of photos in the dataset, so that the images have as little overlap as possible. This will result in a dataset that equates to as close to 100% of the target inspection area as possible. There are multiple ways to accomplish this:
   1. Perform a field capture using an increased photo spacing to minimize overlap
   2. Remove images in an existing dataset on T2D2 to achieve the minimal overlap. This can be done by:
      1. Deleting images
      2. Removing geotags from drawing
      3. [Tagging](https://docs.t2d2.ai/user-guides/fundamentals/categories/tags-and-notes.md) images that you want to keep in the resulting set
   3. Use the T2D2 Drawing Geotag Pruning Tool (beta) to decrease the number of images. The pruning tool reduces the image dataset to include as little overlap as possible using the [tags](https://docs.t2d2.ai/user-guides/fundamentals/categories/tags-and-notes.md) feature. It may produce slightly above or below 100% coverage. This tool is still in beta release. If you would like to use this tool, [contact support](https://docs.t2d2.ai/user-guides/other/contact-support.md).

Note that even if you have a large dataset that conforms with the requirements to generate an orthomosaic, you still can apply a tag to a subset of those images geotagged to a drawing to represent the pruned 100% target photo dataset. This may also come in handy when using the [layer](https://docs.t2d2.ai/user-guides/fundamentals/view/layer.md) tool and overlaying the drawing, orthomosaic and geotags.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.t2d2.ai/user-guides/fundamentals/files/images/detections/duplicate-detections.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
