Click here to Skip to main content
15,903,012 members

Comments by Keerthan S (Top 1 by date)

Keerthan S 16-Jun-22 12:40pm View    
Deleted
I don't think that width and height are mixed up.

I have pasted more of the code :
saturation_pink = 0

height = img.shape[0]
width = img.shape[1]

for x in range(width):
   for y in range(height):
      saturation_pink = saturation_pink + result_pink[x][y][1]