Cascade Classifier Training - Application: opencv_traincascade

simply, don’t insist on using EOL code.

please, ask a new question, describe exactly, what you are trying to detect, and where (in 95% of all cases, cascades are the wrong tool for it, anyway !!!)