2022-12-01ãã1ã¶æéã®è¨äºä¸è¦§
ã¯ããã« blog.kimizuka.org以åä½æããæ¡å¼µæ©è½ ã§ããã審æ»ãééã Chome ã¦ã§ãã¹ã㢠ã«å ¬éãããã¨ãã§ããã®ã§ãå ¬éæé ãã¾ã¨ãã¾ããå ¬éããæ¡å¼µæ©è½ã¯ãã¡ãã§ããchrome.google.com æé ⶠã¢ã«ã¦ã³ããä½æ https://chrome.google.com/websâ¦
åæ èªåã§è¨¼ææ¸ãçºè¡æ¸ã¿ã§httpsã§localhostã«ã¢ã¯ã»ã¹ã§ãã iPhoneã¨PCã¯åä¸WiFiã«ã¤ãªãã£ã¦ãã iPhoneã¯1å°ãPCã1å° iPhoneã¯ç´æ¥è¦ããªãä½ç½®ã«ãã ã¨ããæ¡ä»¶ã§ãiPhoneã®ã«ã¡ã©ãæãã¦ããæ åã確èªããããPCã§ãã¬ãã¥ã¼ã§ããããã«ãã¦â¦
ã¯ããã« Expressã§ã¦ã§ããµã¼ãã建ã¦ãéãhttp://localhost:3000 ã§ã¢ã¯ã»ã¹ãããã¨ãå¤ãï¼ãã¼ãã3000ã®å ´åï¼ã®ã§ãããèªåã§è¨¼ææ¸ãæºåãã¦ãhttps://localhost:3000 ã§ã¢ã¯ã»ã¹ã§ããããã«è¨å®ãã¦ã¿ã¾ããåã®éçºç°å¢ãMacOSãªã®ã§ãMacOSã§â¦
ããã¾ã§ã¯ãYarn Workspacesã®åºæ¬çãªä½¿ãæ¹ ãYarn Workspacesã§è¤æ°ã®Expoããã¸ã§ã¯ãã管çããæ¹æ³ ãè¨äºã«ãã¦ãã¾ãããblog.kimizuka.org blog.kimizuka.orgä»åã¯ãYarn Workspacesã使ã£ã¦è¤æ°ã®Next.js + Electronããã¸ã§ã¯ãã管çãã¾ãã â¦
ã¯ããã« ä»åã¤ãã£ããã® åä½åç ã½ã¼ã¹ã³ã¼ã index.html index.js index.css å®è£ æã®ãããã RGBããHSVã¸ã®å¤æ 赤ã®åå¾ ãã¹ã¯ç»åã¨ã®å·®åã®åãæ¹ videoè¦ç´ ã®æ¶ãæ¹ ä»å使ç¨ããè²è¦æ¬ ãããã« ã¯ããã« ãã®è¨äºã¯ OpenCV Advent Calendar â¦
medianBlurãGaussianBlurãblurã使ãã°ç°¡åã«ç»åã«ã¼ãããã¨ãã§ãã¾ããããããªãã®FPSãåºãããå ´åã¯æ³¨æãå¿ è¦ã§ããdocs.opencv.org docs.opencv.org docs.opencv.orgåºæ¬çã«ã©ãã使ãæ¹ã«å¤§å·®ã¯ãªãã®ã§ãããä»åã¯medianBlurã§å®è£ ãã¦ã¿ã¾â¦
5å¹´åãããåã«ã¤ãã£ãç´å¹éªãJavaScriptããTypeScriptã«ç§»æ¤ãã¦ã¿ã¾ããã Canvasã«ç´å¹éªãã¬ã³ããªã³ã°ããåºæ¬æ¹éã¯ãã®ã¾ã¾ã«ãã¡ãã£ã¨ã ãæåãå¤æ´ãã¦ãã¾ãã å ·ä½çã«ã¯ãTypeScriptãã¼ã¸ã§ã³ã¯ç´å¹éªãèãæ£ãçµãã£ãå¾ãã«ã¼ããããâ¦