Find lines example Reduce FPS for each second in run?

I ran the line finding example program on the latest version of the program and we see that the speed of receiving images starts to decrease from 47 until the program becomes very slow?

Hi, this is because the frame rate computation is an average. So, if it was seeded with an initial high fps it will stay high until the average comes down from something causing the system to run at a slower fps.

This time it’s different because the speed of the images is getting slower and slower until it reaches zero. I don’t know if it’s low memory or something else is happening.

attach code

(attachments)

find_cross walk .py (9.13 KB)

Hi, I ran your code and it hits 46 FPS with the OV5640 on the H7 Plus and stays at that freq.

Send again

It’s because you are using get_pixel(). Don’t do that. Use find_blobs().