resize the framebuffer with copy function

Discussion related to "under the hood" OpenMV topics.
kidswong999
Posts: 33
Joined: Sun Apr 02, 2017 1:12 pm

resize the framebuffer with copy function

Postby kidswong999 » Fri Aug 03, 2018 3:32 am

Hi,

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. :D
User avatar
kwagyeman
Posts: 2467
Joined: Sun May 24, 2015 2:10 pm

Re: resize the framebuffer with copy function

Postby kwagyeman » Fri Aug 03, 2018 12:08 pm

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.
Nyamekye,
User avatar
iabdalkader
Posts: 634
Joined: Sun May 24, 2015 3:53 pm

Re: resize the framebuffer with copy function

Postby iabdalkader » Wed Aug 08, 2018 3:56 pm

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.

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests