Please help on below exception:
//CODE Mat training_descriptors(1,extractor->descriptorSize(),extractor->descriptorType()); //Extract descriptor //BELOW is the error line after almost 2500 image descriptor loaded training_descriptors.push_back(descriptors);
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