Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def PaintImageWhite(image):
- #A função shape devolve um array [Altura, Largura, Num. Canais]
- altura,largura=image.shape[:2] # Vamos apenas buscar a altura e largura da imagem
- for y in range(altura):
- for x in range(largura):
- image[y,x] = [255,255,255]
- return image
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement