# 5.1.4 Test Demo Application

배포된 API Gateway의 Invoke URL을 통해 정적 웹페이지를 반환받을 수 있습니다.

배포한 Web Application은 Teacher / Student 영상을 입력받아 자세의 유사도를 반환받는 어플리케이션입니다.

1. 아래 테스트 영상을 다운로드 합니다.

{% file src="/files/L3Gk6dqv6tS1jIKtXJnk" %}

{% file src="/files/HD6LsEr3Rb1ngJwHTGiV" %}

1. 두 영상이 입력되면 우측 Orivial Video에 순서대로 Teacher / Student 비디오가 준비되는 것을 확인할 수 있습니다. 아래는 테스트로 제공한 영상 이외의 다른 영상을 Teacher 영상으로 사용합니다.

<figure><img src="/files/ubBls1eiJnrEHQPjM96s" alt=""><figcaption></figcaption></figure>

3. play 버튼을 클릭하면 영상이 자동으로 재생되며 Sagemaker Endpoint를 호출하여 영상의 우측에 자세 추정 결과 영상을 스트리밍하고, 프레임 별 추론 결과를 확인할 수 있습니다. 또한 아래에는 Teacher/Student 영상 간 자세의 유사도를 판별하여 점수를 확인할 수 있습니다.

<figure><img src="/files/ozQAmXrmHdJwLjeFauQo" alt=""><figcaption></figcaption></figure>

4. 이전 실습에서 배포한 SageMaker Endpoint를 활용하여 간단한 Serverless Web Application 제작 실습을 완료하셨습니다. 다양한 비디오를 이용하여 테스트 해보세요.

{% hint style="info" %}
이번 실습에서 진행한 데모는 Single Human Pose Estimation으로 구상한 데모입니다. Post processing에서 Object Tracking이 구현되어 있지 않으므로, 다수의 사람이 추론되는 경우 추론 인덱스의 순서가 변경될 수 있습니다.
{% endhint %}


---

# 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://cheolmin-ki.gitbook.io/sagemaker-image-workshop/lab5.-build-application-with-your-model/5.1-build-web-application-with-custom-model-endpoint/5.1.4-test-demo-application.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.
