Routine description 12-MLX90640_camera MLX90640 camera

# MLX90640摄像头演示
#
# 这个例子展示了如何将热图覆盖到主摄像头的OpenMV摄像头的实时视频输出上。

import image, time, fir

# 初始化热传感器
fir.init(type=fir.FIR_MLX90640, refresh=32) # 16Hz, 32Hz or 64Hz.

# FPS clock
clock = time.clock()

while (True):
    clock.tick()

    img = fir.snapshot(copy_to_fb=True)

    # Print FPS.
    print(clock.fps())

results matching ""

    No results matching ""