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

Kursinnhold

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

Oppgave

Swipe to start coding

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

Løsning

Mark tasks as Completed
Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 3
Vi beklager at noe gikk galt. Hva skjedde?
some-alt