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(img.width()): for j in range(img.height()): p = img.get_pixel(i, j) if p > 0: h++ stats = img.statistics()
在stats 报无效语法。不知道怎么回事 SyntaxError: invalid syntax缩进也对的
如果涉及代码,需要报错提示与全部代码文本。
全部代码。