resize(src, src, cv::Size(640, 480));
时间: 2024-05-31 08:08:22 浏览: 98
Python OpenCV之图片缩放的实现(cv2.resize)
This code resizes the image in the "src" variable to a size of 640 pixels wide and 480 pixels tall using the OpenCV library. The resized image is then stored back in the "src" variable.
阅读全文