mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
13 lines
261 B
Python
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)
|