{"id":4459,"date":"2025-06-08T07:21:16","date_gmt":"2025-06-08T14:21:16","guid":{"rendered":"https:\/\/www.donluc.com\/?p=4459"},"modified":"2025-06-08T07:21:16","modified_gmt":"2025-06-08T14:21:16","slug":"project-30-unihiker-ai-face-recognition-mk15","status":"publish","type":"post","link":"https:\/\/www.donluc.com\/?p=4459","title":{"rendered":"Project #30 &#8211; UNIHIKER &#8211; AI-Face Recognition &#8211; Mk15"},"content":{"rendered":"<div style=\"width: 720px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-4459-1\" width=\"720\" height=\"480\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/06\/DL2506Mk01W.mp4?_=1\" \/><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/06\/DL2506Mk01W.mp4\">https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/06\/DL2506Mk01W.mp4<\/a><\/video><\/div>\n<p>&#8212;&#8212;<\/p>\n<p>#DonLucElectroniRcs #DonLuc #AIFaceRecognition #UNIHIKER #Display #IoT #Project #DFRobot #Fritzing #Programming #Electronics #Microcontrollers #Consultant<\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/06\/DL2506Mk01a.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/06\/DL2506Mk01a.jpg\" alt=\"AI-Face Recognition\" width=\"720\" height=\"703\" class=\"alignnone size-full wp-image-4461\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/06\/DL2506Mk01a.jpg 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/06\/DL2506Mk01a-300x293.jpg 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/06\/DL2506Mk01b.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/06\/DL2506Mk01b.jpg\" alt=\"AI-Face Recognition\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-4462\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/06\/DL2506Mk01b.jpg 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/06\/DL2506Mk01b-300x200.jpg 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/06\/DL2506Mk01c.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/06\/DL2506Mk01c.jpg\" alt=\"AI-Face Recognition\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-4463\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/06\/DL2506Mk01c.jpg 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2025\/06\/DL2506Mk01c-300x200.jpg 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><strong>AI-Face Recognition<\/strong><\/p>\n<p>AI face recognition uses artificial intelligence and machine learning algorithms to identify individuals based on their facial features. Press button A to learn the face and green LED on; press button B to recognize the face and blue LED on, and display the recognized face ID on the K10 screen.<\/p>\n<p><strong>DL2506Mk01<\/strong><\/p>\n<p>1 x UNIHIKER K10<br \/>\n1 x Lithium Ion Battery &#8211; 1000mAh<br \/>\n1 x Switch<br \/>\n1 x USB 3.1 Cable A to C<\/p>\n<p><strong>DL2506Mk01p<\/strong><\/p>\n<p><strong>DL2506Mk01p.mp<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/****** Don Luc Electronics \u00a9 ******\r\nSoftware Version Information\r\nProject #30 - UNIHIKER - AI-Face Recognition - Mk15\r\nDL2506Mk01p.mp\r\nDL2506Mk01\r\n1 x UNIHIKER K10\r\n1 x Lithium Ion Battery - 1000mAh\r\n1 x Switch\r\n1 x USB 3.1 Cable A to C\r\n*\/\r\n\r\n\/\/ Include the Library Code\r\n\/\/ Unihiker K10\r\n#include &quot;unihiker_k10.h&quot;\r\n\/\/ AT Recognition\r\n#include &quot;AIRecognition.h&quot;\r\n\r\n\/\/ Dynamic variables\r\n\/\/ ID\r\nString mind_s_ID;\r\n\/\/ Function declaration\r\n\/\/ Button A Pressed\r\nvoid onButtonAPressed();\r\n\/\/ Button B Pressed\r\nvoid onButtonBPressed();\r\n\r\n\/\/ Create an object\r\nUNIHIKER_K10  k10;\r\n\/\/ Screen\r\nuint8_t screen_dir=2;\r\n\/\/ AI Recognition\r\nAIRecognition ai;\r\n\r\n\/\/ Main program start\r\nvoid setup() {\r\n\t\r\n  \/\/ Begin\r\n  k10.begin();\r\n  \/\/ Init Screen\r\n  k10.initScreen(screen_dir);\r\n  \/\/ Init AI\r\n  ai.initAi();\r\n  \/\/ Init Camera Imager\r\n  k10.initBgCamerImage();\r\n  \/\/ Set Camera Imager\r\n  k10.setBgCamerImage(false);\r\n  \/\/ Canver\r\n  k10.creatCanvas();\r\n  \/\/ Switch AI Mode\r\n  ai.switchAiMode(ai.NoMode);\r\n  \/\/ Button A\r\n  k10.buttonA-&gt;setPressedCallback(onButtonAPressed);\r\n  \/\/ \/\/ Button B\r\n  k10.buttonB-&gt;setPressedCallback(onButtonBPressed);\r\n  \/\/ Set Camera Image\r\n  k10.setBgCamerImage(true);\r\n  \/\/ Caver Text\r\n  k10.canvas-&gt;canvasText(&quot;AI Face Recognition&quot;, 1, 0xFF0000);\r\n  \/\/ Switch AI Mode\r\n  ai.switchAiMode(ai.Face);\r\n\r\n}\r\n\/\/ Loop\r\nvoid loop() {\r\n\t\r\n  \/\/ Detect Content AI Recognized\r\n  if (ai.isRecognized()) {\r\n\r\n     \/\/ ID\r\n     mind_s_ID = ai.getRecognitionID();\r\n     ?? Face ID\r\n     k10.canvas-&gt;canvasText((String(&quot;Face ID: &quot;) + String(mind_s_ID)), 0, 150, 0x0000FF, k10.canvas-&gt;eCNAndENFont24, 50, true);\r\n     \/\/ Update Canvas\r\n     k10.canvas-&gt;updateCanvas();\r\n\r\n  }\r\n\r\n  \/\/ Delay\r\n  delay(3000);\r\n\r\n}\r\n\r\n\/\/ Event callback function\r\n\/\/ Button A Pressed\r\nvoid onButtonAPressed() {\r\n\t\r\n  \/\/ RGB Write\r\n  k10.rgb-&gt;write(-1, 0x00FF00);\r\n  \/\/ Send Face\r\n  ai.sendFaceCmd(ENROLL);\r\n\r\n}\r\n\r\n\/\/ Button B Pressed\r\nvoid onButtonBPressed() {\r\n\r\n  \/\/ RGB Write\r\n  k10.rgb-&gt;write(-1, 0x0000FF);\r\n  \/\/ Send Face\r\n  ai.sendFaceCmd(RECOGNIZE);\r\n\r\n}\r\n<\/pre>\n<p>&#8212;&#8212;<\/p>\n<p><strong>People can contact us:<\/strong> https:\/\/www.donluc.com\/?page_id=1927<\/p>\n<p><strong>Electronics, IoT, Teacher, Instructor, R&#038;D and Consulting<\/strong><\/p>\n<ul>\n<li>Programming Language<\/li>\n<li>Single-Board Microcontrollers (PIC, Arduino, Raspberry Pi, Arm, Silicon Labs, Espressif, Etc&#8230;)<\/li>\n<li>IoT<\/li>\n<li>Wireless (Radio Frequency, Bluetooth, WiFi, Etc&#8230;)<\/li>\n<li>Robotics<\/li>\n<li>Automation<\/li>\n<li>Camera and Video Capture Receiver Stationary, Wheel\/Tank and Underwater Vehicle<\/li>\n<li>Unmanned Vehicles Terrestrial and Marine<\/li>\n<li>Machine Learning<\/li>\n<li>Artificial Intelligence (AI)<\/li>\n<li>RTOS<\/li>\n<li>Sensors, eHealth Sensors, Biosensor, and Biometric<\/li>\n<li>Research &#038; Development (R &#038; D)<\/li>\n<li>Consulting<\/li>\n<\/ul>\n<p><strong>Follow Us<\/strong><\/p>\n<p><strong>Luc Paquin \u2013 Curriculum Vitae &#8211; 2024<\/strong><br \/>\nhttps:\/\/www.donluc.com\/luc\/<\/p>\n<p><strong>Web:<\/strong> https:\/\/www.donluc.com\/<br \/>\n<strong>Facebook:<\/strong> https:\/\/www.facebook.com\/neosteam.labs.9\/<br \/>\n<strong>YouTube:<\/strong> https:\/\/www.youtube.com\/@thesass2063<br \/>\n<strong>Twitter:<\/strong> https:\/\/twitter.com\/labs_steam<br \/>\n<strong>Pinterest:<\/strong> https:\/\/www.pinterest.com\/NeoSteamLabs\/<br \/>\n<strong>Instagram:<\/strong> https:\/\/www.instagram.com\/neosteamlabs\/<br \/>\n<strong>Patreon:<\/strong> https:\/\/patreon.com\/DonLucElectronics59<br \/>\n<strong>DFRobot:<\/strong> https:\/\/learn.dfrobot.com\/user-10186.html<br \/>\n<strong>Hackster.io:<\/strong> https:\/\/www.hackster.io\/neosteam-labs<br \/>\n<strong>Elecrow:<\/strong> https:\/\/www.elecrow.com\/share\/sharepj\/center\/no\/760816d385ebb1edc0732fd873bfbf13<br \/>\n<strong>TikTok:<\/strong> https:\/\/www.tiktok.com\/@luc.paquin8<br \/>\n<strong>Twitch:<\/strong> https:\/\/www.twitch.tv\/lucpaquin<br \/>\n<strong>Hackster:<\/strong> https:\/\/www.hackster.io\/luc-paquin<br \/>\n<strong>LinkedIn:<\/strong> https:\/\/www.linkedin.com\/in\/jlucpaquin\/<\/p>\n<p><strong>Don Luc<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8212;&#8212; #DonLucElectroniRcs #DonLuc #AIFaceRecognition #UNIHIKER #Display #IoT #Project #DFRobot #Fritzing #Programming #Electronics #Microcontrollers #Consultant &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; AI-Face Recognition AI face recognition uses artificial intelligence and machine learning algorithms to identify individuals based on their facial features. Press button A to learn the face and green LED on; press button B to recognize the &#8230; <a title=\"Project #30 &#8211; UNIHIKER &#8211; AI-Face Recognition &#8211; Mk15\" class=\"read-more\" href=\"https:\/\/www.donluc.com\/?p=4459\" aria-label=\"Read more about Project #30 &#8211; UNIHIKER &#8211; AI-Face Recognition &#8211; Mk15\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[346,50,49,317,38,80,59,115,5,138,287,58,82,10,348],"tags":[388,387,6,92,102,4,320,87,19,83,24,9,84,27,33,350,34,108],"class_list":["post-4459","post","type-post","status-publish","format-standard","hentry","category-uunihiker","category-arduino","category-consultant","category-dfrobot","category-digitalelectronics","category-esp32","category-fritzing","category-e-mentor","category-microcontrollers","category-patreon","category-program","category-arduino-programming","category-program-esp32","category-projects","category-unihiker","tag-ai","tag-ai-face-recognition","tag-arduino","tag-battery","tag-components","tag-consultant","tag-dfrobot","tag-display","tag-electronics","tag-esp32","tag-microcontroller","tag-programming","tag-programming-esp32","tag-projects-2","tag-technology","tag-unihiker","tag-video-blog","tag-vlog"],"_links":{"self":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/4459","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4459"}],"version-history":[{"count":1,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/4459\/revisions"}],"predecessor-version":[{"id":4464,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/4459\/revisions\/4464"}],"wp:attachment":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4459"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4459"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4459"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}