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

Kurssisisältö

Fundamentals of Image Manipulation with Python

book
Save 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).

Tehtävä

Swipe to start coding

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

Ratkaisu

Mark tasks as Completed
Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 3
AVAILABLE TO ULTIMATE ONLY
Pahoittelemme, että jotain meni pieleen. Mitä tapahtui?
some-alt