# ตอนที่ 3

ใน ep นี้เราจะมาทดสอบแล้วก็รันโค้ดกัน บอร์ดที่ลงโมเดลและลงโค้ด (บันทึกให้รันอัตโนมัติไว้แล้ว) จะทำการจับภาพใบหน้าและส่งไปยัง FaceEncoder เพื่อทำการจำแนกใบหน้าออกมา และนำ ID ใบหน้าที่ได้ส่งเข้าไปใน Google Sheet ผ่าน IFTTT ตามที่เราได้ตั้งค่าไว้ Log ที่ได้ผมได้เขียน Script เพื่อให้สามารถดึงข้อมูลวันที่และ ID ออกมาเป็นระบบลงเวลาอย่างง่าย ๆ ถ้ามีใบหน้าปรากฏในช่วงเวลาที่กำหนดจะแสดงเลข 1 ออกมา สามารถนำไปประยุกต์ใช้งานต่อได้ตามสะดวกเลยครับ เดี๋ยว EP หน้าจะอธิบายโค้ดและ วิธีแก้ไขพารามิเตอร์ต่าง ๆ กัน

\=> \[\[google sheet การเอา log ไปใช้งาน]] (ให้ทำการก๊อปปี้ไปใช้ เข้าไปที่เมนู ไฟล์ -> ทำสำเนา) : <https://docs.google.com/spreadsheets/d/1XRgiMkV72p_w7jd6VNcCcLb2Z9OipHG7r4OOdyiSQXI/edit?usp=sharing>

\=> \[\[โค้ด Download ได้จาก]] : <https://github.com/AiDude-io/CorgiDude/tree/master/09%20-%20Face%20Recognition>

{% embed url="<https://youtu.be/I_szx6qR4kg>" %}


---

# 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://corgidude.makerasia.com/demo-projects/face-recognition/ep3.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.
