resize the framebuffer with copy function


Can I use img.copy(roi = [0,0,10,10], copy_to_fb=True) to resize the framebuffer?

the error is:

OSError: Cannot copy to fb!

I am using the OpenMV3 F7 with firmware 3.0.0

Thanks. :smiley:

Um, we haven’t really added features for that.

Note that for the NN code the heap is the problem that you run out of. There’s very little heap on the M7 due to the lower RAM onboard. What’s the driver behind this? Maybe Ibrahim can ad something quickly for you.

What do you mean by resizing the framebuffer ? You can lower the resolution or use windowing to crop the image if you want a smaller FB.