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
If you want to have the paths in your code portable, look into pathlib.
https://docs.python.org/3/library/pathlib.html