ccv
ccv copied to clipboard
Memory leak in scd_detect
The minSize in cascade file(face.sqlite3) is 48 X 48, I set parameter minSize to 24 X 24, the testing image is 1280 X 720, then a serious memory leak happens while detecting. I got trouble in the first line of makefile, I deleted the "include config.mk" before compiling. Is this caused the leak? Can anyone help me? thank you
I've solved the compilation issue. However, memory leak phenomenon still exists if size in classifier is larger than we set. It may be a bug in source code?
Hey, how you determined there is a memory leak? I've set the params.size = ccv_size(24, 24) and compiled scddetect.c, ran valgrind against the binary and it reports no memory leak.
solved?I got same problem,How do you solve this problem @qeqlangzi