@yuan 难道不是因为image是类,而find_rects是类的实例才能使用吗
1
17396229650
@17396229650
0
Reputation
2
Posts
279
Profile views
0
Followers
0
Following
Posts made by 17396229650
-
RE: 例程矩形检测中显示错误:image模块中没有find_rects()函数
-
为什么这个grayscale_to_binary没法使用
import sensor, image, time sensor.reset() sensor.set_pixformat(sensor.GRAYSCALE) sensor.set_framesize(sensor.QVGA) sensor.skip_frames(time = 2000) clock = time.clock() while(True): clock.tick() img = sensor.snapshot() img.grayscale_to_binary(128) print(clock.fps())