The OpenMV documentation indicates that the ulab — numpy-like array manipulation — third-party library is built-in to OpenMV Cam’s firmware:
When trying to import numpy from ulab, I get the error “ImportError: can’t import name numpy”
import sensor, image, time
from ulab import numpy as np
sensor.reset()
sensor.set_pixformat(sensor.RGB565)
sensor.set_framesize(sensor.QVGA)
sensor.skip_frames(time = 2000)
clock = time.clock()
while(True):
clock.tick()
img = sensor.snapshot()
print(clock.fps())