Why does blend_images take so long to run? #179
Replies: 1 comment
-
this is because stitching uses generators to optimize memory usage. Whenever yield is used, a generator is used. Elements are only loaded when they are actually needed. This is the case in the corresponding |
Beta Was this translation helpful? Give feedback.
-
I've been running this project and it's very fast (thanks!) except for this one part:
I have self.timelapser.do_timelapse as False and I have done time tests and the self.blender.feed(img, mask, corner) line is quite fast. It seems that the loop iteration is the slow part.
So even this is slow for me:
How would I go about speeding up this loop iteration?
Beta Was this translation helpful? Give feedback.
All reactions