Python Forum
Handling large images with OpenCV. - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Handling large images with OpenCV. (/thread-32036.html)



Handling large images with OpenCV. - Apenz1 - Jan-16-2021

Hello, I am trying to focus stack images using this code: https://github.com/momonala/focus-stack

The problem I'm having is that cv2 loads all images inside of the RAM memory. This gets filled up quite quickly (8GB) and crashes my computer.
Is there a way to not load the image arrays inside of RAM?
If there is, how would I implement that in this code?

Thanks for your help.