while running this line of code :
“new_image[row][col] += image[row+i][col+j]*image_filter[i][j]”
I am getting the following the error:
15 for i in range(F):
16 for j in range(F):
—> 17 new_image[row][col] += image[row+i][col+j]*image_filter[i][j]
18
19 if new_image[row][col] > 255:
ValueError: setting an array element with a sequence.