Hi, the algorithm runs on a max resolution of 160x120 pixels. Please keep inind our system is a microcontroller with limited RAM. Find_rects() is based on the quad finder that powers April Tags. It needs about 16x the resolution of RAM to process the image. So, at 160x120 it needs over 300k of RAM. Our frame buffer is about 384kb. So, 160x120 is the largest res that fits. For 320x240 we’d need several megabytes which we don’t have.
Please downsample the image to 160x120. Unless there’s an obvious loss of detail on lines in the image downsampling it more is fine.
…
As for the framebuf module. We don’t support that MicroPython module since it’s for the pyboard only.