Running sheep drawing6/19/2023 ![]() As matplotlib reads the image in x-y plane.Set the title of the image as Sheep Image using plt.title() method.Import the Matplotlib packages’ pylot and image modules.Thie library also has the equivalent functions as that of open cv. But, through the plotting techniques, we can view the image in a graphical format where each pixel lies on 2D x-y axes. This package is mainly for data visualization. Finally, we destroy all the created windows using cv2.destroyAllWindows().Then call the sys.exit() method to safely exit the technique. ![]() The cv2.waitkey() method waits till we exit or click on the close button. ![]() It takes two parameters, the image title and the image path variable img.
0 Comments
Leave a Reply. |