Ipython cv2.imwrite() not saving image

前端 未结 3 1806
自闭症患者
自闭症患者 2021-02-05 17:16

I have written a code in python opencv. I am trying to write the processed image back to disk but the image is not getting saved and it is not showing any error(runtime and comp

3条回答
  •  深忆病人
    2021-02-05 17:49

    If you want to have the paths in your code portable, look into pathlib.

    https://docs.python.org/3/library/pathlib.html

提交回复
热议问题