I met the same problem to this: https://stackoverflow.com/questions/527 ... openmv-ide
I want to show my own image for debugging purpose. However, it seems OpenMV sends my framebuffer and camera framebuffer alternatively. Currently, I have to use an LCD to show the framebuffer I want, but the LCD is slow and inconvenient.
Is there a way to disable OpenMV sending camera framebuffer? I've attached a sample code which flashes framebuffer viewer in IDE
Code: Select all
import sensor, image, time sensor.reset() sensor.set_pixformat(sensor.RGB565) sensor.set_framesize(sensor.QVGA) sensor.skip_frames(time = 2000) clock = time.clock() invImg = sensor.alloc_extra_fb(sensor.width(), sensor.height(), sensor.RGB565) while(True): clock.tick() img = sensor.snapshot() invImg.replace(img) invImg.invert() print(invImg.compressed_for_ide(), end="") print(clock.fps())