<?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 Wiroj Pluemwongroj on Medium]]></title>
        <description><![CDATA[Stories by Wiroj Pluemwongroj on Medium]]></description>
        <link>https://medium.com/@chai4d?source=rss-a523f2fc1cb9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Iaf7L8Q7MjgRTA-q</url>
            <title>Stories by Wiroj Pluemwongroj on Medium</title>
            <link>https://medium.com/@chai4d?source=rss-a523f2fc1cb9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 06:57:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@chai4d/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[ORA Good Cat]]></title>
            <link>https://medium.com/ksc-innovation/ora-good-cat-6d814b7a235f?source=rss-a523f2fc1cb9------2</link>
            <guid isPermaLink="false">https://medium.com/p/6d814b7a235f</guid>
            <dc:creator><![CDATA[Wiroj Pluemwongroj]]></dc:creator>
            <pubDate>Sun, 28 Mar 2021 12:03:56 GMT</pubDate>
            <atom:updated>2021-03-30T00:05:15.114Z</atom:updated>
            <content:encoded><![CDATA[<p>ณ เวลานี้คงไม่พูดถึงรถยนต์ไฟฟ้า (EV 100%) สัญชาติจีนจาก GWM (Great Wall Motor) คงไม่ได้ เพราะการมาเปิดตัวในงาน Motor Show ครั้งที่ 42 นี้ต่างเป็นจุดสนใจของใครๆ ที่คิดจะออกรถใหม่กันไม่มากก็น้อย</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4YUILXTBgX61h2YWxcXwzw@2x.jpeg" /></figure><p>ด้วยราคาที่คาดว่าจะต่ำกว่าล้านบาท และระยะทาง 500 km ต่อการชาร์จหนึ่งครั้ง และขนาดรถที่ใหญ่กว่าที่คิด ทำให้มีผู้คนติดตามรอคอยรถยนต์รุ่นนี้กันมากมาย</p><p>ที่นี้เรามาดูระบบความอัจฉริยะที่รถคันนี้มีในตลาดเมืองจีนกันครับ (มาไทยอาจจะมีบางอย่างถูกปรับออกนะ)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OmYadP2HxBpyDZEcgTuuMA@2x.jpeg" /></figure><p>ด้วยกล้อง 6 ตัวรอบคันกับเซนเซอร์ 12 จุด คลื่นเรดาห์หน้าหลังที่ไว้ช่วยตรวจสอบตำแหน่งวัตถุ ในรถสามารถดูสภาพแวดล้อมรอบคันได้จาก console ผู้ขับขี่ เพื่อระบบช่วยการขับขี่อัตโนมัติ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hUSR_2kM13z5fjrx9_OWqA.jpeg" /></figure><p>มีระบบจดจำใบหน้า จดจำเสียง ลายนิ้วมือ สามารถจดจำความชอบของผู้ขับขี่ได้ เช่น ปรับตำแหน่งเบาะคนขับให้ได้ตามผู้ขับแต่ละคน ..​ว้าว</p><p><a href="https://www.youtube.com/watch?v=xqqtt9ENtk8?start=19">GWM Thailand : 2021 ORA Good Cat - Parking</a></p><p>มีระบบช่วยจอดรถอัตโนมัติโดยไม่ต้องบังคับพวงมาลัย (ORA-Pilot Parking) โดยระบบจะตรวจสอบพื้นที่จอดรถโดยรอบ 360 องศา พร้อมระบบจดจำพื้นที่จอดรถ สาวๆ น่าจะชอบกันนะ​ :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AoTQdmrZXXKbsxVtgVh0Sw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RbbddqtzavfW7X6f_5CB_w.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pU7XTnmfB9AkjCNK2E_tpg.jpeg" /></figure><p>หน้าจอทัชสกรีนขนาด 17.25 นิ้ว, Sunroof และผ้าม่าน, ระบบนวดเบาะคนขับ, ระบบฟอกอากาศ และสามารถอัปเดทซอร์ฟแวร์ได้แบบ Over the Air อีกด้วย</p><p>จากที่กล่าวสรุปมานี้ เราจะเห็นได้ว่ารถยนต์รุ่นนี้ ได้ใช้เทคโนโลยี AI เยอะแยะมากมายครับ ทั้ง Image Recognition, Voice Authentication, Machine Learning for Self-Driving Cars เป็นต้นครับ</p><p>ในฐานะผู้ใช้เทคโนโลยี เราคงรู้สึกตื่นเต้นว่าอะไรมันจะแจ่มได้ขนาดนี้ .. แต่ในฐานะนักพัฒนาละครับ เราคิดว่าเราจะทำมันเองได้บ้างหรือไม่ครับ? หรืออะไรใกล้ๆ ตัวเราที่พอจะใช้ AI ต่างๆ มาช่วยงานในชีวิตเราได้บ้างครับ?</p><p>คงต้องยอมรับว่ายิ่งเทคโนโลยีก้าวล้ำมากขึ้นเท่าไร เราเองก็ยิ่งต้องเรียนรู้มากขึ้นเท่านั้นนะครับ :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6d814b7a235f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ksc-innovation/ora-good-cat-6d814b7a235f">ORA Good Cat</a> was originally published in <a href="https://medium.com/ksc-innovation">Krungsri Consumer-Innovation</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Video Streaming แบบติดตั้งเอง ทำได้อย่างไรนะ?]]></title>
            <link>https://medium.com/ksc-innovation/video-streaming-%E0%B9%81%E0%B8%9A%E0%B8%9A%E0%B8%95%E0%B8%B4%E0%B8%94%E0%B8%95%E0%B8%B1%E0%B9%89%E0%B8%87%E0%B9%80%E0%B8%AD%E0%B8%87-%E0%B8%97%E0%B8%B3%E0%B9%84%E0%B8%94%E0%B9%89%E0%B8%AD%E0%B8%A2%E0%B9%88%E0%B8%B2%E0%B8%87%E0%B9%84%E0%B8%A3%E0%B8%99%E0%B8%B0-b63802abcfbd?source=rss-a523f2fc1cb9------2</link>
            <guid isPermaLink="false">https://medium.com/p/b63802abcfbd</guid>
            <dc:creator><![CDATA[Wiroj Pluemwongroj]]></dc:creator>
            <pubDate>Fri, 26 Feb 2021 23:09:06 GMT</pubDate>
            <atom:updated>2021-02-26T23:09:06.893Z</atom:updated>
            <content:encoded><![CDATA[<p>สวัสดีครับ วันนี้ผมจะมาแชร์เรื่องการทำ PoC Video Streaming งานที่เป็น Live Event ต่างๆ เช่น Town-hall ของบริษัท หรือ Podcast การเผยแพร่เสียงสาระดีๆ ให้ผู้คนฟัง</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GBSdwZJajRI2tZ6Ap_AMfQ.png" /></figure><p>พวกเราคงได้มีประสบการณ์ดู Live สดกันบ่อยๆ นะครับ เช่น บน Facebook, YouTube, Line ก็ดี platform ของเค้าต่างก็ support ให้มีคนที่ต้องการทำ Live สามารถสร้าง channel ห้อง Live ได้ และ share link ไปยังผู้คนที่ต้องการเข้าชม บางระบบสามารถกด Like, กด Share, พิมพ์ Comment โต้ตอบได้ระหว่าง Live นั้นๆ</p><p>แล้วกรณีที่ content ที่จะทำการ Live นั้นๆ เป็น content ปิดล่ะครับ? ถ้าเราต้องการให้เฉพาะคนที่เรากำหนด สามารถดู Live ได้เท่านั้น เราจะทำได้อย่างไรครับ?</p><p>เราพบว่ามี platform หลายๆ เจ้า ที่มีบริการ Private Live Stream เช่น Dacast, Vimeo, JW Player เป็นต้น (ดู ref ได้<a href="https://www.dacast.com/blog/7-live-streaming-solutions-for-private-events/">ที่นี้</a>) แต่ส่วนใหญ่ก็จะเป็นบริการที่ต้องเสียค่าใช้จ่ายครับ</p><p>แล้วถ้าเราทำเองละ มีทางให้ทำได้ไหม? มีครับ เราพบผู้คนที่ share บทความการทำ Video Streaming Server จาก<a href="https://nuuneoi.com/blog/blog.php?read_id=866">ที่นี้</a></p><p>ดังนั้น ในตัวอย่างนี้เราจะแนะนำการทำ Video Streaming Server ด้วย Nimble Streamer (ซึ่งเป็น Freeware) บน AWS EC2 กันครับ และทำ client ในการรับชม Live ผ่าน WebView (พัฒนาด้วย Vue.js) ครับ</p><p>ขั้นตอนแรก ทำการสร้าง instance EC2 บน AWS ซึ่งใน PoC นี้ เราจะเลือก server เป็น Ubuntu 20.04, Type t2.micro ซึ่งเป็น Free tier ของ AWS (ใช้ฟรี) ขั้นตอนการทำดูได้จาก YouTube <a href="https://www.youtube.com/watch?v=WlQ_u6uws8w">ที่นี้</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5bOKdeG6Jou4Z2PzJLu1gw.png" /></figure><p>จากนั้นทำการสมัคร <a href="https://wmspanel.com/admin_panel">WMSPanel</a> ซึ่งเป็น web ในการ config Nimble Streamer โดยตัว Nimble Streamer จะฟรี แต่ config ไม่ได้ฟรี ถ้าเราต้องการ config อะไร เราต้องทำผ่านเว็บ WMSPanel นี้ครับ ซึ่งค่าใช้จ่ายไม่แพงมากครับ ราวๆ เดือนละ 20 USD สำหรับ 5 servers แรก โดย Business Model ของเค้าคือ config เหล่านี้เขียนเป็น json เองก็ได้ แต่ว่าจะไม่มี document ใดๆ อธิบายถึงครับ ดังนั้นคือเดาไม่ได้เลยว่าต้อง config ว่าอะไร</p><p>การสมัคร WMSPanel จะสามารถใช้งานได้ฟรี 14 วันแรก ในช่วงการใช้งานฟรี หากเราเข้าไปแก้ไข config ต่างๆ แล้วหาว่า diff ของ json เป็นอย่างไร แล้วจดไว้ เราก็จะได้ document ที่พอทำงานได้อยู่ครับ หลังจากช่วงทดลองฟรี เราก็อาจจะสามารถ config เองได้บ้างครับ ตรงนี้ก็แล้วแต่ว่าเราจะเสียเงิน หรือยอมเหนื่อยแก้ config เองนะครับ :)</p><p>ประสิทธิภาพของ Nimble Streamer ถือว่ายอดเยี่อมมากครับ ใช้แรมน้อย CPU ก็ใช้น้อย ตาม Spec เค้าเขียนไว้ว่า 1 core CPU สามารถจัดการ Video ได้สูงสุด 4 Gbps ซึ่งคำนวณแล้วก็น่าจะรับ concurrent ได้ราวๆ 200–400 คนเลยทีเดียวครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/883/1*J_wvtL2NxXyEvz-DDPL9Aw.png" /></figure><p>หลังจากนั้นเราก็ต้องเข้าไป config ที่หน้า WMSPanel เพื่อเลือกให้ใช้ Public IP ของ AWS EC2 และ Port ต่างๆ ที่ใช้ขา input ในการรับ Live Broadcast</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*09AFTinJJW6GV2oXS76BPA.png" /></figure><p>ขั้นตอนต่อไปหลังจากเรามี instance EC2 พร้อม Nimble Streamer รวมถึงการ config บน WMSPanel เรียบร้อย ต่อไปคือการทดสอบกันครับ</p><p>ใน PoC นี้ เราจะใช้ vMix บน Windows เป็น tool ในการส่ง live media stream ไปยัง Nimble Streamer บน EC2 ด้วยช่องทาง output SRT (ระบุ host, port ของ EC2)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VRYqVViAoKWIKXljXMdjnw.png" /></figure><p>เราได้ทำการทดสอบส่ง live media ออกไป แล้วลองดูผลผ่านหน้า <a href="http://player.wmspanel.com/">Player</a> ของ WMSPanel ดู ก็จะสามารถดูได้ (ในที่นี้ เราเลือกวิธีการแสดงผลเป็น HLS — HTTP Live Streaming ซึ่งเป็น protocol มาตรฐานคิดค้นโดย Apple ใช้ในการแบ่งวิดีโอออกเป็นชิ้นย่อยๆ ให้ฝั่ง client เลือกโหลดมาทีละชิ้นเพื่อเล่นได้ พอใกล้จะหมดชิ้นก็โหลดชิ้นใหม่มาเล่นต่อ ทำให้ฝั่ง server ทำงานเบาลงมากและกิน bandwidth น้อยลงมากๆ ด้วย)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/993/1*OO2aDPvhXV1PCjCbd7HRGA.png" /></figure><p>ต่อไป เป็นการพัฒนา Front-end ในการเรียกดู Video แบบ HLS ซึ่งได้เลือกใช้ Vue.js และใช้ <a href="https://github.com/alterhu2020/vue-videojs7">vue-videojs7</a> เป็นตัว player hls video (m3u8 format) ครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/382/1*QOzPC41c0Af994f5q9wJpg.gif" /><figcaption>ตัวอย่างทดลอง WebView เปิด Frontend Vue.js อ่าน Live Stream จาก EC2</figcaption></figure><p>ต่อมาคือการทำระบบ Security ป้องกันการละเมิดการเข้าถึงครับ โดยตัว Nimble Streamer ก็มีระบบป้องกันการเข้าถึงไว้เรียบร้อยครับ เช่น lock IP ได้ แต่ถ้าเราจะเพิ่มการป้องกันยิ่งขึ้น เราสามารถติดตั้งเพิ่มตัว NginX บน EC2 เพื่อเพิ่มการป้องกันตามที่เราต้องการได้ครับ ณ ที่นี้ ขอยังไม่ลงรายละเอียดนะครับ</p><p>ส่วนกรณีที่เรามี client จำนวนเยอะๆ เข้ามาดู Live สดเราพร้อมๆ กัน แนะนำว่าเราควรจะต้องมี CDN เพิ่มอีกขั้นด้วยนะครับ เช่น Amazon CloudFront เป็นต้นครับ</p><p>จบไปแล้วนะครับสำหรับการติดตั้ง Video Streaming ด้วยตัวเอง ยากไปไหมครับ? แนะนำ หรือ ติชม กันได้นะครับ ^___^</p><p><strong>Reference:</strong></p><ul><li><a href="https://nuuneoi.com/blog/blog.php?read_id=866">https://nuuneoi.com/blog/blog.php?read_id=866</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b63802abcfbd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ksc-innovation/video-streaming-%E0%B9%81%E0%B8%9A%E0%B8%9A%E0%B8%95%E0%B8%B4%E0%B8%94%E0%B8%95%E0%B8%B1%E0%B9%89%E0%B8%87%E0%B9%80%E0%B8%AD%E0%B8%87-%E0%B8%97%E0%B8%B3%E0%B9%84%E0%B8%94%E0%B9%89%E0%B8%AD%E0%B8%A2%E0%B9%88%E0%B8%B2%E0%B8%87%E0%B9%84%E0%B8%A3%E0%B8%99%E0%B8%B0-b63802abcfbd">Video Streaming แบบติดตั้งเอง ทำได้อย่างไรนะ?</a> was originally published in <a href="https://medium.com/ksc-innovation">Krungsri Consumer-Innovation</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Virtual Assistant Chatbot using Spring WebSocket (STOMP) with Vue.js]]></title>
            <link>https://medium.com/ksc-innovation/virtual-assistant-chatbot-using-spring-websocket-stomp-with-vue-js-cf9e88a5ed56?source=rss-a523f2fc1cb9------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf9e88a5ed56</guid>
            <dc:creator><![CDATA[Wiroj Pluemwongroj]]></dc:creator>
            <pubDate>Thu, 11 Feb 2021 07:30:42 GMT</pubDate>
            <atom:updated>2021-02-11T07:30:42.543Z</atom:updated>
            <content:encoded><![CDATA[<p>สวัสดีครับ ในบทความนี้เราจะมาแนะนำวิธีการเขียน Spring ด้วย WebSocket (STOMP) และการเรียกใช้ด้วย Vue.js กันนะครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*4PjpQYFQMJ29Q0p8FCOcVA.gif" /></figure><p><strong>Spring WebSocket : Backend</strong></p><p>เริ่มต้น เรามาสร้าง project ด้วย <a href="https://start.spring.io/">Spring Initializr</a> และเพิ่ม dependency “Web” และ “WebSocket” และ generate project เราจะได้ไฟล์ zip ออกมา หลังจากนั้น unzip ด้วย IDE ที่ท่านถนัด ในตัวอย่างนี้จะขอใช้ VS Code เป็นหลักนะครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4pxVTmQG4aQxKw3LgGW70Q.png" /></figure><p>ต่อไปเป็นการสร้าง Class “HelloMessage” และ “Geeting”</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/cda260838d895387d995191577276295/href">https://medium.com/media/cda260838d895387d995191577276295/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b138c6c452dc400d0e9096a89facc911/href">https://medium.com/media/b138c6c452dc400d0e9096a89facc911/href</a></iframe><p>Class “HelloMessage” จะถูกใช้งานจาก request และ “Greeting” จะถูกใช้งานจาก response หลังจากนั้นทำการสร้าง Class “GreetingController”</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/dbd2284f95ef68e7754522eee9e64fce/href">https://medium.com/media/dbd2284f95ef68e7754522eee9e64fce/href</a></iframe><p>ถัดไปเป็นการกำหนด configuration เพื่อ enable WebSocket</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fa70fc1fbd0a93bd9ca9970471d48d19/href">https://medium.com/media/fa70fc1fbd0a93bd9ca9970471d48d19/href</a></iframe><p>ตอนนี้ Backend Application ของเราก็เสร็จเรียบร้อย ต่อไปเป็นการทดสอบ run</p><p><strong>Testing WebSocket Application</strong></p><p>ในการทดสอบเราจำเป็นต้องมี external tool ซึ่งในตัวอย่างนี้เราจะใช้ <a href="https://chrome.google.com/webstore/detail/apic-complete-api-solutio/ggnhohnkfcpcanfekomdkjffnfcjnjam">Apic Chrome extension</a> เนื่องจากมัน support STOMP โดย Socket URL ของเราจะเป็น “<a href="http://localhost:8080/websocket-0.0.1-SNAPSHOT/gs-guide-websocket">http://localhost:8080/websocket-0.0.1-SNAPSHOT/gs-guide-websocket</a>” เพราะ Spring เรารันด้วย port 8080 เป็น default</p><p>ในการรัน SockJS จะมีการเรียก WebSocket เพื่อทำ handshake กัน และเนื่องจากการ connect outside ของ localhost เราจะต้องทำการ enable CORS โดยการเพิ่มการ allowed origins จากตัวอย่างนี้ เราจะเพิ่ม 2 hosts นั่นคือ frontend application (Vue.js) ที่เราจะรันด้วย port 8000 (http://localhost:8000) และอีก host คือ Google Chrome Extension (chrome-extension://ggnhohnkfcpcanfekomdkjffnfcjnjam) จากนั้นรัน start Spring</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hwpMbvLENN3psDlOeXrlgg.png" /><figcaption>ในตัวอย่างนี้ เรา pack เป็น war file และรันด้วย JBoss EAP 7.1</figcaption></figure><p>จากนั้นลองทดสอบสร้าง connection ด้วย Apic’s form ดังนี้</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/416/1*d9KFkQkojGNBoiU-GVT0vQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/946/1*rHuEcjE_btdakt-WoQ2zjQ.png" /></figure><p>หลังจากกดปุ่ม connect และใส่ข้อความ {“name”: “ทดสอบ”} แล้วกดปุ่ม send เราก็จะได้ response กลับมาเป็น content: “Hello, ทดสอบ!” ถ้าได้ตามนี้ถือว่าทำงานได้แล้วครับ :)</p><p><strong>Vue.js : Frontend</strong></p><p>ให้ทำการสร้าง project ใหม่ด้วย <a href="https://cli.vuejs.org/">Vue CLI</a> และทำการ install node modules ดังนี้</p><ul><li>SockJS with npm install sockjs-client</li><li>STOMP with npm install webstomp-client</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/514/1*5AnxGftUVZKnOHEFwLf_Lw.png" /></figure><p>สร้าง new component ชื่อ “ChatBox.vue”</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6892859cfb10fb4621eae89207b35145/href">https://medium.com/media/6892859cfb10fb4621eae89207b35145/href</a></iframe><p>แก้ไขไฟล์ “App.vue” ให้ไปเรียก component “ChatBox.vue” แทน “HelloWorld.vue” ดังนี้</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9f7192469212322c4b63f85ed5412207/href">https://medium.com/media/9f7192469212322c4b63f85ed5412207/href</a></iframe><p>แก้ไขไฟล์ “vue.config.js” เพื่อกำหนด port เป็น 8000 ดังนี้</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/68a866281ac5cc7743cc66fd422d63ea/href">https://medium.com/media/68a866281ac5cc7743cc66fd422d63ea/href</a></iframe><p>รัน project ด้วย npm run serve</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/1*aXk6ng3h5KqJGCtB3L8F3Q.png" /><figcaption>ในตัวอย่างนี้ เราสร้าง Vue.js ใน path src/main/app เนื่องจากในอนาคตเราต้องการ pack เป็น war file สำหรับ deploy ไปยัง JBoss EAP 7.1 เช่นเดียวกับ Backend</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/829/1*k0LVrimFcolr1rHMVLEFgQ.png" /></figure><p>เพิ่มความน่าสนใจด้วย Virtual Assistant เพื่อความรู้สึกในการสนทนาแบบ human-to-human ในตัวอย่างนี้เป็นการสร้างตัวแสดงด้วย <a href="https://videohive.net/item/presentation-with-amy-worker-style/19086157">videohive</a> โดยจะสร้าง 2 videos ซึ่งตัวแรกจะเป็นการแสดงท่าทางแบบไม่ขยับปาก และอีกตัวจะเป็นท่าทางการพูด (lip sync)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*tQVo8L8hdNpcB3emhGGHWQ.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*w89U3kJLzlwAkvuZmClG0w.gif" /></figure><p>ปรับแต่ง User Interface เพื่อเพิ่ม Virtual Assistant โดยการเพิ่มไฟล์ “close.mp4” และ “open.mp4” ที่ได้ download มาจาก <a href="https://videohive.net/item/presentation-with-amy-worker-style/19086157">videohive</a> เข้าไปใน folder assets</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/222/1*LIcy1-WxN9a_K313ysvnDQ.png" /></figure><p>กำหนด actions ว่าแต่ละ action จะให้เล่นไฟล์ open.mp4 ช่วงเวลาไหน</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/569/1*WW2dAExWqP4lZLFF_ZeEug.png" /></figure><p>แก้ไขไฟล์ “ChatBox.vue” เพื่อเพิ่มการแสดง Avatar</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/78ea88a0ecff4a0ea5e843a372648e70/href">https://medium.com/media/78ea88a0ecff4a0ea5e843a372648e70/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/434/1*gwJfyCRRlQLKQAYMNdGJXg.gif" /></figure><p><strong>Reference:</strong></p><ul><li><a href="http://kojotdev.com/2019/07/using-spring-websocket-stomp-application-with-vue-js/">http://kojotdev.com/2019/07/using-spring-websocket-stomp-application-with-vue-js/</a></li><li><a href="https://bytize.org/how-to-create-animated-taking-virtual-assistant-chatbot/">https://bytize.org/how-to-create-animated-taking-virtual-assistant-chatbot/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf9e88a5ed56" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ksc-innovation/virtual-assistant-chatbot-using-spring-websocket-stomp-with-vue-js-cf9e88a5ed56">Virtual Assistant Chatbot using Spring WebSocket (STOMP) with Vue.js</a> was originally published in <a href="https://medium.com/ksc-innovation">Krungsri Consumer-Innovation</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>