openmv/scripts/examples/02-Image-Processing/00-Drawing/copy2fb.py
iabdalkader 0ab46ec66f scripts/examples: Update examples.
Remove sensor code that's not needed in some scripts.
2023-10-15 19:40:08 +02:00

13 lines
261 B
Python

# Copy image to framebuffer.
#
# This example shows how to load and display an image.
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)