ç»åãµã¤ãºãå¤ããã®ãç°¡åã§ãã resize cv2.resize(src, dsize[, dst[, fx[, fy[, interpolation]]]]) â dst¶ ãã£ãã試ãã¦ã¿ã¾ãã åç´ãªå¦çã§ããã ç»åãèªã¿è¾¼ã é«ãã¨å¹
ãåå¾ããããã«ãããããååã«ã«ãããµã¤ãºãä½æãã cv2,resizeã«å
¥åç»åã¨ãµã¤ãºãè¨å®ãã(ãµã³ãã«ã§ã¯ååã«ãã¦ãã) ã¾ãã¯ãµã¤ãºã«ã¯ãå
¥åã®é«ãã¨å¹
ã«å¯¾ããåçãè¨å®ãã(ããã²ã¨ã¤ã®ãµã³ãã«ã¯é«ãã¨å¹
ã2åã«ãã¦ããï¼ çµæ ãµã³ãã«ãè¼ãã¦ããã¾ãè¦è¦çã«æå³ãç¡ãã®ã§ãããããä»åã¯çµæãµã³ãã«ç¡ãã§ãããã¿ã¾ããã ç»åã®ç¸®å°ã§ã¯ãæ¹å¼ã«æ°ãã¤ãã ç»åã縮å°ããå ´åã«ã¯ããã®ç¸®å°æ¹æ³ã«æ°ãã¤ããå¿
è¦ãããã¾ãã 100x100ã®ç»åã50x50ã«ç¸®å°ããå ´åãèãã¾ãããã ãã1è¡ã«ã¤ãã¦ã100ç»ç´ ã§è¡¨ç¤ºãã¦ãã
{{#tags}}- {{label}}
{{/tags}}