如下所示:
cv2.HoughLinesP
cv2.namedWindow("enhanced",0);
cv2.resizeWindow("enhanced", 640, 480);
cv2.imshow("enhanced",lines)
cv2.waitKey(0)
创建窗口时候改变下参数就可以鼠标随意拖动窗口改变大小啦
cv::namedWindow("camera", CV_WINDOW_NORMAL);//CV_WINDOW_NORMAL就是0
cv::imshow("camera", frame);
cv2.namedWindow(imgpath, 0);
cv2.res
2022-04-28 22:51:28
30KB
c
ims
nc
1