find_line_segments()-Out of fast frame buffer stack memory

when i run the Find Line Segments Example of “find_line_segments()”:
set the code as

sensor.set_pixformat(sensor.GRAYSCALE)  # grayscale is faster
sensor.set_framesize(sensor.FHD)

the openmv4 H7 plus says:
MemoryError: Out of fast frame buffer stack memory.

so does the " OpenMV RT1062 Cam"?

Hi, it’s because the resolution is too large. Please reduce your resolution.

:joy: OpenMV Cam RT1062 comes with a OV5640 image sensor is capable of taking 2592x1944 (5MP) images…
now ,it is said :you just can get 300*400 .hahaha…

Yeah, it’s a pretty intense algorithm that we ported to run on the MCU. There’s some software optimization work we could do to make this quite a bit faster. However, the RAM is pretty fixed on what it requires.

hope openmv5 could run that code with 5Mp