ãã³ãã¬ã¼ãç»åãä¸ããå ¥åç»åãããã®ãã³ãã¬ã¼ãç»åã«ãããã³ã°ããé åãæ¢ããã¨ãããã³ãã¬ã¼ããããã³ã°ã¨ããã¾ãã OpenCvã§ã¯ Imgprocã¯ã©ã¹ã®matchTemplateã¡ã½ãã㧠ãã® ãã³ãã¬ã¼ããããã³ã°ãè¡ãã¾ãã static voidmatchTemplate(Mat image, Mat templ, Mat result,int method) Mat image :  ãã³ãã¬ã¼ãã®æ¢ç´¢å¯¾è±¡ã¨ãªãç»åï¼8ãããã¾ãã¯32ãããã®æµ®åå°æ°ç¹åã Mat templ : æ¢ç´¢ããããã³ãã¬ã¼ãï¼æ¢ç´¢å¯¾è±¡ã¨ãªãç»å以ä¸ã®ãµã¤ãºã§ï¼åããã¼ã¿åã§ãªããã°ããã¾ããã Mat result : æ¯è¼çµæã®ãããï¼ã·ã³ã°ã«ãã£ã³ãã«ï¼32ãããï¼æµ®åå°æ°ç¹åã ãimage ãï¼W,H)  ã§ï¼ templ ãï¼w,h) ã¨ãã㨠result ã¯ï¼W-w+1
{{#tags}}- {{label}}
{{/tags}}