Spiegazione di routine 12-AMG8833_camera_lcd AMG8833_camera_lcd
# AMG8833摄像头演示
# 本示例演示了如何将热图叠加到OpenMV Cam从主摄像机输出的实时视频上。
import image, time, fir, lcd
# 初始化热成像传感器
fir.init(type=fir.FIR_AMG8833)
# 初始化lcd
lcd.init()
# 跟踪FPS
clock = time.clock()
while (True):
clock.tick()
img = fir.snapshot(copy_to_fb=True)
lcd.display(img)
# 打印FPS
print(clock.fps())