Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
for i in range(0, width+1): for j in range(0, height+1): pixel = frame.get_pixel(i, j) frame.set_pixel(i,j,(pixel / 10)) ```在frame.set_pixel(i,j,(pixel / 10)) 处报错TypeError: object 'float' isn't a tuple or list,请问应该如何设置像素值?
如果涉及代码,需要报错提示与全部代码文本,请注意不要贴代码图片