Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Fundamentals of Image Manipulation with Python

Save ImagesSave Images

In OpenCV, the cv2.imwrite() function is used to save an image to a specified file. The function takes in two required parameters: the file path and the image to be saved. The image can be passed in as a NumPy array or a cv2 object. The function returns a Boolean value indicating whether the save was successful (True or False).

Tarefa

  1. Use the imwrite() function to save the output image as "output.jpg".

Mark tasks as Completed

Tudo estava claro?

Seção 1. Capítulo 3
AVAILABLE TO ULTIMATE ONLY
course content

Conteúdo do Curso

Fundamentals of Image Manipulation with Python

Save ImagesSave Images

In OpenCV, the cv2.imwrite() function is used to save an image to a specified file. The function takes in two required parameters: the file path and the image to be saved. The image can be passed in as a NumPy array or a cv2 object. The function returns a Boolean value indicating whether the save was successful (True or False).

Tarefa

  1. Use the imwrite() function to save the output image as "output.jpg".

Mark tasks as Completed

Tudo estava claro?

Seção 1. Capítulo 3
AVAILABLE TO ULTIMATE ONLY
some-alt