真恶心,就会折腾人 cv2.imencode('.jpg', src)[1].tofile(save_path) cv2.imwrite("我//h.jpg", frame) #该方法不成功 ,除非路径是全英文,而且,都是反斜杠 才行;