3

For a motion detection algorithm on the OpenMV platform, I allocate a second framebuffer, which is being updated every frame.

Now the algorithm works, but I would like to show the result framebuffer in the OpenMV IDE. As shown in this thread, it is working with following line of code:

print(extra_fb.compressed_for_ide(), end="")

Everything works as expected, but the problem I am facing now, is, that the extra_fb framebuffer is shown, and then the internal framebuffer is shown in the IDE. So it always switches from one to the other, which results in a flickering image.

How can I suppress the IDE from displaying the internal framebuffer?

I could not find something about that in the official documentation.

roadrunner66
  • 7,772
  • 4
  • 32
  • 38
cansik
  • 1,924
  • 4
  • 19
  • 39

1 Answers1

0

Run this to turn off the frame buffer connection to the IDE from the OpenMV Cam side:

import omv
omv.disable_fb(True)
IAmCoder
  • 3,179
  • 2
  • 27
  • 49