赞
踩
cap = cv2.VideoCapture(FilePath) ret, frame = cap.read() gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) cv2.namedWindow('img') coords1 = cv2.selectROI("Image", gray) cv2.destroyAllWindows() pd1 = pd.DataFrame(data=coords1) pd1.to_csv(outputFileName)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。