Hi I am learning opencv and the last part of the code, where I use the function cv2imwrite
to save the processed image doesn't show up on any directory. Here is the code:
# Canny Edge Detection
edges = cv2.Canny(image=img_blur, threshold1=100, threshold2=200)
# Saves Canny Edge Detection Image
cv2.imwrite('C:/Users/Gordenbúh/OneDrive/Escritorio/Hispatec/NaranjasCanny.png', edges)
cv2.waitKey(0)
cv2.destroyAllWindows()
#This last part is to destroy some other images that I want to see but not keep
So the script runs fine, and I can see the image if I use cv2.imshow
.
Thank you,
F