1,105,363 Community Members

OpenCV (python) memory issue

Member Avatar
giancan
Junior Poster in Training
70 posts since Oct 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Hi everybody,
is there anyone with experience with opencv for python?
I was wondering if there is a way to allocate some memory on demand, since when I try processing images (usually bigger than 800x800 pixels) I get a "OpenCV Error: Insufficient memory (unable to allocate 59500564 bytes)" message. (bytes may be more or less, according to the images obviously).
The solution I am using is to scale down the images, but I am curious to know if there is another workaround.

Thanks,
Gianluca

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: