Ask Your Question

varun_jain786's profile - activity

2012-07-16 13:01:38 -0500 answered a question OutOfMemoryError while training_descriptors

Thanks Niu. I tried that but when i built the project using x64 in visual studio, then got error of "module linked is not build in same format". Do i need to download seperate version of opencv?

2012-07-16 02:42:39 -0500 received badge  Notable Question (source)
2012-07-15 09:22:34 -0500 received badge  Popular Question (source)
2012-07-14 22:37:07 -0500 asked a question OutOfMemoryError while training_descriptors

Please help with the exception below:

Mat training_descriptors(1,extractor->descriptorSize(),extractor->descriptorType());
//Extract descriptor
//BELOW is the error line after almost 2500 image descriptor loaded


OpenCV Error: Insufficient memory (Failed to allocate 522777092 bytes) in OutOfMemoryError, file /tmp/pkg/OpenCV-2.4.1/modules/core/src/alloc.cpp, line 52