opencv_traincascaded.exe crashes with invalid null pointer error to xstring (Bug #2976)


Added by Rohit Agrawal almost 12 years ago. Updated almost 12 years ago.


Status:Cancelled Start date:2013-04-17
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Affected version:2.4.0 - 2.4.4 Operating System:
Difficulty: HW Platform:
Pull request:

Description

I am running the following command (using the debug build )

opencv_traincascaded.exe -data haar -vec vecfile.vec -bg neg.txt -mode all -numPos 400 -numNeg 420 -numStages 25 -w 30 -h 32

However, it immediately crashes with Debug Assertion Failed with invalid null pointer expression. The file mentioned is VS2010\VC\include\xstring .

Can you please help me get over this problem ? I have attached the vec file
I am on a 64 bit windows 7 machine using 2.4.3 openCV


vecfile.vec (887.3 kB) Rohit Agrawal, 2013-04-17 07:13 pm


History

Updated by Shengyin Wu almost 12 years ago

This issue can be fixed by changing "all" to "ALL", and run again. Because the mode parameter only accept capital "ALL".

Updated by Anna Kogan almost 12 years ago

  • Status changed from Open to Cancelled

Also available in: Atom PDF