ã¯ããã« ãã®ã¨ã³ããªã¯ãç»å解æã©ã¤ãã©ãªã§ããOpenCVãWeb Assemblyã¨ãã¦ãã«ããã¦ãã©ã¦ã¶ã§åãããã¨ããã®ãä¸éããã£ã¦ã¿ãã¡ã¢ã§ãã 主ãªã³ã³ãã³ãã¨ãã¦ä¸è¨ãå«ã¿ã¾ãã OpenCVã®wasmãã«ãæ¹æ³ã.wasmã®ã«ã¹ã¿ãã¤ãºæ¹æ³ æ§è½æ¹å(ã¢ã¸ã¥ã¼ã«ã®ãã£ãã·ã¥ãWeb Workersãªã©) åä½ã¯ãããã確èªã§ãã¾ãã ãé¡ ä¸»ãªä¸»ç¼ã¯ããã©ã¦ã¶ã§OpenCVåãããé¨åã§ãbuildçéãããã¨èªä½ãç®çãªã®ã§ãé¡æã¯æ£ç´ãªãã§ãããã®ã§ãããããã§ã¯2æã®ç¹å¾´ç¹ãæ½åºãã¦ãããã³ã°ãããã¨ããã®ãJavaScriptã§ãã£ã¦ã¿ããã¨ã«ãã¾ãããã¤ã³ã¿ã¼ãããã«å±±ã®ããã«ãµã³ãã«ã転ãã£ã¦ãã¾ãããPythonã§æ¸ãã¨ä¸è¨ã§ãã import cv2 img1 = cv2.imread('img1.png') img2 = cv2.imread('img
{{#tags}}- {{label}}
{{/tags}}