Bad argument in function cvReleaseData, how to fix the error?
I tried creating samples for my 100 positive images but run into this error:
At first I assumed that I had not extracted the same number of samples as I was specifying in the command using Objectmarker.exe but even on rectifying that,I still ran into this error.
Currently I am using 100 positive images , but I got the error when I used 70 images as well.
What exactly is the Bad Argument here and how do I fix it?
TEXT VERSION
PS E:\FYP\dasar_haartrain> .\createsamples.exe -info positive/info.txt -vec vector/vector.vec -num 100000 -w 55 -h 35
Info file name: positive/info.txt
Img file name: (NULL)
Vec file name: vector/vector.vec
BG file name: (NULL)
Num: 100000
BG color: 0
BG threshold: 80
Invert: FALSE
Max intensity deviation: 40
Max x angle: 1.1
Max y angle: 1.1
Max z angle: 0.5
Show samples: FALSE
Width: 55
Height: 35
Create training samples from images collection...
@berak any views?
not really. why does it say: "OpenCV GUI" in the msgbox ? that looks non-standard already
EXACTLY! and the said path does not even exit
"said path does not even exist" -- no, that's the path to the cvxarray.xpp, where the program was built
@berak, I have found a solution. please look into the answer as the moderator