(memoryerror:) with no more info

as the title says.
the code is:
fc = img.find_circles(threshold = 500 , x_margin = 15 , y_margin = 15 , r_margin = 10 , r_min = 15 , r_max = 100 , r_step = 2)
in a big ‘for’

Try reducing the resolution of the image or the region of interest.

Or a higher threshold, you might be finding too many circles that eventually exhaust all of the memory.

1 Like