You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cv2.imwrite does not report error if user does not have permission to write to a directory #15155
Hackathonhttps://opencv.org/opencv-hackathon-starts-next-week/category: documentationDocumentation fix or update
cv2 does not report an error if the user running the script does not have write permissions to the directory '/path/to/image' as in the above code segment.
imwrite just returns false and the error is extremely hard to debug due to no stderr output.
In addition, the existence of the directory is also not validated.
Hackathonhttps://opencv.org/opencv-hackathon-starts-next-week/category: documentationDocumentation fix or update
Activity
dkurt commentedon Jul 26, 2019
@ksivaman, Feel free to propose a PR which will describe imwrite return value.
heisenbuug commentedon Oct 25, 2019
@dkurt can I work on this issue?
vpisarev commentedon Feb 3, 2020
@heisenbuug, if you still work on this issue, this is a good moment :)