> 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/getting-started/your-very-first-project/finishing-up.md).

# Wrapping Up

In this part, you will check whether the detected golf ball is inside the hole area, then show the final result.

{% stepper %}
{% step %}

### Add Rectangles in Rectangle

Go to the blocks bar. Under **Detections/Shapes**, open **Roi Processing** and drag **Rectangles in Rectangle** into the scenario.

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

<details>

<summary>Add the block with search instead</summary>

You can add blocks faster with search. Double-click an empty area and type **Rectangles**.

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

Press *Enter*. The block is created under your cursor.

<figure><img src="https://63608322-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbH8gla5D8g5pQAK8IzR8%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 %}

### Add the hole ROI

Add one more **Image ROI Select** block. Use it to select the hole area.

Rearrange and connect the blocks as shown below.

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

**Rectangles in Rectangle** checks whether detected rectangles are inside the selected reference area.
{% endstep %}

{% step %}

### Add visual outputs

Connect **Led Output** and **Show Image** so you can see whether a score is detected.

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

{% step %}

### Run the finished scenario

Click <img src="https://63608322-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbH8gla5D8g5pQAK8IzR8%2Fuploads%2Fgit-blob-336c18484aa93d35401e4cf66bff9e99257fee93%2Fplay.png?alt=media" alt="run" data-size="line"> to run the scenario.

![Finished golf scoring detector](https://63608322-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbH8gla5D8g5pQAK8IzR8%2Fuploads%2Fgit-blob-38aabfdd7a1cad558ca9a19951851bc6ccb7c91f%2Fproject-finished.webp?alt=media)
{% endstep %}
{% endstepper %}

You have finished your first AugeLab Studio scenario: a golf scoring detector.

You learned how to add blocks, connect sockets, select ROIs, run a scenario, stabilize a reference image, detect an object, and display a final result.
