> For the complete documentation index, see [llms.txt](https://docs.augelab.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.augelab.com/german/erste-schritte/your-very-first-project/finishing-up.md).

# Abschluss

In diesem Abschnitt überprüfst du, ob der erkannte Golfball innerhalb des Lochbereichs liegt, und zeigst anschließend das Endergebnis an.

{% stepper %}
{% step %}

### Rectangles in Rectangle hinzufügen

Gehe zur Blockleiste. Unter **Detections/Shapes** öffne **Roi Processing** und ziehe **Rectangles in Rectangle** in das Szenario.

![](https://3159336763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyMCLCvWBn7aHYpYmuuan%2Fuploads%2Fgit-blob-d290913ed6d759a8f9504623464514a84f484ab3%2Fbefore-rect-0.png?alt=media)

<details>

<summary>Block stattdessen über Suche hinzufügen</summary>

Du kannst Blöcke schneller mit der Suche hinzufügen. Doppelklicke auf einen leeren Bereich und tippe **Rectangles**.

<figure><img src="https://3159336763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyMCLCvWBn7aHYpYmuuan%2Fuploads%2Fgit-blob-9e54427e4b856ac1ba90d2ea58e072e747f185a2%2Fsearch-func.png?alt=media" alt="Search for Rectangles in Rectangle" width="450"><figcaption><p>Nach einem Block suchen</p></figcaption></figure>

Drücke *Enter*. Der Block wird unter dem Cursor erstellt.

<figure><img src="https://3159336763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyMCLCvWBn7aHYpYmuuan%2Fuploads%2Fgit-blob-785d0d3a9d4aa682b6fc3b255d893873b155bfd9%2Frect-in-rect.png?alt=media" alt="Rectangles in Rectangle block" width="450"><figcaption><p>Rectangles in Rectangle Block</p></figcaption></figure>

</details>
{% endstep %}

{% step %}

### Hole-ROI hinzufügen

Füge einen weiteren **Image ROI Select** Block hinzu. Verwende ihn, um den Lochbereich auszuwählen.

Ordne die Blöcke neu an und verbinde sie wie unten gezeigt.

![](https://3159336763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyMCLCvWBn7aHYpYmuuan%2Fuploads%2Fgit-blob-93d59ed9f9cbe76fd048c63b75cf321d69d06614%2Frect-in-rect-connected.png?alt=media)

Der **Rectangles in Rectangle** Block prüft, ob erkannte Rechtecke innerhalb des ausgewählten Referenzbereichs liegen.
{% endstep %}

{% step %}

### Visuelle Ausgaben hinzufügen

Verbinde **Led Output** und **Show Image**, damit du sehen kannst, ob ein Treffer erkannt wurde.

![Led Output and Show Image connected](https://3159336763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyMCLCvWBn7aHYpYmuuan%2Fuploads%2Fgit-blob-25a56cf17872b64bf5944b2ae709451c739d6b7d%2Fled-show-image.png?alt=media)
{% endstep %}

{% step %}

### Szenario fertig ausführen

Klicke auf <img src="https://3159336763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyMCLCvWBn7aHYpYmuuan%2Fuploads%2Fgit-blob-336c18484aa93d35401e4cf66bff9e99257fee93%2Fplay.png?alt=media" alt="run" data-size="line">, um das Szenario auszuführen.

![Fertiger Golf-Scoring-Detektor](https://3159336763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyMCLCvWBn7aHYpYmuuan%2Fuploads%2Fgit-blob-38aabfdd7a1cad558ca9a19951851bc6ccb7c91f%2Fproject-finished.webp?alt=media)
{% endstep %}
{% endstepper %}

Du hast dein erstes AugeLab Studio Szenario abgeschlossen: einen Golf-Scoring-Detektor.

Du hast gelernt, wie man Blöcke hinzufügt, Steckverbinder verbindet, ROIs auswählt, ein Szenario ausführt, ein Referenzbild stabilisiert, ein Objekt erkennt und ein finales Ergebnis anzeigt.
