<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>My dazzling padlet by Stephen Wong</title>
      <link>https://padlet.com/stephenwongkc/m5go</link>
      <description></description>
      <language>en-us</language>
      <pubDate>2023-12-19 02:38:04 UTC</pubDate>
      <lastBuildDate>2023-12-20 02:39:10 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>https://padlet.com/stephenwongkc/m5go</title>
         <author>stephenwongkc</author>
         <link>https://padlet.com/stephenwongkc/m5go/wish/2829073840</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2259334718/feb1c6a2565fa0ac103cf8388396c987/code.txt" />
         <pubDate>2023-12-19 02:39:40 UTC</pubDate>
         <guid>https://padlet.com/stephenwongkc/m5go/wish/2829073840</guid>
      </item>
      <item>
         <title></title>
         <author>punen08</author>
         <link>https://padlet.com/stephenwongkc/m5go/wish/2829099075</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2106562994/ccae408f21fcc908638bab58d9cd0903/17029551289207516832394260661127.jpg" />
         <pubDate>2023-12-19 03:06:07 UTC</pubDate>
         <guid>https://padlet.com/stephenwongkc/m5go/wish/2829099075</guid>
      </item>
      <item>
         <title></title>
         <author>punen08</author>
         <link>https://padlet.com/stephenwongkc/m5go/wish/2829102149</link>
         <description><![CDATA[<p>The wire connection is wrong in this image*</p>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2106562994/1e83bf4612e5f8107a7442f2d398f1b6/20231213_151546.jpg" />
         <pubDate>2023-12-19 03:09:31 UTC</pubDate>
         <guid>https://padlet.com/stephenwongkc/m5go/wish/2829102149</guid>
      </item>
      <item>
         <title>Facial Recognition</title>
         <author>zenitantofficial</author>
         <link>https://padlet.com/stephenwongkc/m5go/wish/2829105117</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2156528077/68cd7a336d7e64ed59bcf5f0ade68f36/Huskylens_Face_Recognition.pdf" />
         <pubDate>2023-12-19 03:12:55 UTC</pubDate>
         <guid>https://padlet.com/stephenwongkc/m5go/wish/2829105117</guid>
      </item>
      <item>
         <title>Hkylens Library</title>
         <author>zenitantofficial</author>
         <link>https://padlet.com/stephenwongkc/m5go/wish/2829124738</link>
         <description><![CDATA[<p>Remember to change the file name to "<strong>hkylen</strong>" before downloading</p>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2156528077/f426b174fc60465416c1a0e3793d1441/hkylen.txt" />
         <pubDate>2023-12-19 03:38:44 UTC</pubDate>
         <guid>https://padlet.com/stephenwongkc/m5go/wish/2829124738</guid>
      </item>
      <item>
         <title>Face Security</title>
         <author>zenitantofficial</author>
         <link>https://padlet.com/stephenwongkc/m5go/wish/2829125204</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2156528077/6998bd6ad9d2473e7a8a11ca224cf325/Zen_Face_Security.txt" />
         <pubDate>2023-12-19 03:39:27 UTC</pubDate>
         <guid>https://padlet.com/stephenwongkc/m5go/wish/2829125204</guid>
      </item>
      <item>
         <title>Face Recognition</title>
         <author>stephenwongkc</author>
         <link>https://padlet.com/stephenwongkc/m5go/wish/2829133531</link>
         <description><![CDATA[<p>import sys</p><p>sys.path.append('/flash/apps')</p><p>import hkylen</p><p>import unit</p><p>from m5stack import *</p><p>from m5ui import *</p><p>from time import sleep</p><p><br/></p><p>#===== Declarations =====#</p><p>servo_0 = unit.get(unit.SERVO, unit.PORTC)</p><p><br/></p><p>#===== User-Defined Functions =====#</p><p>def displayResult(faceID):</p><p>&nbsp;&nbsp;&nbsp; if (faceID == 1):</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lbl.setColor(<a rel="noopener noreferrer nofollow" href="http://lcd.RED">lcd.RED</a>)</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rgb.setColorAll(<a rel="noopener noreferrer nofollow" href="http://lcd.RED">lcd.RED</a>)</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lbl.setText('FACE ID: 1')</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; servo_0_90_0()</p><p>&nbsp;&nbsp;&nbsp; elif (faceID == 2):</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lbl.setColor(<a rel="noopener noreferrer nofollow" href="http://lcd.GREEN">lcd.GREEN</a>)</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rgb.setColorAll(<a rel="noopener noreferrer nofollow" href="http://lcd.GREEN">lcd.GREEN</a>)</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lbl.setText('FACE ID: 2')</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; servo_0_90_0()</p><p>&nbsp;&nbsp;&nbsp; elif (faceID == 3):</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lbl.setColor(<a rel="noopener noreferrer nofollow" href="http://lcd.BLUE">lcd.BLUE</a>)</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rgb.setColorAll(<a rel="noopener noreferrer nofollow" href="http://lcd.BLUE">lcd.BLUE</a>)</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lbl.setText('FACE ID: 3')</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; servo_0_90_0()</p><p>&nbsp;&nbsp;&nbsp; elif (faceID == 4):</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lbl.setColor(lcd.YELLOW)</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rgb.setColorAll(lcd.YELLOW)</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lbl.setText('FACE ID: 4')&nbsp;&nbsp;</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; servo_0_90_0()</p><p>&nbsp;&nbsp;&nbsp; else:</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lbl.setColor(lcd.WHITE)</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rgb.setColorAll(<a rel="noopener noreferrer nofollow" href="http://lcd.BLACK">lcd.BLACK</a>)</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lbl.setText('No Face ID')</p><p><br/></p><p>def servo_0_90_0():</p><p>&nbsp;&nbsp;&nbsp; servo_0.write_angle(90)</p><p>&nbsp;&nbsp;&nbsp; sleep (2)</p><p>&nbsp;&nbsp;&nbsp; servo_0.write_angle(0)</p><p>&nbsp;&nbsp;&nbsp;</p><p><br/></p><p>#===== Main =====#</p><p>lcd.clear(<a rel="noopener noreferrer nofollow" href="http://lcd.BLACK">lcd.BLACK</a>)</p><p>lcd.font(lcd.FONT_DejaVu24)</p><p>servo_0.write_angle(0)</p><p>hkylen.setAlgorithm(hkylen.FACE_RECOGNITION)</p><p><br/></p><p>while not (hkylen.isReady()):</p><p>&nbsp;&nbsp;&nbsp; lcd.print('Huskylens Not Ready!', 10, 0, lcd.CYAN)</p><p><br/></p><p>lcd.clear(<a rel="noopener noreferrer nofollow" href="http://lcd.BLACK">lcd.BLACK</a>)</p><p>lcd.print('Face Security Demo', 10, 0, lcd.CYAN)</p><p>lbl = M5TextBox(15, 90, '', lcd.FONT_DejaVu56, lcd.WHITE)</p><p><br/></p><p>displayResult(0)</p><p>while True:</p><p>&nbsp;&nbsp;&nbsp; hkylen.update()</p><p>&nbsp;&nbsp;&nbsp; if hkylen.blockIsReady(1):</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; displayResult(1)</p><p>&nbsp;&nbsp;&nbsp; elif hkylen.blockIsReady(2):</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; displayResult(2)</p><p>&nbsp;&nbsp;&nbsp; elif hkylen.blockIsReady(3):</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; displayResult(3)</p><p>&nbsp;&nbsp;&nbsp; elif hkylen.blockIsReady(4):</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; displayResult(4)</p><p>&nbsp;&nbsp;&nbsp; else:&nbsp;&nbsp;&nbsp;</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; displayResult(0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p><p>&nbsp;&nbsp;&nbsp; sleep(2)</p>]]></description>
         <enclosure url="" />
         <pubDate>2023-12-19 03:51:10 UTC</pubDate>
         <guid>https://padlet.com/stephenwongkc/m5go/wish/2829133531</guid>
      </item>
      <item>
         <title>Object Class (Additional)</title>
         <author>zenitantofficial</author>
         <link>https://padlet.com/stephenwongkc/m5go/wish/2829135550</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2156528077/571e756d29a6a9f890dbcdf905702de5/Zen_Object_Class.txt" />
         <pubDate>2023-12-19 03:54:14 UTC</pubDate>
         <guid>https://padlet.com/stephenwongkc/m5go/wish/2829135550</guid>
      </item>
   </channel>
</rss>
