Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV traincascade fails: Insufficient memory

Hi,

I'm trying to use the traincascade app to create my own data, but it keeps giving me insufficient memory even though I have enough free memory.

OpenCV Error: Insufficient memory (Failed to allocate 536871664 bytes) in unknown function, file D:\Dev\opencv\modules\core\src\alloc.cpp, line 52

My samples file has 1000 positive samples of size 50x50. I tried with 500 also, it didn't work. Only with 100 worked but I'm afraid that isn't enough.