Example: 02-Image-Processing/00-Drawing/copy2fb.py
# 本作品采用MIT许可证授权。
# 版权所有 (c) 2013-2023 OpenMV LLC。保留所有权利。
# https://github.com/openmv/openmv/blob/master/LICENSE
#
# 将图像复制到帧缓冲区。
#
# 此示例展示了如何加载和显示图像。
import image
import time
# Load image
img = image.Image("/example.bmp", copy_to_fb=True)
# Add a small delay to allow the IDE to read the loaded image.
time.sleep_ms(1000)