跳到主要内容

cv.resize

2024年02月27日
柏拉文
越努力,越幸运

一、认识


cv.resize 用于图像缩放

二、语法


cv.resize(src, dst, dsize, fx, fy, interpolation)
  • src: 输入图像

  • dst: 输出图像

  • dsize: 目标尺寸

  • fx: x 轴缩放因子

  • fy: y 轴缩放因子

  • interpolation: 插值类型(cv.INTER_LINEAR ...)