<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Arucha Khematharonon on Medium]]></title>
        <description><![CDATA[Stories by Arucha Khematharonon on Medium]]></description>
        <link>https://medium.com/@aruchakhem?source=rss-22190d6866ba------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*fxCMlO84et8cKdEt</url>
            <title>Stories by Arucha Khematharonon on Medium</title>
            <link>https://medium.com/@aruchakhem?source=rss-22190d6866ba------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 17:49:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aruchakhem/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Thai Hand Sign Detection using MediaPipe]]></title>
            <link>https://medium.com/@aruchakhem/thai-hand-sign-detection-using-mediapipe-6683cc711e91?source=rss-22190d6866ba------2</link>
            <guid isPermaLink="false">https://medium.com/p/6683cc711e91</guid>
            <dc:creator><![CDATA[Arucha Khematharonon]]></dc:creator>
            <pubDate>Tue, 13 Jun 2023 14:47:06 GMT</pubDate>
            <atom:updated>2023-06-14T11:02:56.976Z</atom:updated>
            <content:encoded><![CDATA[<p>ภาษามือ มีประวัติศาสตร์การใช้งานมาอย่างยาวนาน เพื่อใช้เป็นภาษาภาพในการสื่อสารแทนคำพูด โดยมีการบันทึกไว้ว่ามีการใช้ครั้งแรกนานถึง 500 ปีก่อนคริสต์ศักราชที่กรีก และมีการคิดค้นขึ้นมาอย่างเป็นทางการในปีคริสต์ศักราช 1817 โดยมีจุดประสงค์หลักในการสื่อสารกับผู้ที่มีความบกพร่องทางการได้ยิน ให้สื่อสารได้ง่ายมากขึ้น</p><p>แต่ถึงอย่างนั้นก็ยังมีผู้คนจำนวนมากที่ไม่เข้าใจภาษามือ หรือ ยากที่จะเรียนรู้ เพราะภาษาต้องใช้ความสามารถในการจำอย่างมากในการเรียนรู้</p><p>เหตุนี้จึงเป็นเหตุผลที่ผมทำโมเดลนี้ขึ้นมาเพื่อใช้ในการแปลภาษามือ โดยมีจุดประสงค์เพื่อช่วยเหลือในการเรียนรู้ภาษามือและลดอุปสรรคในการสื่อสาร</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*WMlA73jHc1GJC8EMa2LC0A.jpeg" /></figure><h3>Model</h3><p>โดยโมเดลที่ผมจะนำมาใช้จะเป็น LSTM นำมาใช้คู่กับพระเอกของเราในวันนี้ “MediaPipe” เพื่อทำ Action Detection</p><blockquote>แล้ว <strong>MediaPipe</strong> คืออะไร?</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*idKk4OtoWQP7W7uD.png" /></figure><p><strong>MediaPipe</strong> คือแพลตฟอร์ม AI แบบ Open source ที่พัฒนาขึ้นมาโดย Google โดยสามารถใช้เป็น Pipeline ในการตรวจจับและรับรู้ใบหน้า มือ และท่าทางที่มีความซ้บซ้อน โดยใช้การเร่งความเร็วในการระบุและประมวลผล จึงออกมาเป็นเครื่องมือที่แม่นยำและรวดเร็ว โดย MediaPipe จะระบุตำแหน่งสำคัญของตัวเราทั้งหมด 522 จุด เป็น มือ 21 จุด ใบหน้า 468 จุด ท่าทาง 33 จุด</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/0*2sEbf0Lu1fx_udZL.png" /><figcaption>จำนวน landmarks บนมือ</figcaption></figure><p>โดยผมจะทำการ extract ตำแหน่งต่างๆจาก landmarks ออกมาเป็น keypoint เพื่อใช้ในการ train ในโมเดลต่อไป</p><blockquote>แล้ว LSTM ล่ะ?</blockquote><p>อธิบายสั้นๆ LSTM หรือ<em> Long Short-Term Memory</em> เป็นโครงข่ายประสาทเทียมประเภท Recurrent Neural Network (RNN)<em> </em>ที่ถูกออกแบบมาสำหรับการประมวลผลเป็นลำดับ (sequence) หรือก็คือโครงข่ายประสาทเทียม ที่มีการนำเอา output ของมันเองก่อนหน้านี้กลับมาใช้ใหม่นั่นเอง เช่นในตัวอย่างข้างล่างนี้</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hSJceo84XaFz1Pwr.png" /><figcaption><a href="https://medium.com/@ottaviocalzone/an-intuitive-explanation-of-lstm-a035eb6ab42c">https://medium.com/@ottaviocalzone/an-intuitive-explanation-of-lstm-a035eb6ab42c</a></figcaption></figure><h3>Dataset</h3><p>โดยตัว Dataset เนื่องจากไม่มีใครทำ Dataset ไว้เลยผมจึงต้องทำการสร้างขึ้นมาเองทั้งหมด</p><p>โดย Dataset ที่ผมใช้จะเป็นวีดีโอความยาว 30 เฟรม ทั้งหมด 30 คลิปต่อหนึ่งคำ โดยในตัวโมเดลที่ผมทำในปัจจุบันมี 110 คำก็จะได้ 30 * 110 = 3300 วีดีโอ (ใช่ครับผมนั่งถ่ายตัวเอง 3300 คลิป)</p><p>โดย data ที่ผมถ่ายจะ fixed ไว้ว่าจะเป็นคลิปที่มองเห็นแค่ครึ่งตัว และถ้าคำไหนใช้มือข้างเดียวในการทำท่า ผมจะใช้แค่มือขวา อ้างอิงท่าทางจาก <a href="https://www.th-sl.com/">ฐานข้อมูลภาษามือถือไทย</a></p><p>เนื่องจากมีคำจำนวนมาก ผมจะเลือกมาใช้แค่คำที่ได้ใช้ในชีวิตประจำวันบ่อยๆเท่านั้น</p><h3>Training</h3><p>ในการ Train Model ผมก็จะนำ keypoints ที่ได้ในแต่ละคำ มา Train ผ่าน LSTM Model โดย Model ที่ผมทำจะมีสองตัวคือตัว 110 คำ และตัว 45 คำ เพื่อดูความแม่นยำของตัวโมเดลต่อจำนวนคำ</p><p>ผลลัพธ์การของโมเดล</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1DLgfS-H-stJDIHwNsWN4A.png" /><figcaption>45 คำ</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BpIjAk1nzqtUpzjlw-Qoxg.png" /><figcaption>110 คำ</figcaption></figure><h3>Test</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/437/1*Mj0zPNo2npxSrQ9N7v3yeA.png" /><figcaption>ตัวอย่างภาพระหว่าง test</figcaption></figure><h3><strong>Error analysis</strong></h3><p>โดย Model อาจมีการทำนายผิดพลาดบ้างเนื่องจากคำบางคำ ที่มีท่าทางใกล้เคียงกัน รวมไปถึงขนาดและจำนวนคำที่มีเยอะ ทำให้อาจจะต้องมีการปรับปรุงให้มีประสิทธิภาพมากขึ้นในอนาคต</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/326/1*mpJvnkE1yJvdVycyA6QVBQ.png" /><figcaption>ตัวอย่าง error ที่ขึ้นคำว่าขอบคุณทั้งที่ไม่ได้ทำท่าใด</figcaption></figure><h3>Deployment</h3><p>หลังจากที่ train และ test model จนได้ผลลัพธ์ที่พอใจแล้ว เราก็จะนำตัว model ไป deploy ออกมาเป็น Web App ให้ทุกคนได้เข้ามาทดลองใช้กันได้ผ่าน <a href="https://streamlit.io/"><strong>Streamlit</strong></a><strong> </strong>โดยที่ตัว hosting ผมจะใช้เป็น <a href="https://render.com/"><strong>Render</strong></a></p><p><strong>Deployment </strong><a href="https://thaihandsign.onrender.com/"><strong>Link</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2leuuPBCapLhJ0os.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*h-QXkErynrR8dt1Q.png" /><figcaption>ตัวอย่างการใช้งาน</figcaption></figure><h3><strong>Futures plan</strong></h3><ol><li>ปรับให้ Web App สามารถรับ input ในรูปแบบ real time ได้</li><li>รับ Data ในรูปแบบที่หลากหลายมากขึ้น เช่นจากครึ่งตัวอาจจะเป็นทั้งตัว หรือ 1/4 ของตัว, มีการทำท่าทางที่เร็วมากขึ้น</li><li>จะลองหาและใช้ Model, วิธีการ และ Data ที่มีประสิทธิภาพมากกว่านี้เพื่อให้ Model แม่นยำขึ้น และมี Labels ที่หลากหลายได้มากขึ้น เช่นอาจจะเก็บ landmarks แค่จากมือกับท่าทางและตัดหน้าออกไป</li></ol><h4>คำขอบคุณของผมต่อโครงการ AI Builders</h4><p>ขอขอบคุณ Mentor พี่อลัน และ TA พี่รันรวมถึงเพื่อนๆทุกคนในโครงการ ที่คอยช่วยเหลือและแนะนำผมในเรื่องต่างๆ ตลอด 10 สัปดาห์ที่ผ่านมา จากตอนแรกที่ผมสมัครเข้ามาโดยที่ไม่มีความรู้เรื่อง AI เลย จนถึงตอนนี้ ผมได้ท้าทายตัวเองและได้เรียนรู้สิ่งต่างๆมากมายทั้งจากคลิปวีดีโอของโครงการ ความช่วยเหลือและคำแนะนำจากพี่ Mentor และ TA ไปจนถึงการสรุปเนื้อหาของเพื่อนๆในโครงการ ขอขอบคุณโครงการ AI Builders ที่ได้มอบความรู้และประสบการณ์ใหม่ๆให้กับผมครับ ถ้าไม่ได้ทุกท่านโปรเจคของผมคงไม่มาถึงตรงนี้ ขอบคุณครับ</p><h4><strong>Special thanks</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*11RyW89KNXlTS9AIoLDY9w.png" /></figure><p><strong>Asus</strong> Vivobook รุ่น <strong>X556UQ</strong>-XX1342T ราคา 20,000 บาทอายุ 6 ปีที่ยังสามารถรันโมเดลบน Jupyter Notebook ได้โดยที่ไม่ระเบิดไปซะก่อน</p><p>Github repository :</p><p><a href="https://github.com/Annerez/Mediapipe_ThaiHandSign">GitHub - Annerez/Mediapipe_ThaiHandSign: My current Computer Vision project.</a></p><h3>Reference</h3><ul><li><a href="https://github.com/ai-builders/curriculum">https://github.com/ai-builders/curriculum</a></li><li><a href="https://developers.google.com/mediapipe/solutions/guide">https://developers.google.com/mediapipe/solutions/guide</a></li><li><a href="https://sanparithmarukatat.medium.com/lstm-%E0%B9%80%E0%B8%97%E0%B9%88%E0%B8%B2%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B9%80%E0%B8%82%E0%B9%89%E0%B8%B2%E0%B9%83%E0%B8%88-75027db3167f">https://sanparithmarukatat.medium.com/lstm-%E0%B9%80%E0%B8%97%E0%B9%88%E0%B8%B2%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B9%80%E0%B8%82%E0%B9%89%E0%B8%B2%E0%B9%83%E0%B8%88-75027db3167f</a></li><li><a href="https://medium.com/@ottaviocalzone/an-intuitive-explanation-of-lstm-a035eb6ab42c">https://medium.com/@ottaviocalzone/an-intuitive-explanation-of-lstm-a035eb6ab42c</a></li><li><a href="https://docs.streamlit.io/">https://docs.streamlit.io/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6683cc711e91" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>