The bottom of the IDE framebuffer display is corrupted. Corruption changes as the framebuffer is resized vertically. (Smells like a decompression bug in the IDE?)
Board H7 Sensor MT9M114 Firmware 4.1.1 IDE 2.8.1 running on Ubuntu 20.04 inside a VM.
Note that test case is running sensor in monochrome transpose vga mode.
Interesting side question. If I ask the IDE to show color histograms. It does even with the sensor in grayscale. Since we are on a system with limited resources, I put the sensor in greyscale to save memory and cycles. In this mode, which parts of the signal path have switched off color?
# Hello World Example
#
# Welcome to the OpenMV IDE! Click on the green run arrow button below to run the script!
import sensor, image, time
sensor.reset() # Reset and initialize the sensor.
sensor.set_pixformat(sensor.GRAYSCALE) # Set pixel format to RGB565 (or GRAYSCALE)
sensor.set_framesize(sensor.VGA) # Set frame size to VGA (640x480)
sensor.set_framerate(10)
sensor.set_transpose(True) # swap h and v
sensor.skip_frames(time = 2000) # Wait for settings take effect.
clock = time.clock() # Create a clock object to track the FPS.
while(True):
clock.tick() # Update the FPS clock.
img = sensor.snapshot() # Take a picture and return the image.
#img = sensor.snapshot().replace(hmirror=False, vflip=True, transpose=True)
print(clock.fps()) # Note: OpenMV Cam runs about half as fast when connected
# to the IDE. The FPS should increase once disconnected.