In: Computer Science
Python
Describe the procedure for setting up the display of an image in a window.
For displaying an image in a specified window,the function used here is cv2.imshow() function.
The following pictures explained the procedure for displaying an image step by step.
The first step towards displaying an image is to read an image,then comes displaying an image in a particular window and finally saving the image.
The final step is saving an image
Write an image:
For saving an image the function used is cv2.imwrite()
Syntax: cv2.imwrite('filename',image name)