Number of pixels
Let's calculate the total number of pixels in this image.

face_image
The total amount of pixel is its resolution. Given by \(Height \times Width\).
Use .shape
from NumPy which is preloaded as np
, in the console to check the width and height of the image.
Diese Übung ist Teil des Kurses
Image Processing in Python
Interaktive Übung zum Anfassen
Setzen Sie die Theorie mit einer unserer interaktiven Übungen in die Tat um
